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

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

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.