Safe Haskell | Safe-Infered |
---|
Module exporting the simple Resource
type
- data Resource
- unResource :: Resource -> FilePath
- resource :: FilePath -> Resource
- fromIdentifier :: Identifier a -> Resource
- toIdentifier :: Resource -> Identifier a
Documentation
unResource :: Resource -> FilePathSource
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!