Skip to content

Move haskell-utils-* from haskell-commands.el to utils package if possible, rename otherwise #728

Closed
@geraldus

Description

@geraldus

There are several utility functions defined in haskell-commands.el. I think it's better to move them into haskell-utils.el if possible, and rename prefix to haskell-commands-. I think we can move those functions which does not depends on other haskell-mode functionality, for example haskell-utils-capture-expr-bounds uses haskell-spanable-pos-at-point internally and likely it is first candidate to rename rather than move.

Here is a list of this functions:

  • haskell-utils-async-post-command-flag1
  • haskell-utils-capture-expr-bounds2
  • haskell-utils-compose-type-at-command3
  • haskell-utils-insert-type-signature4
  • haskell-utils-echo-or-present5
  • haskell-utils-async-update-post-command-flag6
  • haskell-utils-async-watch-changes7
  • haskell-utils-async-stop-watching-changes8
  • haskell-utils-reduce-string9
  • haskell-utils-parse-repl-response10

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