Re: ghc command line evaluation

2006-04-06 Thread Pedro Miguel Duarte
Thanks a lot for the sugestions! I am going to try them...   pedro  On 4/5/06, Björn Bringert <[EMAIL PROTECTED]> wrote: Benjamin Franksen wrote:> On Wednesday 05 April 2006 20:32, Pedro Miguel Duarte wrote:>>>I am writing a Java program with a call to a  Haskell module   M.hs,>>in order to evaluat

Re: ghc command line evaluation

2006-04-05 Thread Björn Bringert
Benjamin Franksen wrote: On Wednesday 05 April 2006 20:32, Pedro Miguel Duarte wrote: I am writing a Java program with a call to a Haskell module M.hs, in order to evaluate some expression expr. A very simple idea, which I got somewhere in the net, is to create a Process object p which e

Re: ghc command line evaluation

2006-04-05 Thread Benjamin Franksen
On Wednesday 05 April 2006 20:32, Pedro Miguel Duarte wrote: > I am writing a Java program with a call to a Haskell module M.hs, > in order to evaluate some expression expr. > > A very simple idea, which I got somewhere in the net, is to create a > Process object p which executes a GHC comman

ghc command line evaluation

2006-04-05 Thread Pedro Miguel Duarte
  I am writing a Java program with a call to a  Haskell module  M.hs, in order to evaluate some _expression_   expr.   A very simple idea, which I got somewhere in the net,  is to create a Process object p  which executes a GHC command-line instruction:   Process p = Runtime.getRuntime(); p.exec(