Skip to content

getLine behaves not correctly in Interactive-Haskell-mode. #333

Closed
@peterwang

Description

@peterwang

for example, the session:

λ> sequence [getLine, getLine]
a [hit enter]
b [hit enter]

raises an error buffer "HS-Error", which says:

-- Hit `q' to close this window.

["a","a"]
:36:1: Not in scope: ‘b’

-- To disable popups, customize `haskell-interactive-popup-errors'.

Not sure this is a bug of the "interactive-haskell-mode" OR some kind of strange IO buffering problem?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions