diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 14:15:12 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-06 14:15:12 +0300 |
commit | 23b2028bdce46d02209fc2df70fc5468a8beffa8 (patch) | |
tree | 31e7a6fae6d5d01759a84334555f4cd1fa26a038 /src/type/display.rs | |
parent | 3d7ebeddc46e89c8e058b3f1805f836339a2f9ae (diff) | |
download | myslip-23b2028bdce46d02209fc2df70fc5468a8beffa8.tar.gz myslip-23b2028bdce46d02209fc2df70fc5468a8beffa8.zip |
Added boilerplate and tests for let-binds
Diffstat (limited to 'src/type/display.rs')
-rw-r--r-- | src/type/display.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/type/display.rs b/src/type/display.rs index 03f8f4b..fe54941 100644 --- a/src/type/display.rs +++ b/src/type/display.rs @@ -21,6 +21,7 @@ impl fmt::Display for Type { Boolean => write!(f, "{}", "Bool"), QuoteTy => write!(f, "{}", "Quote"), VecType => write!(f, "{}", "Vector"), + LetType => write!(f, "{}", "Let"), VecOf(ty) => write!(f, "({} ... {})", *ty, *ty), Arrow(a, b) => write!(f, "({} -> {})", a, b), List(types) => write!( |