g000001 / arc-compat

Arc compatible package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Arc compatible package


Languages

Language:Common Lisp 94.3%Language:NewLisp 5.7%