Constructs a lambda abstraction `fun (n : t) => b`.
(n: Name, t: Expr, b: Expr, bi: BinderInfo)
| 878 | hasher.update(&[EREF]); |
| 879 | hasher.update(x.get_hash().as_bytes()); |
| 880 | for u in &us { |
| 881 | hasher.update(u.get_hash().as_bytes()); |
| 882 | } |
| 883 | Expr(Arc::new(ExprData::Const(x, us, hasher.finalize()))) |
| 884 | } |
| 885 | |
| 886 | /// Constructs a function application `f a`. |
| 887 | pub fn app(f: Expr, a: Expr) -> Self { |
| 888 | let mut hasher = blake3::Hasher::new(); |
| 889 | hasher.update(&[EAPP]); |
| 890 | hasher.update(f.get_hash().as_bytes()); |
| 891 | hasher.update(a.get_hash().as_bytes()); |
nothing calls this directly
no test coverage detected