HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulesandwich-0.3.1.0Haskell2010

Test.Sandwich.Misc

Miscellaneous exports that need to be exposed, but aren't super interesting. Gathered here to avoid cluttering other files.

  • 28 types
  • 2 classes
  • 2 values
  • Packagesandwich-0.3.1.0
  • Exports32
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceMisc.hs

The example monad

2 declarations
newtypenewtype ExampleT context (m :: Type -> Type) a
#
Instances19MonadReader, MonadBase, MonadBaseControl, MonadTrans, MonadTransControl, Monad, …

Spec types

7 declarations

Command line options

8 declarations
datadata CommandLineOptions a
#
Instances1Show
Instances1Show

Labels

4 declarations
classclass HasLabel context (l :: Symbol) a where
#
Instances3HasLabel
  • HasLabel (LabelValue l a) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
  • HasLabel (LabelValue l a :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
  • HasLabel context l a => HasLabel (intro :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
datadata (:>) a b
#
Instances4Show, HasBaseContext, HasLabel
  • (Show a, Show b) => Show (a :> b)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
  • HasBaseContext context => HasBaseContext (intro :> context)Defined in sandwich-0.3.1.0 · Test.Sandwich.Types.RunTree
  • HasLabel (LabelValue l a :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec
  • HasLabel context l a => HasLabel (intro :> context) l aDefined in sandwich-0.3.1.0 · Test.Sandwich.Types.Spec

Context classes

6 declarations
datadata BaseContext
#

The base context available to every test node. Contains various paths and timing information.

Instances1HasBaseContext

Result types

5 declarations
datadata FailureReason
#
Instances4Eq, Show, Exception, ToBrickWidget

A wrapper type for exceptions with attached callstacks. Haskell doesn't currently offer a way to reliably get a callstack from an exception, but if you can throw (or catch+rethrow) this type then we'll unwrap it and present the callstack nicely.

Constructors

Instances2Show, Exception