Portability | unknown |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | Safe-Inferred |
- type OID = [Integer]
- class OIDable a where
- getObjectID :: a -> OID
- class OIDNameable a where
- fromObjectID :: OID -> Maybe a
Documentation
classes
Class of things that have an Object ID
getObjectID :: a -> OIDSource
return the object ID of an Object from the ObjectIdentifiable class.
class OIDNameable a whereSource
Class of things that can be named by Object ID
fromObjectID :: OID -> Maybe aSource
Try to convert an OID into an Object