HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulesafe-0.3.21Haskell2010

Safe.Partial

ConstraintKind synonym for marking partial functions

  • 1 type
  • Packagesafe-0.3.21
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourcePartial.hs
typetype Partial = HasCallStack
#

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.