HORIZON HASKELLDocslts/ghc-10.0.xc62e4de2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · c62e4de · 2026-10-19

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.