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.
2 parents 4b7db09 + 581ffcf commit 2af0f48Copy full SHA for 2af0f48
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