<div dir="ltr"><div>Hi, </div><div><br></div><div>I am trying to run the following from the GHCi command prompt which results in parse error.</div><div><br></div><div>--------------</div><div><div><font face="monospace, monospace">Prelude> :{</font></div><div><font face="monospace, monospace">Prelude| foo :: Maybe String</font></div><div><font face="monospace, monospace">Prelude| foo = do</font></div><div><font face="monospace, monospace">Prelude|     x <- Just 3</font></div><div><font face="monospace, monospace">Prelude|     y <- Just "!"</font></div><div><font face="monospace, monospace">Prelude|     Just (show x ++ y)</font></div><div><font face="monospace, monospace">Prelude| :}</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><interactive>:145:5: parse error on input `='</font></div></div><div>---------------</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks,</div><div><span style="font-family:georgia,serif;color:rgb(11,83,148)">Shishir </span></div>
</div>