RelativeComonad.make | ⦃ T | ≔ STREAM | |
; counit | ≔ λ X ∙ 𝒉𝒆𝒂𝒅 | ||
; cobind | ≔ λ X Y ∙ λ f ↦ Setoids.Morphism.make (cosubst f) ⦄. |
Notation T | ≔ (Stream.T Tr). | |
Notation "'T⋅tail'" | ≔ (Stream.tail Tr _). | |
Notation "'T⋅tail[' A ]" | ≔ (Stream.tail Tr A) (only parsing). | |
Notation STR | ≔ (Stream.T 𝑺𝑻𝑹). | |
Notation "'STR⋅tail'" | ≔ (Stream.tail 𝑺𝑻𝑹 _). | |
Notation "'STR⋅tail[' A ]" | ≔ (Stream.tail 𝑺𝑻𝑹 A) (only parsing). |