Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

Iterator optimizers can provide type information for public bindings

Choose a tag to compare

@tfeb tfeb released this 24 Apr 11:41
· 8 commits to main since this release
v5.0.0

Iterator optimizers are now allowed to provide type information for public bindings. For instance

(for ((i (in-naturals :bound 10 :fixnum t)))
  ...)

will, normally, implicitly declare i to be of type fixnum. This can be disabled if you really must assign values to iterator variables which are of other types.

The only standard iterator optimizer which actually does this is in-naturals at the moment.