len.zy 111 B

123456
  1. // list len
  2. (def a %(a b c d))
  3. (assert (== (len a) 4))
  4. (assert (== (len ()) 0))
  5. (assert (== (len (rest a)) 3))