purescript-0.5.2.4: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

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 ErrorStack [Module] Source

Remove explicit parentheses and reorder binary operator applications