First class environments: Difference between revisions
Content added Content deleted
(New post.) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 2,281: | Line 2,281: | ||
So that's what we use here. However, to create a dynamic class you have to wrap it in a function which then returns a reference to the class object. |
So that's what we use here. However, to create a dynamic class you have to wrap it in a function which then returns a reference to the class object. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./fmt" for Fmt |
||
var environment = Fn.new { |
var environment = Fn.new { |