typelist.zy 263 B

12345678910111213
  1. // typelist should have some basic types in it
  2. (tl = (typelist))
  3. (found = false)
  4. (range k v tl
  5. (cond (== v "int64")
  6. (begin
  7. (set found true)
  8. (printf "found int64 at pos %v\n" k)
  9. (break))
  10. nil))
  11. (assert found)