fp-ts-std
fp-ts-std copied to clipboard
Triple module
Like Tuple.
With fp-ts' typeclass encoding there are special "constrained" variants of typeclasses to support multiple type arguments, such as Apply2C
, which is used by for example Tuple
. Note that this doesn't appear to be needed for typeclasses like Either
where applicative lifting for example only needs to know the Right
type.
Unfortunately this doesn't scale to three type arguments, which is what a Triple
module/type needs. We may need to wait for a new, better 3.x encoding.