Note: Deprecated Pilog Database Predicates in today's #PicoLisp release!
https://www.mail-archive.com/picolisp@software-lab.de/msg11670.html
Note: Deprecated Pilog Database Predicates in today's #PicoLisp release!
https://www.mail-archive.com/picolisp@software-lab.de/msg11670.html
@screwtape In #PicoLisp it is either
('((X) (list (lit X) (lit X))) '((X) (list (lit X) (lit X))))
or
(let X '(list 'let 'X (lit X) X) (list 'let 'X (lit X) X))
@symbolics @weekend_editor @rzeta0 In #PicoLisp probably the shortest way is with 'cnt':
: (cnt t '(a b c d))
-> 4
('t' is a function which always returns 'T')