[darcs-users] Ambiguous occurrence `bracket' - error

Peter Strand d98peter at dtek.chalmers.se
Mon Nov 24 19:05:02 UTC 2003

On Mon, Nov 24, 2003 at 02:54:46PM +0100, Gour wrote:
> David Roundy (droundy at abridgegame.org) wrote:
> > Have you tested on win32 to see if the renameFile error is fixed?
> Attempt to build on win32 results in:
> <snip>
> ghc  -cpp  -package text -iwin32 -Iwin32 -package util -fffi -fffi -fglasgow-exts -c win32/Posix.hs
> win32/Posix.hs:37: The last statement in a 'do' construct must be an expression
> make: *** [win32/Posix.o] Error 1

There's a small alignment error on line 36, fixed by:

hunk ./win32/Posix.hs 36
-                                 return (fromIntegral i)
+                            return (fromIntegral i)


More information about the darcs-users mailing list