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) )
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 ?
> Thanks! However, range/3 is probably not useful here. It is a rather
> specialized predicate for range checks in database queries.
> ♪♫ Alex
> UNSUBSCRIBE: mailto:email@example.com?subject=Unsubscribe