Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Solkattu.ExtractKorvais

Description

Extract Korvai definitions into a list in a generated module.

Synopsis

Documentation

main :: IO () Source #

data Type Source #

Constructors

Korvai 
Score 

Instances

Instances details
Show Type Source # 
Instance details

Defined in Solkattu.ExtractKorvais

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Eq Type Source # 
Instance details

Defined in Solkattu.ExtractKorvais

Methods

(==) :: Type -> Type -> Bool #

(/=) :: Type -> Type -> Bool #

extract Source #

Arguments

:: [(Int, (Text, Text))] 
-> [(Type, (Int, Text))]

(lineno, variableName)

Extract "something :: Korvai" lines.