[Haskell-beginners] another type problem

Brandon Allbery allbery.b at gmail.com
Tue May 12 14:16:56 UTC 2015


On Tue, May 12, 2015 at 10:11 AM, Roelof Wobben <r.wobben at home.nl> wrote:

>  I do not understand what you are saying to me.
>
> I know that init produces a Maybe [a] . That is why I did put a Just
> before it.
>

You are invoking it again though, and using its result as if it produces
[a] instead of Maybe [a].

-- 
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/20150512/b212d62b/attachment.html>


More information about the Beginners mailing list