Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
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.