Re: ffi

2002-12-12 Thread Manuel M T Chakravarty
Hal Daume III <[EMAIL PROTECTED]> wrote, > "-fffi" three fs Both -ffi and -fffi is supported. Manuel ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Monads [beginner]

2002-12-12 Thread Joel Wright
I've found this page a very helpful introduction to Monads and monadic programming. http://www.dcs.gla.ac.uk/~nww/Monad.html Have fun, Joel. On Thu, 2002-12-12 at 19:45, [EMAIL PROTECTED] wrote: > What are Monads? > Where can I read about then? > > I read that theres some mathematical foundatio

Re: Monads [beginner]

2002-12-12 Thread Benderjgdefault
In a message dated 12/12/2002 2:45:31 PM Eastern Standard Time, [EMAIL PROTECTED] writes: > What are Monads? > Where can I read about then? > > I read that there´s some mathematical foundation under this > concept, where > can read about these theories? A large set of articles on monads in the

Re: Haskell related Debian packages

2002-12-12 Thread Richard Braakman
On Thu, Dec 12, 2002 at 11:36:59AM -0500, [EMAIL PROTECTED] wrote: > The package could install binary files, but then it would build-depend > on ghc which doesn't exist for several Debian platforms. So I guess > it could check to see if ghc is installed on the building computer and > stick binarie

Monads [beginner]

2002-12-12 Thread maas
What are Monads? Where can I read about then? I read that there´s some mathematical foundation under this concept, where can read about these theories? +-+ | Marcos Aurélio Almeida da Silva | | E-mail: [EMAIL PROTECTED]| +-+

Re: ffi

2002-12-12 Thread Hal Daume III
Perhaps you need a newer version of GHC...i just noticed you have and 02...I think you need an 04 to get the new FFI... -- Hal Daume III "Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume On Thu, 12 Dec 2002

Re: ffi

2002-12-12 Thread Martin Huschenbett
> "-fffi" three fs This time I also get an error: martin:~/work/prograemmelchen> ghc -fffi -o myprog Main.hs cfile.o ghc-5.02.2: unrecognised flag: -fffi Usage: For basic information, try the `--help' option. Main.hs looks like: module Main ( main ) where foreign import ccall "cfun" cfun ::

Re: ffi

2002-12-12 Thread Hal Daume III
"-fffi" three fs -- Hal Daume III "Computer science is no more about computers| [EMAIL PROTECTED] than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume On Thu, 12 Dec 2002, Martin Huschenbett wrote: > > > > $ ghc -ffi -o myprog Main.hs cfile.o > > > > When I try this I

Re: ffi

2002-12-12 Thread Martin Huschenbett
> > $ ghc -ffi -o myprog Main.hs cfile.o > When I try this I also get an error: martin:~/work/prograemmelchen> ghc -ffi -o myprog Main.hs cfile.o ghc-5.02.2: unrecognised flag: -ffi Usage: For basic information, try the `--help' option. Do I use a wrong GHC version? THX, Martin. _

Re: Haskell related Debian packages

2002-12-12 Thread David Roundy
... > So I'm considering sticking the *.lhs files for HUnit, for example, in > /usr/share/hunit. Then people can alter their Makefiles to include > that directory in either hugs or ghc, but I see one problem with that: > GHC would want to compile the source files, and stick them in > /usr/share/h

Haskell related Debian packages

2002-12-12 Thread haskell-cafe-admin
I'm considering packaging several Haskell libraries for Debian, and wonder what people think about where things should go. Please excuse me if anyone feels that this email isn't appropriate for this mailing list. Though these are somewhat Debian-specific questions, I thought that some Haskell fol

AW: ffi

2002-12-12 Thread Markus . Schnell
> $ cc -c cfile.c > $ ghc -o myprog Main.hs cfile.o won't you need -fffi also? Markus ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe