We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a68d1 commit f9389ceCopy full SHA for f9389ce
MODULE.md
@@ -85,7 +85,8 @@
85
86
### Types
87
88
- data Cofree f a
+ data Cofree f a where
89
+ Cofree :: a -> Trampoline (f (Cofree f a)) -> Cofree f a
90
91
92
### Type Class Instances
src/Control/Comonad/Cofree.purs
@@ -1,5 +1,5 @@
1
module Control.Comonad.Cofree
2
- ( Cofree()
+ ( Cofree(..) -- FIXME: Purescript error (can't infer kinds in externs unless constructor exported)
3
, mkCofree
4
, head
5
, tail
0 commit comments