Module

Sigil.Examples

Package
purescript-sigil
Repository
afcondon/purescript-sigil

Curated collection of PureScript type signatures for testing and demos. 50 examples across 17 categories covering the full range of PureScript type syntax: simple values, functions, constraints, records, rows, effects, HKT, rank-N, operators, kind signatures, and Halogen.

#TestSig Source

type TestSig = { category :: String, idx :: Int, name :: String, sig :: String }

#TestDataDecl Source

type TestDataDecl = { constructors :: Array { argSigs :: Array String, name :: String }, idx :: Int, keyword :: Maybe String, name :: String, typeParams :: Array String }

#TestClassDecl Source

type TestClassDecl = { idx :: Int, methods :: Array { name :: String, sig :: Maybe String }, name :: String, superclasses :: Array { methods :: Array { name :: String, sig :: Maybe String }, name :: String }, typeParams :: Array String }

#TestTypeSynonym Source

type TestTypeSynonym = { body :: String, idx :: Int, name :: String, typeParams :: Array String }

#TestForeignImport Source

type TestForeignImport = { idx :: Int, name :: String, sig :: String }