Dyalog / APLCourse

Dyalog APL self-study course
https://course.dyalog.com
8 stars 3 forks source link

Remove ∘ jot dfn global assignment exploit #54

Closed rikedyp closed 1 year ago

rikedyp commented 1 year ago

https://course.dyalog.com/Ufns/#name-scope-locals-and-globals

var∘←'lexical'⍵ is an exploit of an implementation edge condition, and not theoretically correct behaviour of dfns. Although people may use this, it should not be encouraged and certainly not demonstrated in an introductory text like this

mkromberg commented 1 year ago

Amen