https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: 0e21c1db877c1e7cb601aa079331d47076b47d30 authored by jeremycowles on 26 April 2009, 01:16:52 UTC
Added more test for standard OOP features.
Tip revision: 0e21c1d
map.se
;;; -*- logo -*-

to map.se :map.se.template [:template.lists] 2
op map.se1 :template.lists 1
end

to map.se1 :template.lists :template.number
if emptyp first :template.lists [output []]
output sentence (apply :map.se.template firsts :template.lists) ~
                (map.se1 bfs :template.lists :template.number+1)
end

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

bury [map.se map.se1 ?rest]
back to top