swish-0.9.1.10: A semantic web toolkit.

Copyright | (c) 2011 2012 Douglas Burke
License | GPL V2
Maintainer | Douglas Burke
Stability | experimental
Portability | CPP, TypeFamilies, FlexibleInstances
Safe Haskell | None
Language | Haskell98

Data.Interned.URI

Description

Support interning URIs.

Synopsis

- data InternedURI

# Documentation

data InternedURI Source #

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

Instances

Eq InternedURI Source # |
Methods (==) :: InternedURI -> InternedURI -> Bool # (/=) :: InternedURI -> InternedURI -> Bool #
Ord InternedURI Source # |
Methods compare :: InternedURI -> InternedURI -> Ordering # (<) :: InternedURI -> InternedURI -> Bool # (<=) :: InternedURI -> InternedURI -> Bool # (>) :: InternedURI -> InternedURI -> Bool # (>=) :: InternedURI -> InternedURI -> Bool # max :: InternedURI -> InternedURI -> InternedURI # min :: InternedURI -> InternedURI -> InternedURI #
Show InternedURI Source # |
Methods showsPrec :: Int -> InternedURI -> ShowS # show :: InternedURI -> String # showList :: [InternedURI] -> ShowS #
IsString InternedURI Source # |
Methods fromString :: String -> InternedURI #
Uninternable InternedURI Source # |
Methods unintern :: InternedURI -> Uninterned InternedURI
Interned InternedURI Source # |
Associated Types data Description InternedURI :: * type Uninterned InternedURI :: * Methods describe :: Uninterned InternedURI -> Description InternedURI identify :: Id -> Uninterned InternedURI -> InternedURI seedIdentity :: p InternedURI -> Id cacheWidth :: p InternedURI -> Int modifyAdvice :: IO InternedURI -> IO InternedURI cache :: Cache 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