Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: APL & Progr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 34 of 38 Topic 1007 of 1081
Post > Topic >>

Re: APL & Programming Concepts

by Randy MacDonald <ramacd@[EMAIL PROTECTED] > May 14, 2008 at 09:57 PM

phil chastney <phil.hates.spam@[EMAIL PROTECTED]
> wrote in
news:HaoWj.226457$XH2.46775@[EMAIL PROTECTED]
 

> Randy MacDonald wrote:
>> <snip>
> >
>> No APL vendor is going to know all the needed primitives in advance, 
>> so that expectation is kind of excessive.
> 
> nobody asked the APL vendors to know all the needed primitives in
> advance 

Perhaps I'm misinterpreting your earlier statement:
> I don't want to use named cover functions for rational multiplication,
> any more than I want to use them for complex multiplication

I see it as saying that one wants APL primitives to handle one's pet
area of functionality.  Once I developed 'new' and 'to' functions,  I no
longer needed to wait for the whims of the vendors: 

Perhaps I should have said:  no APL vendor is going to have primitives
for everyones pet functionality, because once one person asks for it,
everyone will feel they have the right.  That doesn't scale. 

For complex numbers: given a dyadic verb 'j' (why do I name it that?
:-)which creates complex numbers: 

   3 j 4 -- 3+4i -- 3 4 new 'complex' could work as well

and the usual stuff falls out:

   'show' to (1 j 3)'*' to 2 j 4
   -- normalized display could be just another message
-10j10  


> the suggestion was that some people might like to define their own
> types -- i.e, user-defined types, as opposed to primitive types --
> which relieves the APL vendors of the aforementioned expectation
> 
>> For me 'new' and 'to' are all the tools I seem to need for OO,
>> typing, whatever it is called this week.
> 
> that's fine for you, but doesn't seem to satisfy the guys who are 
> looking for complex arithmetic
> 
> interesting that you should equate OO and typing  --  I would agree 
> 100%: rationals and spreadsheets occupy different ends of the
> spectrum, maybe, but they certainly lie on the same spectrum

I'm thinking typing is oo for compiled languages;  it almost becomes
moot when you use APL. 

> quite why the two topics have developed their own vocabularies is 
> something of a mystery to me (but then, so are many other things)
> 
> /phil
 




 38 Posts in Topic:
APL & Programming Concepts
AAsk <AA2e72E@[EMAIL P  2008-05-06 11:00:50 
Re: APL & Programming Concepts
pgilbert@[EMAIL PROTECTED  2008-05-06 19:19:16 
Re: APL & Programming Concepts
AAsk <AA2e72E@[EMAIL P  2008-05-06 22:13:30 
Re: APL & Programming Concepts
Gosi <gosinn@[EMAIL PR  2008-05-06 22:36:29 
Re: APL & Programming Concepts
Mb <mebian@[EMAIL PROT  2008-05-07 11:41:17 
Re: APL & Programming Concepts
"Curtis A. Jones&quo  2008-05-07 08:34:14 
Re: APL & Programming Concepts
Mb <mebian@[EMAIL PROT  2008-05-07 19:14:24 
Re: APL & Programming Concepts
"Kerry Liles" &  2008-05-07 13:44:47 
Re: APL & Programming Concepts
Mb <mebian@[EMAIL PROT  2008-05-08 00:53:12 
Re: APL & Programming Concepts
"Curtis A. Jones&quo  2008-05-07 08:42:03 
Re: APL & Programming Concepts
AAsk <AA2e72E@[EMAIL P  2008-05-07 09:05:00 
Re: APL & Programming Concepts
"jk" <aqxqy@  2008-05-07 18:46:37 
Re: APL & Programming Concepts
"David Liebtag"  2008-05-07 14:34:36 
Re: APL & Programming Concepts
"David Liebtag"  2008-05-09 13:37:05 
Re: APL & Programming Concepts
phil chastney <phil.ha  2008-05-10 21:54:22 
Re: APL & Programming Concepts
microapl@[EMAIL PROTECTED  2008-05-07 09:31:53 
Re: APL & Programming Concepts
AAsk <AA2e72E@[EMAIL P  2008-05-07 11:18:26 
Re: APL & Programming Concepts
"jk" <aqxqy@  2008-05-07 23:07:58 
Re: APL & Programming Concepts
Ric <r.g.sherlock@[EMA  2008-05-07 18:07:12 
Re: APL & Programming Concepts
Mb <mebian@[EMAIL PROT  2008-05-08 12:33:11 
Re: APL & Programming Concepts
Randy MacDonald <ramac  2008-05-09 19:07:23 
Re: APL & Programming Concepts
Gosi <gosinn@[EMAIL PR  2008-05-08 04:19:15 
Re: APL & Programming Concepts
Mb <mebian@[EMAIL PROT  2008-05-08 18:13:21 
Re: APL & Programming Concepts
Christopher Browne <cb  2008-05-08 19:48:11 
Re: APL & Programming Concepts
Gosi <gosinn@[EMAIL PR  2008-05-08 13:02:53 
Re: APL & Programming Concepts
microapl@[EMAIL PROTECTED  2008-05-09 02:01:51 
Re: APL & Programming Concepts
Ric <r.g.sherlock@[EMA  2008-05-09 16:54:24 
Re: APL & Programming Concepts
Ric <r.g.sherlock@[EMA  2008-05-09 17:18:43 
Re: APL & Programming Concepts
"Polivka@[EMAIL PROT  2008-05-11 15:55:03 
Re: APL & Programming Concepts
"jk" <aqxqy@  2008-05-12 08:03:21 
Re: APL & Programming Concepts
phil chastney <user@[E  2008-05-12 13:47:27 
Re: APL & Programming Concepts
Randy MacDonald <ramac  2008-05-13 18:03:57 
Re: APL & Programming Concepts
phil chastney <phil.ha  2008-05-13 21:59:03 
Re: APL & Programming Concepts
Randy MacDonald <ramac  2008-05-14 21:57:24 
Re: APL & Programming Concepts
phil chastney <phil.ha  2008-05-15 07:42:40 
Re: APL & Programming Concepts
Steve <steve@[EMAIL PR  2008-05-11 19:53:25 
Re: APL & Programming Concepts
RHui000@[EMAIL PROTECTED]  2008-05-12 11:21:07 
Re: APL & Programming Concepts
Jack <jgrudd@[EMAIL PR  2008-05-12 21:12:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:57:24 CDT 2008.