It looks like an additional \n is inserted before type.
> add a b = (Debug.log "value of a" a) + b
<function> : number -> number -> number
> add 1 2
value of a: 1
3
: number
Debug.crash seems fine, btw.
> f a = Debug.crash "not implemented yet"
<function> : a -> b
> f 1
Error: Ran into a `Debug.crash` in module `Repl` on line 5
The message provided by the code author is:
not implemented yet
It looks like an additional
\n
is inserted before type.Debug.crash
seems fine, btw.elm-repl: 0.18.0 OS: Mac