Source codeContentsIndex
Name
Description
This module exports a common interface for named objects.
Synopsis
data Name = Name {
short :: (Int -> String)
full :: String
}
createName :: String -> Name
getFullName :: Name -> String
getShortName :: Name -> Int -> String
Documentation
data Name
The Name datatype.
Constructors
Name
short :: (Int -> String)
full :: String
createName
:: String the full name.
-> Name A name.
Creates a new name.
getFullName :: Name -> String
Gets the full name from a Name object.
getShortName :: Name -> Int -> String
Gets a short name of the given length from a Name object.
Produced by Haddock version 0.3