[Haskell-cafe] Haskell vs OCaml
Lennart Augustsson
lennart at augustsson.net
Sun Dec 25 09:45:14 EST 2005
Branimir Maksimovic wrote:
> Great! what are constrains on [begin..end] could they be some type
> which supports (+) , but not Int.
Anything in the Enum class (so it doesn't even have to support (+)).
Many things are in the Enum class.
> Last question is: Does creation of list of functions humpers performance?
With optimization the list is usually never built.
-- Lennart
More information about the Haskell-Cafe
mailing list