swish-0.9.1.10: A semantic web toolkit.

Copyright(c) 2011 2012 Douglas Burke
LicenseGPL V2
MaintainerDouglas Burke
Stabilityexperimental
PortabilityCPP, TypeFamilies, FlexibleInstances
Safe HaskellNone
LanguageHaskell98

Data.Interned.URI

Description

Support interning URIs.

Synopsis

Documentation

data InternedURI Source #

An interned URI. The hashing is based on the reversed URI (as a string).

Instances

Eq InternedURI Source # 
Ord InternedURI Source # 
Show InternedURI Source # 
IsString InternedURI Source # 
Uninternable InternedURI Source # 

Methods

unintern :: InternedURI -> Uninterned InternedURI

Interned InternedURI Source # 

Associated Types

data Description InternedURI :: *

type Uninterned InternedURI :: *

Eq (Description InternedURI) Source # 

Methods

(==) :: Description InternedURI -> Description InternedURI -> Bool #

(/=) :: Description InternedURI -> Description InternedURI -> Bool #

Hashable (Description InternedURI) Source # 

Methods

hashWithSalt :: Int -> Description InternedURI -> Int #

hash :: Description InternedURI -> Int #

type Uninterned InternedURI Source # 
type Uninterned InternedURI = URI
data Description InternedURI Source # 
data Description InternedURI = DU !URI