Safe Haskell | None |
---|---|
Language | Haskell2010 |
Defines the notion of renaming something.
This is closed over a few well-defined types.
- class CanRename a txt where
Documentation
class CanRename a txt where Source #
The class of types that can be renamed. It is made generic because it covers 2 notions: - the name of a compute node that will eventually determine its compute path - the name of field (which may become an object path) This syntax tries to be convenient and will fail immediately for basic errors such as illegal characters.
This could be revisited in the future, but it is a compromise on readability.