cons 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cons.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 436404b757bc989dcd98b232d0e576639e44d238
|
4
|
+
data.tar.gz: 8a19911a5e407f897b9c5140c6e0d7e6c6d6996f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dadb9b7add82c03170b927745bf7c17f95c99b5ff51c14d42a463b0533352a3954133426bd298d910176b7f2e4079ed78d8577f62bae2965cfa646e8d8d88877
|
7
|
+
data.tar.gz: ba76531625fa39927c7e3f8f5b4dfa1ecfab7d3b040716db6f6fa8c76b100ad7756dedcea2604968e5dd2ae2c9dcdef744db642ec5faad5bfb819669291f01b8
|
data/lib/cons.rb
CHANGED
@@ -68,6 +68,9 @@ class Cons
|
|
68
68
|
result
|
69
69
|
end
|
70
70
|
|
71
|
+
# Cf. <http://clhs.lisp.se/Body/f_list_l.htm>
|
72
|
+
alias list_length length
|
73
|
+
|
71
74
|
alias first car
|
72
75
|
alias first= car=
|
73
76
|
alias rplaca car=
|
@@ -310,7 +313,6 @@ class Cons
|
|
310
313
|
# TODO - endp - http://clhs.lisp.se/Body/f_endp.htm
|
311
314
|
# TODO - ldiff, tailp - http://clhs.lisp.se/Body/f_ldiffc.htm
|
312
315
|
# TODO - list* - http://clhs.lisp.se/Body/f_list_.htm
|
313
|
-
# TODO - list-length - http://clhs.lisp.se/Body/f_list_l.htm
|
314
316
|
# TODO - member, member-if, member-if-not - http://clhs.lisp.se/Body/f_mem_m.htm
|
315
317
|
# TODO - nconc - http://clhs.lisp.se/Body/f_nconc.htm
|
316
318
|
# TODO - revappend, nreconc - http://clhs.lisp.se/Body/f_revapp.htm
|