I just started learning haskell and I just came to my first wtf moment. I'm trying to do something like this:
calling: foo 3 [1,2,3,2,4,1,6,3,6,2,3,5,2,5,2,1,6,4] returns: [[1,2,3],[2,4,1,6,3],[2,3]] but i have no idea how to put something into a sublist. How to make a list of sublists out of a list, whether they be a list of numbers or a string. TX in advance. -- View this message in context: http://www.nabble.com/list--%3E-sublists-tp25975341p25975341.html Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
