flix

0.54.0

Identity

enum Identity[a: Type] with Eq, Order, ToString, Hash, SendableSource
case Identity(a)

The Identity Functor / Monad.

Instances

instance Add[Identity[a]] with Add[a]Source
instance Applicative[Identity]Source
instance Div[Identity[a]] with Div[a]Source
instance Eq[Identity[a]] with Eq[a]Source
instance Foldable[Identity]Source
instance Functor[Identity]Source
instance Hash[Identity[a]] with Hash[a]Source
instance Monad[Identity]Source
instance MonadZip[Identity]Source
instance Monoid[Identity[a]] with Monoid[a]Source
instance Mul[Identity[a]] with Mul[a]Source
instance Neg[Identity[a]] with Neg[a]Source
instance Order[Identity[a]] with Order[a]Source
instance SemiGroup[Identity[a]] with SemiGroup[a]Source
instance Sendable[Identity[a]] with Sendable[a]Source
instance Sub[Identity[a]] with Sub[a]Source
instance ToString[Identity[a]] with ToString[a]Source
instance Traversable[Identity]Source
instance UnorderedFoldable[Identity]Source