Handle (recursive) generic types during reification.

Also moved a bunch of functions from code-gen back into _tipo_, as
  they're better suited and generic enough to be reused elsewhere.
This commit is contained in:
KtorZ
2024-03-07 18:06:36 +01:00
parent a3fbe6c155
commit 23a22a65cb
8 changed files with 730 additions and 516 deletions

View File

@@ -3,8 +3,8 @@ use aiken_lang::{
builtins::bool,
expr::{TypedExpr, UntypedExpr},
format::Formatter,
gen_uplc::{builder::convert_opaque_type, CodeGenerator},
tipo::Type,
gen_uplc::CodeGenerator,
tipo::{convert_opaque_type, Type},
};
use cryptoxide::{blake2b::Blake2b, digest::Digest};
use indexmap::IndexMap;