@@ -37,7 +37,9 @@ import Language.PureScript.Sugar.TypeDeclarations as S
38-- * Remove signed literals in favour of `negate` applications
38-- * Remove signed literals in favour of `negate` applications
40−-- * Desguar object literals with wildcards into lambdas
40+-- * Desugar object literals with wildcards into lambdas
42+-- * Desugar operator sections
42-- * Desugar do-notation using the @Prelude.Monad@ type class
44-- * Desugar do-notation using the @Prelude.Monad@ type class
@@ -56,6 +58,7 @@ import Language.PureScript.Sugar.TypeDeclarations as S
56desugar :: [Module] -> SupplyT (Either ErrorStack) [Module]
58desugar :: [Module] -> SupplyT (Either ErrorStack) [Module]
57desugar = map removeSignedLiterals
59desugar = map removeSignedLiterals
58 >>> map desugarObjectConstructors
60 >>> map desugarObjectConstructors
61+ >>> map desugarOperatorSections
59 >>> mapM desugarDoModule
62 >>> mapM desugarDoModule
60 >=> desugarCasesModule
63 >=> desugarCasesModule
61 >=> lift . (desugarTypeDeclarationsModule
64 >=> lift . (desugarTypeDeclarationsModule