r/programming • u/svpino • May 08 '15
Five programming problems every Software Engineer should be able to solve in less than 1 hour
https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k
Upvotes
2
u/Confusion May 08 '15
True, you could consider that a list of mixed types. You'd need some additional machinery to be able to use that list. Which suggests there is a better solution for the problem than mashing two types in a list :). My guess is they were aiming for things like
and that's not going to happen in Haskell. Which I think is a problem of the question, not of Haskell.