Skip to content

Implement haskell-send-line, haskell-send-region, haskell-send-paragraph be wanted #892

Closed
@abelew

Description

@abelew

Greetings,
I am new to haskell, but comfortable with emacs. My google searches suggested that it is against the philosophy of haskell-mode to send individual lines/regions/paragraphs to an inferior-haskell. Since I don't yet know enough haskell to understand why that is a good thing, I wrote myself those functions so that I may type '2+2' in my buffer and hit C-c C-n to evaluate it (for example).
I haven't yet figured out how to get it to reprint the lambda> and so the output of each evaluation appears next to the existing lamda prompt, but that doesn't bother me nearly as much as not being able to evaluate arbitrary code did.
If there is any interest, I will happily send along a merge request or diff.
Thank you for your time.

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