Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Partial
- data PartialTag
- partial :: (Partial => a) -> a
Documentation
Nullary type class to mark partial functions, e.g. head.
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.