mig-0.2.1.0: Build lightweight and composable servers
Safe HaskellSafe-Inferred
LanguageGHC2021

Mig.Core.Types.Pair

Description

Pair with infix constructor.

Synopsis
  • data a :| b = a :| b

Documentation

data a :| b Source #

Infix synonym for pair. It can be useful to stack together many client functions in the output of toClient function.

Constructors

a :| b 

Instances

Instances details
(ToUrl a, ToUrl b) => ToUrl (a :| b) Source # 
Instance details

Defined in Mig.Core.Class.Url

Methods

toUrl :: forall (m :: Type -> Type). Server m -> a :| b Source #

mapUrl :: (Url -> Url) -> (a :| b) -> a :| b Source #

urlArity :: Int Source #