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

Maintainermainland@eecs.harvard.edu
Safe HaskellNone

Data.Symbol.Unsafe

Description

 

Synopsis

Documentation

data Symbol Source

Constructors

Symbol !Int !String

Unique identifier and the string itself

intern :: String -> SymbolSource

Intern a string to produce a Symbol.

unintern :: Symbol -> StringSource

Return the String associated with a Symbol.