Re: [Haskell-cafe] What library package fulfills these requirements?

2011-10-28 Thread Aatch
On 28 October 2011 20:46, David Barbour dmbarb...@gmail.com wrote:
 On Fri, Oct 28, 2011 at 12:06 AM, Joosten, Han han.joos...@atos.net wrote:

 I am planning to give a workshop on FP using Haskell. The audience will be
 programmers with quite a bit of experience with conventional languages like
 Java and .net . I want to give them some feeling about FP. And hopefully,
 they will become interested so they want more...

 A couple of years ago, Simon Peyton Jones gave a splendid
 presentation with a comparable goal. He used Xmonad as an example to show
 some 'real code'. I like this idea, because Xmonad contains some code that
 is suitable to explain (not too hard to understand), and still gives a
 feeling about the power of Haskell. However, Xmonad needs X11 to run. Me and
 most people in the audience are stuck to windows (no flames please ;-s ) ,
 and don't want to fiddle around with cygwin or the likes)
 I am wondering what package is suitable to be used as an example too? It
 needs to fulfill at least the following requirements:
 + I have to be able to explain the purpose of the software in no more than
 1 or 2 minutes
 + There should be parts of the code that can be easily linked to the
 purpose /use of the package
 + These code parts must show the 'prettiness' of Haskell
 + It would be nice if there is something GUI-like to demo, which runs
 under windows.
 + I prefer not to use some kind of a compiler as an example.

 Now the question is: What package would you suggest, and of course, why?

 Thanks!



 Han Joosten.

 Haskore - music generation
 Yesod, Snap, or HAppS - quick web application
 Diagrams - easy image composition, 2D
 GPipe - functional composition of 3D graphics and shaders (similar to Conal
 Elliott's Vertigo).
 (cabal - easy installs, downloads, packaging)


I'm with david on the web apps one. Especially since you can demo it
and give out a link to people at the workshop. Most programmers are
familiar with the way web apps work and wont have to get over that
hurdle that other, less common application types might present.

---
James Miller

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] The best way to call Java from Haskell?

2011-10-10 Thread Aatch
There are some projects to try and provide a bridge between Haskell
and the JVM. Unfortunately none of the seem to have much development.
As it stands, there is GCJNI, which allows Haskell to invoke Java
code, seems like a Java version of hsc2hs, but the site is down, it
just 404s. There is also haskell-jvm-bridge, but that doesn't look
like it has any development for about 18 months, and there isn't much
about it. Then there is LambdaVM, which looks the most promising, as
it compiles GHC byte-code to JVM bytecode. However, it doesn't look it
has been updated in a few years.
You can try your luck with any of those, but currently, if you want a
decent FFI for Java, you're probably going to have to resurrect one of
those projects.

---
James Miller



On 11 October 2011 15:26, Claude Lee calee2...@gmail.com wrote:
 Hi,

 vote+1.

 Theoretically, you can bridge Haskell and Java with FFI. It applys to small
 projects. Larger ones may need some build tools...

 Claude

 2011/10/11 dokondr doko...@gmail.com

 Hi,
 I need to call Stanford NLP Parser from Haskell (unfortunately Haskell
 does not have a similar one):
 http://nlp.stanford.edu/software/lex-parser.shtml

 What would be the most reliable framework for this?

 Thanks!
 Dmitri



 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe