Skip to content

Comment on Beating the Arc Challenge in Haskellparent

Comments

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.