purescript-0.9.1: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

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 :: (PscIde m, MonadLogger m, MonadError PscIdeError m) => Text -> m [Constructor] Source #