idris-0.11: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.CaseSplit

Documentation

splitOnLine Source

Arguments

:: Int

line number

-> Name

variable

-> FilePath

name of file

-> Idris (Bool, [[(Name, PTerm)]]) 

getClause Source

Arguments

:: Int

line number that the type is declared on

-> Name

Function name

-> Name

User given name

-> FilePath

Source file name

-> Idris String 

getProofClause Source

Arguments

:: Int

line number that the type is declared

-> Name

Function name

-> FilePath

Source file name

-> Idris String 

getUniq :: (Show t, Num t) => [Char] -> t -> Idris ([Char], t) Source