fix a warning

This commit is contained in:
rhiannon morris 2022-04-08 00:14:05 +02:00
parent e6d942ce1b
commit ce9d55becc

View file

@ -36,7 +36,7 @@ Uninhabited (OneOf []) where uninhabited x = uninhabited x.elem
export %inline export %inline
one : type `Elem` types => type -> OneOf types one : ty `Elem` types => ty -> OneOf types
one @{elem} value = One {elem, value} one @{elem} value = One {elem, value}
||| `All p types` computes a constraint for `p a` for each `a` in `types` ||| `All p types` computes a constraint for `p a` for each `a` in `types`