purescript-0.6.1.1: PureScript Programming Language Compiler

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.PureScript.Names

Description

Data types for names

Synopsis

Documentation

data Ident Source

Names for value identifiers

Constructors

Ident String

An alphanumeric identifier

Op String

A symbolic name for an infix operator

newtype ProperName Source

Proper names, i.e. capitalized names for e.g. module names, type//data constructors.

Constructors

ProperName 

data Qualified a Source

A qualified name, i.e. a name with an optional module name

Constructors

Qualified (Maybe ModuleName) a 

Instances

Eq a => Eq (Qualified a) 
Data a => Data (Qualified a) 
Ord a => Ord (Qualified a) 
Show a => Show (Qualified a) 
Typeable (* -> *) Qualified 

qualify :: ModuleName -> Qualified a -> (ModuleName, a) Source

Provide a default module name, if a name is unqualified