fix a warning

This commit is contained in:
rhiannon morris 2022-04-08 00:14:05 +02:00
parent e6d942ce1b
commit ce9d55becc
1 changed files with 1 additions and 1 deletions

View File

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