MIT licensed by comp
Maintained by [email protected]
This version can be pinned in stack with:reorder-expression-0.1.0.3@sha256:240a65430aba87db9db8fc44cb87b6d26690c402fad1fe46e72b5d8e5fe4eb3f,1875

Module documentation for 0.1.0.3

Depends on 1 package(full list with versions):

reorder-expression

License MIT Hackage

A library for reordering expressions in a syntax tree generically according to operator associativity and precedence. This is useful for languages with custom operators which require reordering expressions after collecting their fixities.

Supports:

  • Any syntax tree data type, e.g. source position-annotated ones.
  • Postfix, prefix, and infix operators, with any arity.
  • Left, right, and non-associative operators and precedence with doubles.

See documentation for an example.

Changes

Changelog for reorder-expression

0.1.0.3

  • Updated for GHC 9.12, 9.14.

0.1.0.2

  • Updated for GHC 9.10.

0.1.0.1

  • Updated for GHC 9.4, 9.6, 9.8.

0.1.0.0

  • Initial release.