| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Editable
Documentation
Launch an editor for a value with editor.
Editable can be derived with instance Editable a so long as:
Minimal complete definition
Nothing
class Parseable a where Source
A type is parseable if you can:
- From a string return either a value or an error message.
- Represent a value as a string.
- Showing a value then reading it yields the same value.
- The type can be pretty printed.
With overlapping instances, you get this instance for free for any
type that is in Show, Read and Typeable. The String instance is also
provided so quotes are not required.