Talk About Network



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 > Functional > Re: Better synt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 17 Topic 2768 of 2841
Post > Topic >>

Re: Better syntax for a Standard ML derivative

by Paul Rubin <http://phr.cx@[EMAIL PROTECTED] > Feb 12, 2008 at 04:42 PM

"David B. Benson" <dbenson@[EMAIL PROTECTED]
> writes:
> I don't mind changing the surface syntax so long as I can
> parse this into SML/NJ abstract syntax.  Given the generality
> this provides, I'm fairly free to do as I please.

What's SML/NJ abstract syntax?  Do you mean some internal
representation that is an artifact of that compiler?  Or just
simply typed lambda calculus?

> I doubt I will simply copy O'Caml's notations, for many reasons.  
> But I should study it more.  

Ocaml it seems to me is almost as ugly as SML.  I'd look more
in the direction of Haskell, which has a lot less clutter.

> The comment about copying code breaking something due to
> indentation-only style is most valuable.  Thanks, Jon.  What about a
> pragma for switching between the two styles?

I don't think this is needed.  Is there a practical problem with
the way Haskell syntax accomodates both styles without a pragma?




 17 Posts in Topic:
Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-11 17:42:18 
Re: Better syntax for a Standard ML derivative
Paul Rubin <http://phr  2008-02-11 18:24:30 
Re: Better syntax for a Standard ML derivative
torbenm@[EMAIL PROTECTED]  2008-02-19 18:17:38 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-12 11:02:55 
Re: Better syntax for a Standard ML derivative
Paul Rubin <http://phr  2008-02-12 12:55:35 
Re: Better syntax for a Standard ML derivative
Jon Harrop <usenet@[EM  2008-02-12 20:22:44 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-12 16:32:28 
Re: Better syntax for a Standard ML derivative
Paul Rubin <http://phr  2008-02-12 16:42:18 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-12 17:53:04 
Re: Better syntax for a Standard ML derivative
Donn Cave <donn@[EMAIL  2008-02-14 10:02:03 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-14 11:55:30 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-19 11:34:49 
Re: Better syntax for a Standard ML derivative
Paul Rubin <http://phr  2008-02-19 12:21:40 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-19 13:54:23 
Re: Better syntax for a Standard ML derivative
Paul Rubin <http://phr  2008-02-19 14:06:41 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-19 14:48:40 
Re: Better syntax for a Standard ML derivative
"David B. Benson&quo  2008-02-19 14:50:59 

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 May 16 8:52:41 CDT 2008.