Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak tailrecLib to allow function terms that are composite
Old behaviour required the fn_t to be a single atomic term (variable or constant), which allows the code looking for fn_t to call strip_comb. But if fn_t is a composite (like ``f x`` for an unvarying argument ``x``, then that approach breaks.
- Loading branch information
Showing
1 changed file
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters