Skip to content

Commit 1758649

Browse files
committed
Merge pull request #15 from purescript-contrib/cofree-export-fixed
Don't export Cofree constructor
2 parents ab72047 + b584a88 commit 1758649

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

MODULE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@
8585

8686
### Types
8787

88-
data Cofree f a where
89-
Cofree :: a -> Trampoline (f (Cofree f a)) -> Cofree f a
88+
data Cofree f a
9089

9190

9291
### Type Class Instances

src/Control/Comonad/Cofree.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Control.Comonad.Cofree
2-
( Cofree(..) -- FIXME: Purescript error (can't infer kinds in externs unless constructor exported)
2+
( Cofree()
33
, mkCofree
44
, head
55
, tail

0 commit comments

Comments
 (0)