fromInteger for universe
This commit is contained in:
parent
41056559f2
commit
756bc5b9f3
1 changed files with 4 additions and 0 deletions
|
@ -21,3 +21,7 @@ export
|
||||||
PrettyHL Universe where
|
PrettyHL Universe where
|
||||||
prettyM UAny = pure $ hl Delim "_"
|
prettyM UAny = pure $ hl Delim "_"
|
||||||
prettyM (U l) = pure $ hl Free $ pretty l
|
prettyM (U l) = pure $ hl Free $ pretty l
|
||||||
|
|
||||||
|
export %inline
|
||||||
|
fromInteger : (x : Integer) -> (0 _ : So (x >= 0)) => Universe
|
||||||
|
fromInteger x = U $ fromInteger x
|
||||||
|
|
Loading…
Reference in a new issue