purescript-0.4.0: PureScript Programming Language Compiler

Safe HaskellNone

Language.PureScript.Sugar.Operators

Description

This module implements the desugaring pass which reapplies binary operators based on their fixity data and removes explicit parentheses.

The value parser ignores fixity data when parsing binary operator applications, so it is necessary to reorder them here.

Synopsis

Documentation

rebracket :: [Module] -> Either String [Module]Source

Remove explicit parentheses and reorder binary operator applications