Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 443 Bytes

README.org

File metadata and controls

30 lines (18 loc) · 443 Bytes

arc-compat

Arc compatible package for CL


Licence: Perl Foundations’s Artistic License 2.0.


Example:

(in-package :arc-user)
(named-readtables:in-readtable :arc)


(map [car cdr._] '((1 2) (1 2) (1 2) (1 2) (1 2)))
;=>  (2 2 2 2 2)


(map #'list:car:cdr '((1 2) (1 2) (1 2) (1 2) (1 2)))
;=>  ((2) (2) (2) (2) (2))


(accum acc
  (each e (range 0 10)
    (when odd.e acc.e)))
;=>  (1 3 5 7 9)