<!--/*SC*/DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"/*EC*/-->
<html><head><title></title><style type="text/css"><!-- body{padding:1ex;margin:0;font-family:sans-serif;font-size:small}a[href]{color:-moz-hyperlinktext!important;text-decoration:-moz-anchor-decoration}blockquote{margin:0;border-left:2px solid #144fae;padding-left:1em}blockquote blockquote{border-color:#006312}blockquote blockquote blockquote{border-color:#540000} --></style></head><body><div style="font-family: Arial; font-size: medium;" dir="ltr"><div>
        I&#39;m a beginner, I&#39;d like someone to help me understand a few lines of code</div>
<div>
        My questions are:</div>
<div>
        1) Maybe String is an application of the constructor Maybe to the type String.</div>
<div>
        What does it mean? Is there anything equivalent in the C language?</div>
<div>
        2) Is this a function with three arguments?</div>
<div>
        <strong>type T = [Char]</strong></div>
<div>
        <strong>type P = (Char, Maybe String)</strong></div>
<div>
        <strong>type Delta = ((Maybe Char, Char), Maybe String)</strong></div>
<div>
        <strong>fromGtoM :: T -&gt; [P] -&gt; [Delta]</strong></div>
<div>
        3) is this a usage of the above mentioned function?</div>
<div>
        <strong>fromGtoM t p = terminalRules ++ varRules</strong></div>
<div>
        I dont&#39;see why the function has three arguments but then only</div>
<div>
        two are used t p.</div>
<div>
        4) what does <strong>++</strong> mean ?</div>
<div>
        &nbsp;</div>
<div>
        Sorry, for posting too many questions.</div>
<div>
        Thanks in advance.</div>
<div>
        --</div>
<div>
        &nbsp;</div>
<div>
        moowoo9@fastmail.fm</div>
<div>
        &nbsp;</div>
</div><pre>
-- 
http://www.fastmail.fm - Access your email from home and the web
</pre>
</body></html>