safe-0.3.14: Library of safe (exception free) functions

Safe HaskellSafe
LanguageHaskell2010

Safe.Partial

Description

ConstraintKind synonym for marking partial functions

Synopsis

Documentation

type Partial = ?loc :: CallStack Source

A constraint synonym which denotes that the function is partial, and will (on GHC 8.* and up) produce a stack trace on failure. You may mark your own non-total functions as Partial, if necessary, and this will ensure that they produce useful stack traces.