Ben,

I'm currently trying to produce better error messages for the 
superfluous let in this example:

    fun x
     = do   let b () = x + 1
            x + b ()

and I was wondering if there is any reason why ddc still accepts
this:

   fun6 ()
    = let  dude1 x     = 5
           dude1 x y   = 6
      in   ()

which can be rewritten as:

   fun6 ()
    = do   dude1 x     = 5
           dude1 x y   = 6
           ()

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

-- 
Disciple-Cafe mailing list
http://groups.google.com/group/disciple-cafe

Reply via email to