Skip to content

Commit

Permalink
fixed materialize_vn/1
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Jan 2, 2025
1 parent cc688ed commit 755b6b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prolog/metta_lang/metta_printer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@
materialize_vns(Term):- term_variables(Term,List), maplist(materialize_vn,List).
materialize_vn(Var):- \+ attvar(Var),!.
materialize_vn(Var):- get_attr(Var,vn,NN),ignore((Var = '$VAR'(NN))),!.
materialize_vn(_).

%! write_src_woi(+Term) is det.
%
Expand Down

0 comments on commit 755b6b7

Please sign in to comment.