idris-0.9.15: Functional Programming Language with Dependent Types

Safe HaskellNone

Idris.CaseSplit

Documentation

splitOnLineSource

Arguments

:: Int

line number

-> Name

variable

-> FilePath

name of file

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

replaceSplits :: String -> [[(Name, PTerm)]] -> Idris [String]Source

getClauseSource

Arguments

:: Int

line number that the type is declared on

-> Name

Function name

-> FilePath

Source file name

-> Idris String 

getProofClauseSource

Arguments

:: Int

line number that the type is declared

-> Name

Function name

-> FilePath

Source file name

-> Idris String 

mkWith :: String -> Name -> StringSource

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

nameRoot :: [String] -> [Char] -> StringSource