[Haskell-cafe] Haskell vs OCaml
Daniel Carrera
dcarrera at digitaldistribution.com
Tue May 3 13:46:11 EDT 2005
My friend, you just proved that I only have but the fuzziest idea of
what functional programming is. :-)
Thanks for the info. I'll figure this out eventually.
Cheers,
Daniel.
Marcin 'Qrczak' Kowalczyk wrote:
> Daniel Carrera <dcarrera at digitaldistribution.com> writes:
>
>
>>Marcin,
>>
>>Are you sure that OCaml is similar to Haskell? At first glance, it
>>doesn't even look functional. It looks like an imperative language.
>
>
> It's not purely functional, but it supports algebraic types and
> first-class functions, uses similar conventions in the library
> (immutable Lisp-style lists, tuples, currying), has a similar type
> system to Haskell's one (or rather the other way around: ML invented
> it), has a similar syntax (function application as juxtaposition,
> pattern matching, one namespace for values which include functions),
> neither language supports implicit type conversions nor RTTI.
>
More information about the Haskell-Cafe
mailing list