Skip to content

Commit

Permalink
\!(get-type 'a') --> Char
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSPoon committed Sep 1, 2024
1 parent 88fc206 commit 7ffac27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/canary/metta_types.pl
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@
get_type_cmpd(_Dpth,_Slf,Val,Type,dict):- is_dict(Val,Type),!,
get_dict_type(Val,Type,TypeO).

get_type_cmpd(_Dpth,_Slf,'#\\'(_),'Char',functgor):- !.

% Curried Op
get_type_cmpd(Depth,Self,[[Op|Args]|Arg],Type,curried(W)):-
symbol(Op),
Expand Down

0 comments on commit 7ffac27

Please sign in to comment.