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.
1 parent 5520466 commit f1bebcaCopy full SHA for f1bebca
src/Data/Options.purs
@@ -118,6 +118,8 @@ import Foreign.Object as Object
118
-- | API are not accidentally passed to some other API.
119
newtype Options opt = Options (Array (Tuple String Foreign))
120
121
+type role Options nominal
122
+
123
derive instance newtypeOptions :: Newtype (Options opt) _
124
derive newtype instance semigroupOptions ∷ Semigroup (Options opt)
125
derive newtype instance monoidOptions ∷ Monoid (Options opt)
0 commit comments