[Haskell-beginners] how to split a list

Theodore Lief Gannon tanuki at gmail.com
Mon Mar 26 20:48:09 UTC 2018


Wow... after attempting a simpler solution, I now understand a discussion
from a little while back on one of the other lists about how terribly
unexpected the default groupBy behavior is.

On Mon, Mar 26, 2018 at 12:21 PM, PICCA Frederic-Emmanuel <
frederic-emmanuel.picca at synchrotron-soleil.fr> wrote:

> Just one question about this.
>
> I do not want to put a print in order to generate the newList object.
>
>
> let l = []
> let newList = superChnker l
> print newList
>
>
> How Can I tell to haskell, produce the result even if I do not use it.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180326/5470debb/attachment.html>


More information about the Beginners mailing list