Re:Beating the Arc Challenge in Haskell
by tel on Sunday December 20, 2009 @12:05AM
(#1005759)
It's not "easy" to make a list, but instead maybe you would be able to work with a tuple (which is easy).
More practically, Haskell is going to ask you implicitly why you want a heterogenous list of functions. In all likelihood they're going to have a common interface at some point and you abstract around that so that the list is still "homogenous" (which is harder, but still pretty easy).
More practically, Haskell is going to ask you implicitly why you want a heterogenous list of functions. In all likelihood they're going to have a common interface at some point and you abstract around that so that the list is still "homogenous" (which is harder, but still pretty easy).