Skip to content

Commit

Permalink
Typos...
Browse files Browse the repository at this point in the history
  • Loading branch information
skaller committed Jan 5, 2022
1 parent f569b94 commit dd59571
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/compiler/flx_core/flx_type_fun.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ print_endline ("Fixpoint adjust " ^ sbt bsym_table t);
*)
Flx_btype_rec.adjust_fixpoint t

let cal_isrecun bsym_table termlist t1 =
let cal_isrecfun calltag bsym_table termlist t1 t =
match t1 with
| BTYP_fix (j,mt) ->
(*
Expand Down Expand Up @@ -54,7 +54,6 @@ print_endline (sbt bsym_table (List.nth termlist (-2-j)));
false
end
| _ -> false
in


let type_apply br beta_reduce' calltag counter bsym_table sr termlist t t1 t2 =
Expand Down Expand Up @@ -92,7 +91,7 @@ print_endline ("Flx_beta: BTYP_type_apply\n " ^ Flx_btype.st t1 ^ "\nto\n " ^
(*
print_endline ("Attempting to beta-reduce type function application " ^ sbt bsym_table t);
*)
let isrecfun = cal_isrecfun bsym_table termlist t1 in
let isrecfun = cal_isrecfun calltag bsym_table termlist t1 t in
(*
print_endline ("Calculated isrecfun = " ^ if isrecfun then "true" else "false");
*)
Expand Down

0 comments on commit dd59571

Please sign in to comment.