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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe