Skip to content

Commit 5e47f8c

Browse files
committed
Upd: clean
1 parent 31a96fc commit 5e47f8c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Data/Schematic/Validation.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ validateJsonRepr sschema dpath jr = case jr of
154154
ReprUnion ru -> case sschema of
155155
SSchemaUnion su -> validateUnion su ru
156156
where
157-
validateUnion
158-
:: forall (us :: [Schema])
159-
. Sing us -> Union JsonRepr us -> Validation ()
157+
validateUnion :: Sing us -> Union JsonRepr us -> Validation ()
160158
validateUnion ss r = case (ss,r) of
161159
(SCons (s :: Sing su) _, This v) -> validateJsonRepr s dpath v
162160
(SCons _ stl, That r') -> validateUnion stl r'

0 commit comments

Comments
 (0)