diff --git a/lang/dynamics/src/link.rs b/lang/dynamics/src/link.rs index e4df4bad..cc8f0dba 100644 --- a/lang/dynamics/src/link.rs +++ b/lang/dynamics/src/link.rs @@ -170,7 +170,7 @@ impl Link for ss::CompuId { let body = body.link(statics); body.as_ref().to_owned() } - | Compu::Rec(Fix(param, body)) => { + | Compu::Fix(Fix(param, body)) => { let param = param.link(statics); let body = body.link(statics); Fix(param, body).into() diff --git a/lang/statics/src/fmt.rs b/lang/statics/src/fmt.rs index 16937710..3d62f9bc 100644 --- a/lang/statics/src/fmt.rs +++ b/lang/statics/src/fmt.rs @@ -119,7 +119,7 @@ impl Ugly for CompuId { | Compu::VApp(compu) => compu.ugly(f), | Compu::TAbs(compu) => compu.ugly(f), | Compu::TApp(compu) => compu.ugly(f), - | Compu::Rec(compu) => compu.ugly(f), + | Compu::Fix(compu) => compu.ugly(f), | Compu::Force(compu) => compu.ugly(f), | Compu::Ret(compu) => compu.ugly(f), | Compu::Do(compu) => compu.ugly(f), diff --git a/lang/statics/src/lift.rs b/lang/statics/src/lift.rs index 8a15ed54..25e0a3d3 100644 --- a/lang/statics/src/lift.rs +++ b/lang/statics/src/lift.rs @@ -869,7 +869,7 @@ impl SEnv { } } } - | Compu::Rec(compu) => { + | Compu::Fix(compu) => { let Fix(vpat, compu) = compu; let vpat_ = self.mk(vpat).lift(tycker, (mo, mo_ty), algs.to_owned())?; let compu_ = self.mk(compu).lift(tycker, (mo, mo_ty), algs)?; diff --git a/lang/statics/src/syntax.rs b/lang/statics/src/syntax.rs index 76647626..c660a8f6 100644 --- a/lang/statics/src/syntax.rs +++ b/lang/statics/src/syntax.rs @@ -439,7 +439,7 @@ pub enum Computation { VApp(App), TAbs(Abs), TApp(App), - Rec(Fix), + Fix(Fix), Force(Force), Ret(Ret), Do(Bind), diff --git a/lang/surface/src/bitter/desugar.rs b/lang/surface/src/bitter/desugar.rs index a6d47262..ded0a68c 100644 --- a/lang/surface/src/bitter/desugar.rs +++ b/lang/surface/src/bitter/desugar.rs @@ -449,7 +449,7 @@ impl Desugar for t::TermId { // body & thunk -> app Alloc::alloc(desugarer, b::App(body, thunk).into(), self.into()) } - | Tm::Rec(term) => { + | Tm::Fix(term) => { let t::Fix(pat, term) = term; let pat = pat.desugar(desugarer)?; let term = term.desugar(desugarer)?; diff --git a/lang/surface/src/textual/syntax.rs b/lang/surface/src/textual/syntax.rs index 63c4b9d9..26b478e7 100644 --- a/lang/surface/src/textual/syntax.rs +++ b/lang/surface/src/textual/syntax.rs @@ -218,7 +218,7 @@ pub enum Term { Abs(Abs), App(Appli), KontCall(KontCall), - Rec(Fix), + Fix(Fix), Pi(Pi), Forall(Forall), Arrow(Arrow), diff --git a/lang/surface/src/textual/ugly.rs b/lang/surface/src/textual/ugly.rs index d009fc15..00e2fca4 100644 --- a/lang/surface/src/textual/ugly.rs +++ b/lang/surface/src/textual/ugly.rs @@ -96,7 +96,7 @@ impl Ugly for TermId { | Term::Abs(t) => s += &t.ugly(f), | Term::App(t) => s += &t.ugly(f), | Term::KontCall(t) => s += &t.ugly(f), - | Term::Rec(t) => s += &t.ugly(f), + | Term::Fix(t) => s += &t.ugly(f), | Term::Pi(t) => s += &t.ugly(f), | Term::Arrow(t) => s += &t.ugly(f), | Term::Forall(t) => s += &t.ugly(f),