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 associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net