@@ -50,10 +50,10 @@ foreign import data Variant ∷ Row Type → Type
5050-- | intAtFoo = inj (Proxy :: Proxy "foo") 42
5151-- | ```
5252inj
53- ∷ ∀ proxy sym a r1 r2
53+ ∷ ∀ sym a r1 r2
5454 . R.Cons sym a r1 r2
5555 ⇒ IsSymbol sym
56- ⇒ proxy sym
56+ ⇒ Proxy sym
5757 → a
5858 → Variant r2
5959inj p value = coerceV $ VariantRep { type: reflectSymbol p, value }
@@ -68,11 +68,11 @@ inj p value = coerceV $ VariantRep { type: reflectSymbol p, value }
6868-- | Nothing -> 0
6969-- | ```
7070prj
71- ∷ ∀ proxy sym a r1 r2 f
71+ ∷ ∀ sym a r1 r2 f
7272 . R.Cons sym a r1 r2
7373 ⇒ IsSymbol sym
7474 ⇒ Alternative f
75- ⇒ proxy sym
75+ ⇒ Proxy sym
7676 → Variant r2
7777 → f a
7878prj p = on p pure (const empty)
@@ -81,10 +81,10 @@ prj p = on p pure (const empty)
8181-- | The failure branch receives the provided variant, but with the label
8282-- | removed.
8383on
84- ∷ ∀ proxy sym a b r1 r2
84+ ∷ ∀ sym a b r1 r2
8585 . R.Cons sym a r1 r2
8686 ⇒ IsSymbol sym
87- ⇒ proxy sym
87+ ⇒ Proxy sym
8888 → (a → b )
8989 → (Variant r1 → b )
9090 → Variant r2
@@ -337,10 +337,10 @@ contract v =
337337 coerceR = unsafeCoerce
338338
339339type Unvariant' r x =
340- ∀ proxy s t o
340+ ∀ s t o
341341 . IsSymbol s
342342 ⇒ R.Cons s t o r
343- ⇒ proxy s
343+ ⇒ Proxy s
344344 → t
345345 → x
346346
@@ -360,11 +360,11 @@ unvariant v = case (unsafeCoerce v ∷ VariantRep Unit) of
360360 coerce f { reflectSymbol: const o.type } {} Proxy o.value
361361 where
362362 coerce
363- ∷ ∀ proxy x
363+ ∷ ∀ x
364364 . Unvariant' r x
365- → { reflectSymbol ∷ proxy " " → String }
365+ → { reflectSymbol ∷ Proxy " " → String }
366366 → { }
367- → proxy " "
367+ → Proxy " "
368368 → Unit
369369 → x
370370 coerce = unsafeCoerce
@@ -375,7 +375,7 @@ revariant (Unvariant f) = f inj
375375
376376class VariantEqs :: RL.RowList Type -> Constraint
377377class VariantEqs rl where
378- variantEqs ∷ forall proxy . proxy rl → L.List (VariantCase → VariantCase → Boolean )
378+ variantEqs ∷ Proxy rl → L.List (VariantCase → VariantCase → Boolean )
379379
380380instance eqVariantNil ∷ VariantEqs RL.Nil where
381381 variantEqs _ = L.Nil
@@ -399,7 +399,7 @@ instance eqVariant ∷ (RL.RowToList r rl, VariantTags rl, VariantEqs rl) ⇒ Eq
399399
400400class VariantBounded :: RL.RowList Type -> Constraint
401401class VariantBounded rl where
402- variantBounded ∷ forall proxy . proxy rl → L.List (BoundedDict VariantCase )
402+ variantBounded ∷ Proxy rl → L.List (BoundedDict VariantCase )
403403
404404instance boundedVariantNil ∷ VariantBounded RL.Nil where
405405 variantBounded _ = L.Nil
@@ -435,7 +435,7 @@ instance boundedVariant ∷ (RL.RowToList r rl, VariantTags rl, VariantEqs rl, V
435435
436436class VariantBoundedEnums :: RL.RowList Type -> Constraint
437437class VariantBounded rl ⇐ VariantBoundedEnums rl where
438- variantBoundedEnums ∷ forall proxy . proxy rl → L.List (BoundedEnumDict VariantCase )
438+ variantBoundedEnums ∷ Proxy rl → L.List (BoundedEnumDict VariantCase )
439439
440440instance enumVariantNil ∷ VariantBoundedEnums RL.Nil where
441441 variantBoundedEnums _ = L.Nil
@@ -507,7 +507,7 @@ instance boundedEnumVariant ∷ (RL.RowToList r rl, VariantTags rl, VariantEqs r
507507
508508class VariantOrds :: RL.RowList Type -> Constraint
509509class VariantOrds rl where
510- variantOrds ∷ forall proxy . proxy rl → L.List (VariantCase → VariantCase → Ordering )
510+ variantOrds ∷ Proxy rl → L.List (VariantCase → VariantCase → Ordering )
511511
512512instance ordVariantNil ∷ VariantOrds RL.Nil where
513513 variantOrds _ = L.Nil
@@ -531,7 +531,7 @@ instance ordVariant ∷ (RL.RowToList r rl, VariantTags rl, VariantEqs rl, Varia
531531
532532class VariantShows :: RL.RowList Type -> Constraint
533533class VariantShows rl where
534- variantShows ∷ forall proxy . proxy rl → L.List (VariantCase → String )
534+ variantShows ∷ Proxy rl → L.List (VariantCase → String )
535535
536536instance showVariantNil ∷ VariantShows RL.Nil where
537537 variantShows _ = L.Nil
0 commit comments