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

Moduleextensible-effects-5.0.0.1Haskell2010

Control.Eff.Example

Example usage of Control.Eff

Synopsis
newtypenewtype TooBig

The datatype for the example from the paper. See the tests for the example

Constructors

Instances2Eq, Show
  • Eq TooBigDefined in extensible-effects-5.0.0.1 · Control.Eff.Example
  • Show TooBigDefined in extensible-effects-5.0.0.1 · Control.Eff.Example
valuelastEff :: [a] -> Maybe a

Safely get the last element of a list. Nothing for empty lists; Just the last element otherwise.