Skip to content

Commit

Permalink
whd1: let's play safe
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Oct 8, 2019
1 parent 29d50ad commit 01c78b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/reduction.elpi
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ whd-indc A GR KA :- whd A [] VA C, !, VA = global (indc GR), KA = C.
whd1 T R :-
whd T [] HD ARGS,
unwind HD ARGS R,
not(T = R).
not(same_term T R).

% iota step
pred match-red i:@constructor, i:list term, i:list term, i:@stack, o:term, o:@stack.
Expand Down

0 comments on commit 01c78b1

Please sign in to comment.