Hi Alex, range/3 seems to work as I expected. Should it not be used here?
(be age (Paul 19) ) (be age (Kate 17) ) (be underage (@X) (age @X @Y) (range (0 . 18) @Y)) (? (underage @X) ) @X=Kate On Sat, Nov 12, 2016 at 10:44 AM, Alexander Burger <a...@software-lab.de> wrote: > Hi Joe, > >> Untested, but what about using range/3 ? >> http://software-lab.de/doc/refR.html#range/3 > > Thanks! However, range/3 is probably not useful here. It is a rather > specialized predicate for range checks in database queries. > > ♪♫ Alex > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe