On Sat, Jun 23, 2012 at 9:41 AM, Viktor Cerovski <[email protected]> wrote: > Raul Miller-4 wrote: >> The issue I am trying to raise is that you cannot use the same >> language for compiled programs that you can use for interactive >> programs. > > There is no interactive-vs-compiled Haskell language issue. > Every Haskell program is compiled, whether written > interactively or not. What you're noticing is that ghci > does not let user type in every conceivable Haskell program, > which is the issue of the workflow around interactive > sessions rather than language property.
I never imagined that anyone would try to claim that ghci does not provide an interactive implementation of Haskell. > So we have only one language, it's just that some language > constructions one cannot type in interactively, only load them > into the interactive session from file, and then use them as if > they'd been typed in interactively into ghci. Nevertheless, the sequences of characters which are legal when supplied to ghc differ from the sequences of characters which are legal when supplied at the interactive prompt in ghci. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
