symbol-0.2.4: A 'Symbol' type for fast symbol comparison.

Copyright(c) Harvard University 2009-2011 : (c) Geoffrey Mainland 2011-2014
LicenseBSD-style
MaintainerGeoffrey Mainland <mainland@cs.drexel.edu>
Safe HaskellNone
LanguageHaskell98

Data.Symbol.Unsafe

Description

 

Synopsis

Documentation

data Symbol

Constructors

Symbol !Int !String

Unique identifier and the string itself

intern :: String -> Symbol

Intern a string to produce a Symbol.

unintern :: Symbol -> String

Return the String associated with a Symbol.