On Tue, May 12, 2015 at 10:00 AM, Roelof Wobben <r.wobben@home.nl> wrote:
init' (x:xs) = Just (x: (init' xs))

Remember that your init' produces Maybe [a], not [a].

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net