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 31a96fc commit 5e47f8cCopy full SHA for 5e47f8c
src/Data/Schematic/Validation.hs
@@ -154,9 +154,7 @@ validateJsonRepr sschema dpath jr = case jr of
154
ReprUnion ru -> case sschema of
155
SSchemaUnion su -> validateUnion su ru
156
where
157
- validateUnion
158
- :: forall (us :: [Schema])
159
- . Sing us -> Union JsonRepr us -> Validation ()
+ validateUnion :: Sing us -> Union JsonRepr us -> Validation ()
160
validateUnion ss r = case (ss,r) of
161
(SCons (s :: Sing su) _, This v) -> validateJsonRepr s dpath v
162
(SCons _ stl, That r') -> validateUnion stl r'
0 commit comments