Skip to content

Commit fe20985

Browse files
committed
Don't export Unit data constructor
1 parent e754d69 commit fe20985

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Prelude.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
``` purescript
66
newtype Unit
7-
= Unit { }
87
```
98

109
##### Instances
@@ -978,3 +977,4 @@ string `show x` be executable PureScript code which evaluates to the same
978977
value as the expression `x`.
979978

980979

980+

src/Prelude.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Prelude
2-
( Unit(..), unit
2+
( Unit(), unit
33
, ($), (#)
44
, flip
55
, const

0 commit comments

Comments
 (0)