Re: [Haskell-cafe] Foreign function Intf./GHC newbie question

2005-11-26 Thread Bulat Ziganshin
Hello John, Saturday, November 26, 2005, 5:59:41 AM, you wrote: JZ I want to compile a Haskell program that calls a foreign C function. I'm JZ using GHC. When GHC links, it says it can't find my C function. That is JZ not surprising, because I can't figure out how I'm supposed to tell GHC

Re: [Haskell-cafe] Re: Monads in Java, Joy, OCaml, Perl, Prolog, Python, Ruby, and Scheme was Re: Other languages using monads?

2005-11-26 Thread Wolfgang Jeltsch
Am Samstag, 26. November 2005 03:56 schrieb Geoffrey Alan Washburn: [lots of code] It's interesting to note how verbose Java is in comparison to Haskell, at least, concerning this monad stuff. Best wishes, Wolfgang ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Haskell GUI on top of Xlib?

2005-11-26 Thread Duncan Coutts
On Sat, 2005-11-26 at 00:17 -0500, Dimitry Golubovsky wrote: Do there exist Haskell graphics/UI toolkits implemented on top of the X11 library (Xlib) without any intermediate C/C++ libraries (i. e. not WxHaskell for example)? I have a very low level client-side interface to the X11

[Haskell-cafe] Re: Monads in Java, Joy, OCaml, Perl, Prolog, Python, Ruby, and Scheme was Re: Other languages using monads?

2005-11-26 Thread Geoffrey Alan Washburn
Wolfgang Jeltsch wrote: Am Samstag, 26. November 2005 03:56 schrieb Geoffrey Alan Washburn: [lots of code] It's interesting to note how verbose Java is in comparison to Haskell, at least, concerning this monad stuff. I'd agree. However, my original point was that my version that uses

[Haskell-cafe] Monads in Scala, XSLT, Unix shell pipes was Re: Monads in ...

2005-11-26 Thread Shae Matijs Erisson
Geoffrey Alan Washburn [EMAIL PROTECTED] writes: Scala can do much better still because it has first-class functions and algebraic data types (case classes). Comments on http://lambda-the-ultimate.org/node/view/1136 include links to Scala

Re: [Haskell-cafe] Monads in Scala, XSLT, Unix shell pipes was Re: Monads in ...

2005-11-26 Thread Greg Woodhouse
--- Shae Matijs Erisson [EMAIL PROTECTED] wrote: Geoffrey Alan Washburn [EMAIL PROTECTED] writes: There's also Oleg's http://okmij.org/ftp/Computation/monadic-shell.html at the level of UNIX programming, all i/o can be regarded monadic. Interesting. I had been thinking about I/O and

Dataflow and Comonads was Re: [Haskell-cafe] Monads in Scala, ...

2005-11-26 Thread Shae Matijs Erisson
Greg Woodhouse [EMAIL PROTECTED] writes: Maybe this is a different topic, but exploring concurrency in Haskell is definitely on my to do list, but this is really a bit of a puzzle. One thing I've been thinking lately is that in functional programming the process is really the wrong

Re: [Haskell-cafe] Monads in Scala, XSLT, Unix shell pipes was Re: Monads in ...

2005-11-26 Thread Cale Gibbard
Maybe this is a different topic, but exploring concurrency in Haskell is definitely on my to do list, but this is really a bit of a puzzle. One thing I've been thinking lately is that in functional programming the process is really the wrong abstraction (computation is reduction, not a

[Haskell-cafe] Re: Dataflow and Comonads was Re: Monads in Scala, ...

2005-11-26 Thread Jim Apple
Shae Matijs Erisson wrote: I do wish I could find the source code from this paper online, I'd rather not type it in by hand. Do researchers usually manually transcribe code? Both Evince and Acrobat Reader can copy text. Jim ___ Haskell-Cafe

Re: Dataflow and Comonads was Re: [Haskell-cafe] Monads in Scala, ...

2005-11-26 Thread Bill Wood
On Sat, 2005-11-26 at 18:43 +0100, Shae Matijs Erisson wrote: Greg Woodhouse [EMAIL PROTECTED] writes: Maybe this is a different topic, but exploring concurrency in Haskell is definitely on my to do list, but this is really a bit of a puzzle. One thing I've been thinking lately is that

Re: [Haskell-cafe] Haskell GUI on top of Xlib?

2005-11-26 Thread Dimitry Golubovsky
Thanks Duncan for this link: a very interesting reading. Duncan Coutts wrote: Are you aware of the XCB library: http://xcb.freedesktop.org/ Indeed they mention that Haskell would be an obvious target for this: http://xcb.freedesktop.org/wiki/XCBToDo I haven't looked at their API

Re: [Haskell-cafe] Detecting Cycles in Datastructures

2005-11-26 Thread Andrew Pimlott
On Sat, Nov 19, 2005 at 02:27:06AM +0100, Benjamin Franksen wrote: [You should read some of his papers, for instance the most unreliable techique in the world to compute pi. I was ROTFL when I saw the title and reading it was an eye-opener and fun too.] In addition to being clever and