[Haskell-cafe] powerSet = filterM (const [True, False]) ... is this obfuscated haskell?

Felipe Lessa felipe.lessa at gmail.com
Tue Jul 28 05:09:38 EDT 2009


On Tue, Jul 28, 2009 at 10:58:53AM +0200, Sebastian Fischer wrote:
> tails = dropWhileM (const [True,False])

Actually this should be

    tails = dropWhileM (const [False, True])

--
Felipe.


More information about the Haskell-Cafe mailing list