Re: [Haskell-cafe] Question on Exercise from SOE
I have to second that... even having previous experience with other functional languages and some other books on the subject, Yet Another Haskell Tutorial was a very good read. I am waiting to see the parts that remain to be finished. --- []s, Andrei de A. Formiga --- wilkes joiner [EMAIL PROTECTED] wrote: I strongly recommend Yet Another Haskell Tutorial by Hal Daume III et al. in conjuction or prior to CFP book. It's really helped clear some things ups for me. It seems more pragmatic and less academic than the other learning haskell resources. Here's the link - http://www.isi.edu/~hdaume/htut/tutorial.pdf __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Modules and files
Hi, Is it possible to have more than one module defined in a single file ? As far as I can tell, the Haskell Report doesn't prohibit this, but so far my tests with hugs and ghc indicate they don't accept multi-module files. Is this standard ? Thanks. --- []s, Andrei de A. Formiga __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] Calling Haskell from Java
Greetings, I need to call Haskell functions from a Java program. In the Java side, I can use JNI, which expects C-call functions exported from dynamically linked libraries. So, a primitive way to get what I want is to generate a dynamic library from Haskell code with exported ccall functions. This brings me to my first question: 1) is ghc able to create dynamic libraries in all platforms ? I searched the documentation and found only mention of a currently unsupported way to create DLLs in Win32, and nothing about other platforms. In case this is not possible, one solution might be to statically link ghc-generated code with a C dynamic library which calls the exported Haskell functions. Going further from the primitive, low-level JNI x FFI way, it would be great to automate the wrapping and marshalling necessary, so: 2) is there any tool to help with Haskell function exports and data marshalling to other languages ? I looked at HDirect but it predates the standard FFI definition and it doesn't seem to be supported. I am aware of tools to help calling Java from Haskell, but none to go the other way around. Thanks in advance for any help. --- []s, Andrei Formiga __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Toy application advice wanted
I'm finding wxHaskell very nice, and a wxWidgets binding is something many other advanced languages don't have (even OCaml). The only downside is having a 'Hello World' GUI application with 7 Mb... but it runs quite well and smooth once it's loaded. --- []s, Andrei de A. Formiga --- Vincenzo aka Nick Name [EMAIL PROTECTED] wrote: The fact that the 16th one is a wxwindows binding justifies this quite well :) V. __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe