<div dir="ltr">Thanks for the exercises. I think I've finished all exercises except the last 2 projects. But here are some questions regarding the exercises:<div><br></div><div>1. The layout of the typeclasses looks a bit different from Haskell, like splitting applicative functor into apply and applicative. I wonder you could tell me the reason.</div>
<div><br></div><div>2. How to write cooler code like lift2 ((++) =<<) preillion postillion? How could I make such usage a habit? </div><div><br></div><div>Thanks.</div><div><div><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-03-20 18:15 GMT-04:00 Tony Morris <span dir="ltr"><<a href="mailto:tonymorris@gmail.com" target="_blank">tonymorris@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>I teach FP for a living for an
organisation called NICTA. This is the material I use primarily
<a href="https://github.com/NICTA/course" target="_blank">https://github.com/NICTA/course</a><br>
<br>
If you can do the easy stuff, fine. For example,<br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/List.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/List.hs</a><br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/ListZipper.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/ListZipper.hs</a><br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/StateT.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/StateT.hs</a><br>
<br>
If you want it a bit harder:<br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/Parser.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/Parser.hs</a><br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/JsonParser.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/JsonParser.hs</a><br>
<a href="https://github.com/NICTA/course/blob/master/src/Course/Cheque.hs" target="_blank">https://github.com/NICTA/course/blob/master/src/Course/Cheque.hs</a><br>
<br>
But if you can do any of these, then I would say you are not a
beginner anymore:<br>
<a href="https://github.com/NICTA/course/blob/master/projects/TicTacToe/TicTacToe.markdown" target="_blank">https://github.com/NICTA/course/blob/master/projects/TicTacToe/TicTacToe.markdown</a><br>
<a href="https://github.com/NICTA/course/blob/master/projects/NetworkServer/NetworkServer.markdown" target="_blank">https://github.com/NICTA/course/blob/master/projects/NetworkServer/NetworkServer.markdown</a><div><div class="h5">
<br>
<br>
<br>
On 21/03/14 04:17, bruce li wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi, there,
<div>I'm relatively new to Haskell...well... I mean I haven't
done anything I believe truely in Haskell. I have gone through
materials like Learn You a Haskell for Real Good, Real World
Haskell, most chapters in Haskell Wikibook, Write Yourself
Scheme in 48 Hours, Algorithms: A Functional Approach and
other materials in Haskell Wiki. </div>
<div><br>
</div>
<div><b>But... what I feel is that I'm not confident while
writing Haskell code.</b> Having gone through all those
materials with "magic", I always feel I'm writing stupid code
and there must be more elegant way... And... what's worse, I
feel guilty while using IO monad but I simply cannot avoid it,
like when I try to write code generator for a toy compiler, I
need to keep state of the registers, which I need IORef...
Then I feel its not pure anymore but I don't know how to get
around it.</div>
<div><br>
</div>
<div>I'm wondering if anyone else shares this kind of feeling
and what should I do next? Could anyone suggest any project to
get hands on experience with Haskell? </div>
<div><br>
</div>
<div>Another question is that the deeper digging into functional
algorithms design (reading the book Pearls of Functional
Algorithm Design), the more ignorant I feel. So how do I make
up the basics like fold law, list induction etc. Any suggested
reading materials?</div>
<div><br>
</div>
<div>Well.. I think that's a lot question. Thanks for your
patience and your kind help.</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class=""><pre>_______________________________________________
Beginners mailing list
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a>
</pre>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Tony Morris
<a href="http://tmorris.net/" target="_blank">http://tmorris.net/</a>
</pre>
</font></span></div>
<br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>