purescript-0.10.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.CoreFn.Meta

Description

Metadata annotations for core functional representation

Synopsis

Documentation

data Meta Source #

Metadata annotations

Constructors

IsConstructor ConstructorType [Ident]

The contained value is a data constructor

IsNewtype

The contained value is a newtype

IsTypeClassConstructor

The contained value is a typeclass dictionary constructor

IsForeign

The contained reference is for a foreign member

Instances

Eq Meta Source # 

Methods

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

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

Show Meta Source # 

Methods

showsPrec :: Int -> Meta -> ShowS #

show :: Meta -> String #

showList :: [Meta] -> ShowS #

data ConstructorType Source #

Data constructor metadata

Constructors

ProductType

The constructor is for a type with a single construcor

SumType

The constructor is for a type with multiple construcors