bel icon indicating copy to clipboard operation
bel copied to clipboard

Something goes wrong with a 'for' in a 'let'

Open masak opened this issue 1 year ago • 0 comments

This works, as it should:

$ bel
Language::Bel 0.63 -- msys.
> (let x 0 (for i 1 1))
nil
>

But then this doesn't:

$ cat golf.bel
(let (x 0)
  (for i 1 1))

$ bel golf.bel
Error: bad-clo

Very weird. No idea why this happens; also no idea why it only happens in a file, not in the REPL.

masak avatar Nov 11 '24 02:11 masak