Paraiso-0.3.1.3: a code generator for partial differential equations solvers.
Language.Paraiso.Name
Description
name identifier.
Synopsis
class Nameable a where Source
something that has name.
Minimal complete definition
name
Methods
name :: a -> Name Source
get its name.
nameText :: a -> Text Source
get its name as a Text.
Text
nameStr :: a -> String Source
get its name as a String.
String
Instances
Name has Name. Name of Name is Name itself.
Name
data Name Source
a name.
mkName :: Text -> Name Source
create a name from a Text. We do not export the constructor Name for future extensibility.
isNameOf :: Text -> a -> Named a Source
create Named object in an instance.
data Named a Source
Convert some type to a named type.
Constructors
namee :: Named a -> a Source
The thing the name points to.