RE: [Haskell-cafe] Interesting critique of OCaml

2008-05-08 Thread Tim Docker
| An interesting critique of OCaml.
| 
| http://enfranchisedmind.com/blog/2008/05/07/why-ocaml-sucks/

Interesting to me is that my pet ocaml peeve is not there: namely the
lack of convenient operator overloading. Admittedly I only used ocaml
for 6 months, but I never adapted to needing to write (+) for ints, and
(.+) for floats.

From the F# documentation it would appear that F# does have overloaded
numerical operators, at least. I'm not sure how these fit into its type
system however. (Their type is documented as overloaded).

Tim 

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Interesting critique of OCaml

2008-05-08 Thread Michael Vanier

Actually, it's (+) for ints and (+.) for floats.  Which kind of proves your 
point.

Mike

Tim Docker wrote:

| An interesting critique of OCaml.
| 
| http://enfranchisedmind.com/blog/2008/05/07/why-ocaml-sucks/


Interesting to me is that my pet ocaml peeve is not there: namely the
lack of convenient operator overloading. Admittedly I only used ocaml
for 6 months, but I never adapted to needing to write (+) for ints, and
(.+) for floats.


From the F# documentation it would appear that F# does have overloaded

numerical operators, at least. I'm not sure how these fit into its type
system however. (Their type is documented as overloaded).

Tim 


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe