Commit Graph

4 Commits

Author SHA1 Message Date
efim 6dcca61283 cool about arrays and vectors
arrays have #'array-dimentions and #'array-rank (as a matrix)
and there's cool (row-major-aref my-arr index) for indexing array with
single index, going throug all elements

vectors have literal notation #(1 2 4 1),
they are one dimentional
have :element-type key in constructor, not quite sure how to use that

and we can try to #'coerce list to something else by providing symbol
for type, which we could get from (type-of my-vector)

also literal notation for byte vectors, cool #*110011001
2022-07-26 12:18:42 +00:00
efim ce9c7ac999 koans, lists
subsist not including right part
2022-07-25 07:45:38 +00:00
efim fd03924c10 learning koans
- refreshed understanding of lexical vs. dynamic binding
  https://gigamonkeys.com/book/variables.html
- was taught CASE as simpler variant of COND
2022-07-24 13:18:22 +00:00
efim 49c00c24ee pulled in lisp koans for solving
https://github.com/google/lisp-koans
2022-07-24 12:18:03 +00:00