Constructs a function application `f a`.
(f: Expr, a: Expr)
| 869 | let mut hasher = blake3::Hasher::new(); |
| 870 | hasher.update(&[ESORT]); |
| 871 | hasher.update(x.get_hash().as_bytes()); |
| 872 | Expr(Arc::new(ExprData::Sort(x, hasher.finalize()))) |
| 873 | } |
| 874 | |
| 875 | /// Constructs a constant reference with universe level arguments. |
| 876 | pub fn cnst(x: Name, us: Vec<Level>) -> Self { |
| 877 | let mut hasher = blake3::Hasher::new(); |
| 878 | hasher.update(&[EREF]); |
| 879 | hasher.update(x.get_hash().as_bytes()); |
| 880 | for u in &us { |