Parse error

Dmitri Pissarenko mailing-lists at dapissarenko.com
Thu Mar 17 14:42:30 EST 2005


Hello!

In the attachment you will find a file, in which I try to access Java from
Haskell using the Java bridge for functional languages.

For details see

http://sourceforge.net/projects/jvm-bridge/

and

http://dapissarenko.com/resources/2005_02_17_eigenvaluesJava/2005_02_17_eigenva
luesJava.pdf

When I try to compile the attached file using

ghc +RTS -c -RTS -package javavm  -c EigenvalueCalculatorHaskell.hs -o
EigenvalueCalculatorHaskell.o

I get the error

EigenvalueCalculatorHaskell.hs:28: parse error on input `putStrLn'

Unfortunately, I have not the slightest idea about how to fix/isolate it (I
already commented out almost the whole code).

Please tell me what I could try to correct the error. I appreciate ANY hint.

Many thanks in advance


Dmitri Pissarenko

PS: The source code of the files related to EigenvalueCalculatorHaskell.hs is
located at

http://dapissarenko.com/resources/2005_02_17_eigenvaluesJava/2005_02_17_lik.zip

--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EigenvalueCalculatorHaskell.hs
Type: text/x-haskell
Size: 2672 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20050317/8912275b/EigenvalueCalculatorHaskell.bin


More information about the Glasgow-haskell-users mailing list