
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
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.