HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

Modulesafe-0.3.21Haskell2010

Safe.Partial

ConstraintKind synonym for marking partial functions

Synopsis
  • Packagesafe-0.3.21
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourcePartial.hs

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.