Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

Debug.log produces a strange output #151

Description

@jinjor

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

elm-repl: 0.18.0
OS: Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions