[Haskell-beginners] Numeric Integer vs Integer

Brandon Allbery allbery.b at gmail.com
Fri Sep 25 18:20:29 UTC 2015


On Fri, Sep 25, 2015 at 2:10 PM, goforgit . <teztingit at 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150925/8691a2ae/attachment.html>


More information about the Beginners mailing list