shriram / smol

The SMoL (Standard Model of Languages) Family of Languages
15 stars 3 forks source link

rename `vset!` and `vref` to `vec-set!` and `vec-ref` #19

Closed LuKuangChen closed 2 years ago

LuKuangChen commented 2 years ago

I and Shriram have agreed that vset! looks too similar to set!. Given that smol construct vectors with either ivec or mvec, there are three obvious solutions:

a. rename to vec! or mvec! b. rename to vector-set! (the name in Racket) c. rename to vec-set!

We ended up choosing the solution c.