<br>re: desugaring. Thanks Andrew, that worked great! <br><br>I have another, easier question from the same code in RWH:<br><br>bogusTransfer qty fromBal toBal = do<br> fromQty <- atomically $ readTVar fromBal<br> [snip]<br>
<br>Can someone please explain the ($) function in English? From the type signature, it seems to be an "apply function", but I can't quite explain when we use it. Clearly, it is used throughout RWH but I haven't found a good explanation.<br>
<br>My guess is that it is when we want an "execution" of a function rather than a mere reference to it. Is that accurate?<br><br>thanks again<br>Michael<br><br>-- <br>----------------------<br>Michael Easter<br>
<a href="http://codetojoy.blogspot.com">http://codetojoy.blogspot.com</a>: Putting the thrill back in blog<br><br><a href="http://youtube.com/ocitv">http://youtube.com/ocitv</a> -> Fun people doing serious software engineering<br>