Description
Thanks very much for your work on Gluon. I just started trying it out, but it already seems very impressive.
However, in my first few minutes playing with Gluon I've run into a basic issue. (It could well be user error and, if so, I apologize. But I didn't see anything in the Gluon Book or github issues that seemed to address this).
The issue I'm running into is that I cannot enter multiline forms in the REPL. For example, I attemtempted to type in the Fibinacci example:
let fib n =
if n #Int< 2
then 1
else fib (n #Int- 1) #Int+ fib (n #Int- 2)
fib
Unfortunately, pressing Return
at the end of the first line does not open a block; it provides the error error: Unexpected token: CloseBlock
instead. I tried common key combinations, (Shift + Return
, C-j
, C-Return
, etc.) but none of them opened a block either.
Am I missing something obvious here, or does the REPL not support multiline input?
Activity