Re: ANNOUNCE: Happy version 1.9
Simon Marlow [EMAIL PROTECTED] wrote, ANNOUNCING Happy 1.9 - The LALR(1) Parser Generator for Haskell - A RedHat 7.0/i386 rpm package is available at ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/happy-1.9-1.i386.rpm and the matching source rpm at ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/src/happy-1.9-1.src.rpm Happy Hacking, Manuel ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
RE: The Set type
George Russell wrote: A minor quibble I know, but every time I use sets I want to add/subtract single elements to/from them. There is no function provided for doing this, so instead you have to do union/delete with a singleton set constructed from the element. Done. Set now has addToSet :: Ord a = Set a - a - Set a delFromSet :: Ord a = Set a - a - Set a The names and argument order were chosen to be consistent with FiniteMap, so don't complain :-) Cheers, Simon ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ANNOUNCE: Happy version 1.9
ANNOUNCING Happy 1.9 - The LALR(1) Parser Generator for Haskell - A Windows InstallShield package is available at http://www.haskell.org/happy/dist/1.9/happy-1-9.exe -- http://sc3d.org/rrt/ | egrep, n. a bird that debugs bison ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: GHC Command Line Help
"Steinitz, Dominic J" wrote: I was experimenting with using FiniteMap. The program compiled ok but the linker gave me the following error. What do I need to include on the command line or have I not installed ghc correctly? [dom@lhrtba8fd85 FiniteMap]$ /usr/bin/ghc -o main test.o -L/usr/lib/ghc-4.08.1 - lHSlang -lHSdata /usr/lib/ghc-4.08.1/libHSdata.a(FiniteMap__1.o): In function `__init_FiniteMap': FiniteMap__1.o(.text+0x16): undefined reference to `__init_GlaExts' collect2: ld returned 1 exit status I suggest using /usr/bin/ghc -o main test.o -package data -package lang -fglasgow-exts or something similar (rather than trying to name the libraries directly). ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users