namespace-0.1.3.0: A Generic Haskell library for managing namespaces

Safe HaskellSafe
LanguageHaskell2010

Data.Namespace.Namespace

Description

each of the import functions has an extra E version. The E version returns `Either String a` rather than `Maybe a`

Documentation

data Namespace k a Source #

Instances

(Show k, Show a) => Show (Namespace k a) Source # 

Methods

showsPrec :: Int -> Namespace k a -> ShowS #

show :: Namespace k a -> String #

showList :: [Namespace k a] -> ShowS #

Key k => Monoid (Namespace k a) Source # 

Methods

mempty :: Namespace k a #

mappend :: Namespace k a -> Namespace k a -> Namespace k a #

mconcat :: [Namespace k a] -> Namespace k a #

insertObject :: Key k => ObjectPath k -> a -> Namespace k a -> Namespace k a Source #

toTree :: Key k => Namespace k a -> Tree (Maybe k, Maybe a) Source #