purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Sugar.CaseDeclarations

Description

This module implements the desugaring pass which replaces top-level binders with case expressions.

Synopsis

Documentation

desugarCases :: forall m. (MonadSupply m, MonadError MultipleErrors m) => [Declaration] -> m [Declaration] Source #

Replace all top-level binders with case expressions.

desugarCasesModule :: (MonadSupply m, MonadError MultipleErrors m) => Module -> m Module Source #

Replace all top-level binders in a module with case expressions.