Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: Common Method for [Maybe a] -> [a] (Tony Morris) ---------------------------------------------------------------------- Message: 1 Date: Fri, 3 May 2019 16:30:18 +1000 From: Tony Morris <tonymor...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Common Method for [Maybe a] -> [a] Message-ID: <66205e78-0273-b0b2-281f-bc533da46...@gmail.com> Content-Type: text/plain; charset="utf-8" Also in general form. https://hackage.haskell.org/package/witherable-0.3/docs/Data-Witherable.html#v:catMaybes On 1/5/19 10:56 pm, Francesco Ariis wrote: > Hello Leonard, > > On Wed, May 01, 2019 at 11:04:46AM +0000, Leonhard Applis wrote: >> I've got a method: >> >> demaybefy :: [Maybe a] -> [a] >> [...] >> >> >> However, i feel that there is a method from preload/list/maybe that >> does exactly the same, but i cannot find it. >> Can someone help me? > Simon already gave the right answer; never forget that for question like > this, Hoogle is phenomenal! Just write in the sought signature and voila: > > https://hoogle.haskell.org/?hoogle=%5BMaybe%20a%5D%20-%3E%20%5Ba%5D > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL: <http://mail.haskell.org/pipermail/beginners/attachments/20190503/5ff95f15/attachment-0001.sig> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 131, Issue 3 *****************************************