diff options
author | Son Ho | 2023-08-31 16:56:26 +0200 |
---|---|---|
committer | Son Ho | 2023-08-31 16:56:26 +0200 |
commit | 33bb0b7dbdf5cce28b58793e5fb280668a644525 (patch) | |
tree | 673827d161034d02576a15c431e51187dd29b722 /compiler/Pure.ml | |
parent | 6f22190cba92a44b6c74bfcce8f5ed142a68e195 (diff) |
Finish updating SymbolicToPure.ml
Diffstat (limited to 'compiler/Pure.ml')
-rw-r--r-- | compiler/Pure.ml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler/Pure.ml b/compiler/Pure.ml index 147c14b9..272ec328 100644 --- a/compiler/Pure.ml +++ b/compiler/Pure.ml @@ -273,6 +273,8 @@ type ty = | TypeVar of type_var_id | Literal of literal_type | Arrow of ty * ty + | TraitType of trait_ref * generic_args * string + (** The string is for the name of the associated type *) and trait_ref = { trait_id : trait_instance_id; generics : generic_args } @@ -867,11 +869,10 @@ type fun_sig_info = { - etc. *) type fun_sig = { - type_params : type_var list; - const_generic_params : const_generic_var list; + generics : generic_params; (** TODO: we should analyse the signature to make the type parameters implicit whenever possible *) inputs : ty list; - (** The input types. + (** The types of the inputs. Note that those input types take into account the [fuel] parameter, if the function uses fuel for termination, and the [state] parameter, |