[Haskell-beginners] Foldable for (,)

Jonathon Delgado voldermort at hotmail.com
Mon Apr 24 06:52:54 UTC 2017


Tony Morris - please could you give a (practical) example of code where the a tuple could realistically be passed to length, but you don't know what the answer will be at compile time?

Michael Orlitzky - everything in .NET has to descend from Object because of it's OO design. Why does tuple have to implement Foldable if it doesn't provide any useful functions?

Thank you very much everyone in this thread for helping me understand!


More information about the Beginners mailing list