at-depth assumes s builds a leaf node
Submitted by Tobi Vollebregt on 27 October 2011 at 15:44
at-depth(depth, s)
doesn’t work when the strategy s does not rewrite the current term to a leaf node
Issue Log
On 1 November 2011 at 15:57 Tobi Vollebregt commented:
Here is a working at-depth:
at-depth’(s) =
?(0, ) < s + ?(d, ); all(<at-depth’(s)> ( d, ))at-depth(s | depth) =
!(depth, );
at-depth’(s)override at-depth(depth, s) =
at-depth(s | )
Log in to post comments