| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Type.Class.Partial
- class Partial
- data PartialTag
- partial :: (Partial => a) -> a
Documentation
Nullary type class to mark partial functions, e.g. head.
Instances
data PartialTag Source
Prefer partial. However, if you want to disable Partial
wholesale, make an orphan instance of Tag for this type.
NEVER put an instance of this in a library.