HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.