<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Sorry, <br>
<br>
I do not understand what you are saying to me.<br>
<br>
I know that init produces a Maybe [a] . That is why I did put a
Just before it.<br>
When I do <b>init' (x:xs) = Maybe (x: (init' xs)) </b>I see this
message : <br>
<div class="ide-error-span">src/Main.hs@5:16-5:21 </div>
<div class="ide-error-msg"><span>Not in scope: data constructor </span>
<div class="CodeMirror cm-s-default" style="font-size: 14px;"><span
class="cm-variable-2">Maybe</span></div>
</div>
<br>
<br>
Brandon Allbery schreef op 12-5-2015 om 16:03:<br>
</div>
<blockquote
cite="mid:CAKFCL4X-GjOXcCR_zQcZFC95P8uH4zLCqkWnXM9yO8i0otRGeg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, May 12, 2015 at 10:00 AM,
Roelof Wobben <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:r.wobben@home.nl" target="_blank">r.wobben@home.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">init' (x:xs) = Just
(x: (init' xs))<br>
</div>
</blockquote>
<div><br>
</div>
<div>Remember that your init' produces Maybe [a], not [a].</div>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>brandon s allbery kf8nh
sine nomine associates</div>
<div><a moz-do-not-send="true"
href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>
<a
moz-do-not-send="true"
href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad
<a moz-do-not-send="true" href="http://sinenomine.net"
target="_blank">http://sinenomine.net</a></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@haskell.org">Beginners@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a>
</pre>
</blockquote>
<br>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
<tr>
<td style='border:none;padding:0px 15px 0px 8px'>
<a href="http://www.avast.com/">
<img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
</a>
</td>
<td>
<p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
<br><a href="http://www.avast.com/">www.avast.com</a>
</p>
</td>
</tr>
</table>
<br />
</body>
</html>