[@natefaubion suggested I move this here.]
I accidentally left a blank line at the end of my .purs-repl file.
You can't see the line, but it's there.
The result of starting a repl is this:
503 $ pulp repl
PSCi, version 0.11.6
Type :? for help
import Prelude
(line 1, column 1):
unexpected end of input
expecting "import", declaration, expression or "let"
That's particularly confusing for a newbie because there's no indication where the problem is. (Puzzled me because it'd been a day since I'd fiddled with .purs-repl and I'd forgotten I did it.)
[@natefaubion suggested I move this here.]
I accidentally left a blank line at the end of my
.purs-replfile.You can't see the line, but it's there.
The result of starting a repl is this:
That's particularly confusing for a newbie because there's no indication where the problem is. (Puzzled me because it'd been a day since I'd fiddled with
.purs-repland I'd forgotten I did it.)