Skip to content

Fix indentation in haskell-interactive-mode-multi-line #1278

Closed
@gracjan

Description

@gracjan

There is this magic:

(defun haskell-interactive-mode-multi-line (expr)

This means that by using C-j one can have multiline command like this:

λ> let x = 1
       y = 3

it will be wrapped in :{ and }: and send to GHCi like this:

:{
let x = 1
       y = 3
:}

Note that this is not documented and does not really work due to misaligned indentation.

Tasks:

  • make it respect indentation
  • document that by using C-j one can get multilne working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions