purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Ide.CaseSplit

Description

Casesplitting and adding function clauses

Synopsis

Documentation

makePattern Source #

Arguments

:: Text

Current line

-> Int

Begin of the split

-> Int

End of the split

-> WildcardAnnotations

Whether to explicitly type the splits

-> [Constructor]

Constructors to split

-> [Text] 

Constructs Patterns to insert into a sourcefile

caseSplit :: (Ide m, MonadError IdeError m) => Text -> m [Constructor] Source #