Safe Haskell | Safe-Infered |
---|
Module exporting the simple Resource
type
- newtype Resource = Resource {
- unResource :: String
- fromIdentifier :: Identifier a -> Resource
- toIdentifier :: Resource -> Identifier a
Documentation
A resource
fromIdentifier :: Identifier a -> ResourceSource
Create a resource from an identifier
toIdentifier :: Resource -> Identifier aSource
Map the resource to an identifier. Note that the group will not be set!