RnIfaces.lhs:931: Non-exhaustive patterns in case

1999-12-14 Thread Ilya Beylin
A very cryptic error message, probably referring to the source code of ghc itself. It was caused by an empty *.hi for an imported module which happened to be in the working directory. Side remark: if ghc still has run-time errors, why doesn't it decorate them to make obvously different from the

infix constructor in a pattern

1999-12-14 Thread Ilya Beylin
The following code is accepted by hugs and hbc, but produces an error in ghc-4.04-1 - module Bug where infix 5 |- infix 9 := data Equal = Char := Int (|-) :: Int - Equal - Bool 0 |- x:=y = 1 |- x:=y 2 |- (x:=y) = 0 |- x:=y _ |- _ = False -

RE: infix constructor in a pattern

1999-12-14 Thread Simon Marlow
The following code is accepted by hugs and hbc, but produces an error in ghc-4.04-1 - module Bug where infix 5 |- infix 9 := data Equal = Char := Int (|-) :: Int - Equal - Bool 0 |- x:=y = 1 |- x:=y 2 |- (x:=y) = 0 |- x:=y _ |- _ = False

RE: 4.04 posix/AF_UNIX lossage

1999-12-14 Thread Simon Marlow
when attempting to bootstrap under netbsd-current: ==fptools== gmake all -r; in /orb/s/netbsd/usr/pkgsrc/lang/ghc/work.i386/fptools/ghc/lib/misc -- -- rm -f CString.o ; if [ ! -d CString ]; then mkdir CString; else

Re: 4.04 posix/AF_UNIX lossage

1999-12-14 Thread Julian Assange
Hi Simon, I eventually managed to produce an executable (but see below) with the following patches (note that the address family enumeration below is *not* identical to freebsd): $NetBSD$ --- ghc/lib/misc/SocketPrim.lhs Wed Sep 15 09:06:26 1999 +++ ghc/lib/misc/SocketPrim.lhs Tue Dec 14

Makefile typos

1999-12-14 Thread Julian Assange
--- /p/lang/ghc/old/fptools/MakefileWed Sep 15 09:03:33 1999 +++ MakefileWed Dec 15 16:04:58 1999 @@ -15,7 +15,7 @@ # on whether we do `make install' or not. Having a $(ifeq ... ) would # be preferable.. CURRENT_TARGET = $(MAKECMDGOALS) -SUBDIRS = $(shell if (test x$(CURRENT_TARGET) =

CL2000: final call for workshop proposals

1999-12-14 Thread Raamsdonk van F
*** apologies for multiple copies *** CL2000 First International Conference on Computational Logic Imperial College, London, UK, 24th to 28th July, 2000

Singletons and Reflection

1999-12-14 Thread Chris Angus
Hi, What do folk out there think to the idea of having a std module in Haskell which contains dynamic environment info. things I mean are progName :: String args:: String and maybe funs like getProperties :: FileName - PropertyLookup (obviously this getProperties fn whould have to