On Fri, Sep 25, 2015 at 2:10 PM, goforgit . <teztingit@gmail.com> wrote:Is it possible to make the list an instance of something in order to use for example takeWhile on List?
Not presently for takeWhile; it's specific to the built-in list type. Things are gradually being migrated to Foldable and Traversable, though.--brandon s allbery kf8nh sine nomine associatesunix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners