[cvs-nhc98] patch applied (yhc): Changed the Core.Convert module to be monadic and to return a list of Id -> String bindings

Neil Mitchell ndmitchell at gmail.com
Sat Aug 4 04:51:38 EDT 2007


Fri Aug  3 15:13:28 PDT 2007  Tom Shackell <shackell at cs.york.ac.uk>
  * Changed the Core.Convert module to be monadic and to return a list of Id -> String bindings
  
  I couldn't work out how to reasonably get the old code to record all the bindings it made so I
  rewrote it in the monadic style, it's only very slightly longer in any case.
  
  This *should* behave exactly the same as the old version, however, if you get problems let me know. A 
  cursory test looks like it's doing the same ...
  
  

    M ./src/compiler98/Compile.lhs -1 +1
    M ./src/compiler98/Core/Convert.hs -115 +177


More information about the Cvs-nhc98 mailing list