File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based
6
6
7
7
Breaking changes:
8
8
- Migrated FFI to ES Modules (#287 by @kl0tl and @JordanMartinez )
9
+ - Change Generic Rep's ` NoConstructors ` to newtype ` Void ` (#282 by @JordanMartinez )
9
10
10
11
New features:
11
12
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ module Data.Generic.Rep
14
14
import Data.Semigroup ((<>))
15
15
import Data.Show (class Show , show )
16
16
import Data.Symbol (class IsSymbol , reflectSymbol )
17
+ import Data.Void (Void )
17
18
import Type.Proxy (Proxy (..))
18
19
19
20
-- | A representation for types with no constructors.
20
- data NoConstructors
21
+ newtype NoConstructors = NoConstructors Void
21
22
22
23
-- | A representation for constructors with no arguments.
23
24
data NoArguments = NoArguments
You can’t perform that action at this time.
0 commit comments