úÎ#LNN      !"#$%&'()*+,-./01 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M portable provisionalEdward Kmett <ekmett@gmail.com>portable provisionalEdward Kmett <ekmett@gmail.com>portable provisionalEdward Kmett <ekmett@gmail.com>     portable provisionalEdward Kmett <ekmett@gmail.com> portable provisionalEdward Kmett <ekmett@gmail.com>     portable provisionalEdward Kmett <ekmett@gmail.com>;Ideally we would offer a way to lift comonad homomorphisms  but this isn'4t Haskell 98, so we settle for the most common case  here. 8 liftTrans :: (forall a. w a -> v a) -> t w a -> t v a * cohoist = liftTrans (Identity . extract) portable provisionalEdward Kmett <ekmett@gmail.com>     portable provisionalEdward Kmett <ekmett@gmail.com> portable provisionalEdward Kmett <ekmett@gmail.com>  !"#$%&  !"#$%& !"#$%&  !"#$%&portable provisionalEdward Kmett <ekmett@gmail.com> '()*+,-./0 '()*+,-./0 )*+'(,-./0 '(()*+,-./0portable provisionalEdward Kmett <ekmett@gmail.com> '()*+,-./0 portable provisionalEdward Kmett <ekmett@gmail.com> 123456789: 123456789: 345126789: 1223456789: portable provisionalEdward Kmett <ekmett@gmail.com> ;<=>?@ABCD ;<=>?@ABCD >?@;<=ABCD ;<=<=>?@ABCD portable provisionalEdward Kmett <ekmett@gmail.com> EEThe f-branching stream comonad transformer is a comonadic version of  the "ListT done Right"> monad transformer. You can extract the underlying comonadic  value by using  or runStream FGHIsomorphic to the definition: ' data Stream f a = a :< f (Stream f a) I cons onto an f-branching stream J"uncons from an f-branching stream Kunfold a stream from a seed. LM EFGHIJKLM HIJKEFGLM EFGFGHIJKLMN !"#$ !"#$%%&'()*+,- % % & ' ( ) * + , - . . / 0 1 2 3 4 5 6 7 7 8 9 : ; < = >?comonad-transformers-0.4.1Control.Comonad.Trans.IdentityControl.Comonad.Trans.Class"Control.Comonad.Trans.Discont.Lazy$Control.Comonad.Trans.Discont.StrictControl.Comonad.Hoist.ClassControl.Comonad.Trans.Env.Lazy Control.Comonad.Trans.Env.Strict Control.Comonad.Trans.Store.Lazy"Control.Comonad.Trans.Store.StrictControl.Comonad.Trans.TracedControl.Comonad.Trans.StreamControl.Comonad.Trans.DiscontControl.Comonad.Trans.EnvControl.Comonad.Trans.Storetransformers-0.2.2.0Control.Monad.Trans.Identity runIdentityT IdentityT ComonadTranslowerDiscontTDiscontdiscont runDiscont runDiscontTcallCV ComonadHoistcohoistEnvTEnvenvrunEnvrunEnvTaskaskslocalStoreTStorestorerunStore runStoreTgetputmodify experimentTracedT runTracedTTracedtraced runTracedtracelistenlistenscensorStreamT runStreamTStreamstream runStreamunfoldstailsunfoldsW