Hacker News new | ask | show | jobs
by tonyg 1891 days ago
You are mistaken. This is exactly continuation passing style. The two arguments `if-found` and `if-not-found` are continuations of `lookup`. Note that their invocations are in tail position within lookup.