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 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
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