https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: b2685caa788579e22d7176d3d3678494be54a404 authored by Joshua J. Cogliati on 21 December 2019, 04:06:10 UTC
Check for messages in executable directory.
Tip revision: b2685ca
filter
;;; -*- logo -*-

to filter :filter.template :template.list [:template.number 1] ~
          [:template.lists (list :template.list)]
if emptyp :template.list [op :template.list]
if apply :filter.template (list first :template.list) ~
   [op combine (first :template.list) ~
               (filter :filter.template bf :template.list :template.number+1)]
op (filter :filter.template bf :template.list :template.number+1)
end

to ?rest [:which 1]
output bf item :which :template.lists
end

bury [filter ?rest]
back to top