File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 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
66
77Breaking changes:
88- Migrated FFI to ES Modules (#287 by @kl0tl and @JordanMartinez )
9+ - Change Generic Rep's ` NoConstructors ` to newtype ` Void ` (#282 by @JordanMartinez )
910
1011New features:
1112
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ module Data.Generic.Rep
1414import Data.Semigroup ((<>))
1515import Data.Show (class Show , show )
1616import Data.Symbol (class IsSymbol , reflectSymbol )
17+ import Data.Void (Void )
1718import Type.Proxy (Proxy (..))
1819
1920-- | A representation for types with no constructors.
20- data NoConstructors
21+ newtype NoConstructors = NoConstructors Void
2122
2223-- | A representation for constructors with no arguments.
2324data NoArguments = NoArguments
You can’t perform that action at this time.
0 commit comments