tink_lang
tink_lang copied to clipboard
Support KeyValueIterator properly
Currently for (key => val in target)
is treated in a way that doesn't leverage KeyValueIterator
, which sometimes is slower and sometimes doesn't even compile.
I do <for ${idx => item in chordsInScale}>
but I get this error:
It looked like it is supported, but there's something wrong with it. Then I found this issue.
older versions of coconut that use tink_lang by default do not allow for (k=>v in map)
syntax in models because of that.