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.
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.
ghci for its part let user type in one-line expressions, that
can be broken up into several typing lines via :{ ...\n...\n :}
as Aai-2 already shown.
--
View this message in context:
http://old.nabble.com/Re%3A--Jprogramming--J-functors-tp34049982s24193p34058988.html
Sent from the J Chat mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm