A simple class that we use to provide a constraint for function application.
Methods
applyTo :: f -> x -> r
Instances1AppliesTo
AppliesTo r (x -> r) xDefined in row-types-1.0.1.2 · Data.Row.Switch
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulerow-types-1.0.1.2Haskell2010
This module provides the ability to discharge a polymorphic variant using a record that has matching fields.
A simple class that we use to provide a constraint for function application.
applyTo :: f -> x -> rAppliesTo r (x -> r) xDefined in row-types-1.0.1.2 · Data.Row.SwitchThe same as switch but with the argument order reversed