Recently Written · git

len-cmp

Efficient comparsion of length in lists.

git clone https://github.com/equwal/len-cmp

Log | Files | Refs


commit f0c5548cd6f248e9834050a525b2875317a16005
Spenser Truex <spensertruexonline@gmail.com>
2019-08-25 12:34:03 -0300

What is this?

 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..17ab644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,9 @@
+# Usage
+The only external function is `len`. 
+
+```common-lisp
+(len <integer or list> <list> &optional (<predicate> #'=))
+(len 3 '(1 2 3)) ;=> T
+(len '(a b c) '(1 2 3)) ;=> T
+(len 3 '(1 2 3) #'/=) ;=> NIL
+```