Data.IFunctor.ICofree
data ICofree f a ix Source #
Cofree IComonad
Constructors
Defined in Data.IFunctor.ICofree
Methods
imap :: forall (a :: k0 -> Type) (b :: k0 -> Type). (a ~~> b) -> ICofree f a ~~> ICofree f b Source #
icompare :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => a ix -> a ix -> Ordering) -> ICofree f a ix -> ICofree f a ix -> Ordering Source #
ieq :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => a ix -> a ix -> Bool) -> ICofree f a ix -> ICofree f a ix -> Bool Source #
ireadPrec :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => ReadPrec (a ix)) -> ReadPrec (ICofree f a ix) Source #
ireadsPrec :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => Int -> ReadS (a ix)) -> Int -> ReadS (ICofree f a ix) Source #
ishowsPrec :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => Int -> a ix -> ShowS) -> Int -> ICofree f a ix -> ShowS Source #
ishow :: forall (ix :: k0) a. SingI ix => (forall (ix :: k1). SingI ix => Int -> a ix -> ShowS) -> ICofree f a ix -> String Source #
itraverse :: forall m (ix :: k0) a b. (Applicative m, SingI ix) => (forall (ix :: k1). SingI ix => a ix -> m (b ix)) -> ICofree f a ix -> m (ICofree f b ix) Source #
iextract :: forall (a :: k0 -> Type). ICofree f a ~~> a Source #
iduplicate :: forall (a :: k0 -> Type). ICofree f a ~~> ICofree f (ICofree f a) Source #
iextend :: forall (a :: k0 -> Type) (b :: k0 -> Type). (ICofree f a ~~> b) -> ICofree f a ~~> ICofree f b Source #
Associated Types
type Rep1 (ICofree f a) :: k -> Type #
from1 :: forall (a0 :: k0). ICofree f a a0 -> Rep1 (ICofree f a) a0 #
to1 :: forall (a0 :: k0). Rep1 (ICofree f a) a0 -> ICofree f a a0 #
(==) :: ICofree f a ix -> ICofree f a ix -> Bool #
(/=) :: ICofree f a ix -> ICofree f a ix -> Bool #
compare :: ICofree f a ix -> ICofree f a ix -> Ordering #
(<) :: ICofree f a ix -> ICofree f a ix -> Bool #
(<=) :: ICofree f a ix -> ICofree f a ix -> Bool #
(>) :: ICofree f a ix -> ICofree f a ix -> Bool #
(>=) :: ICofree f a ix -> ICofree f a ix -> Bool #
max :: ICofree f a ix -> ICofree f a ix -> ICofree f a ix #
min :: ICofree f a ix -> ICofree f a ix -> ICofree f a ix #
readsPrec :: Int -> ReadS (ICofree f a ix) #
readList :: ReadS [ICofree f a ix] #
readPrec :: ReadPrec (ICofree f a ix) #
readListPrec :: ReadPrec [ICofree f a ix] #
showsPrec :: Int -> ICofree f a ix -> ShowS #
show :: ICofree f a ix -> String #
showList :: [ICofree f a ix] -> ShowS #
type Rep (ICofree f a ix) :: Type -> Type #
from :: ICofree f a ix -> Rep (ICofree f a ix) x #
to :: Rep (ICofree f a ix) x -> ICofree f a ix #