Skip to content

Commit

Permalink
Use conditional-p rather than duplicating the check directly
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehavensift committed Aug 24, 2023
1 parent 62b2ed7 commit a61ba7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shop3/explicit-stack-search/explicit-search.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ List of analogical-replay tables -- optional
(setf (mode state) 'expand-primitive-task))
((eql (get-task-name task) :loop)
(setf (mode state) 'unfold-looping-task))
((member (get-task-name task) '(:if :when :unless))
((conditional-p (get-task-name task))
(setf (mode state) 'expand-conditional-task))
(t ; original nonprimitive:
(setf (mode state) 'prepare-to-choose-method)))))
Expand Down

0 comments on commit a61ba7a

Please sign in to comment.