class Closure

Defined in:

closure.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, function_def : VM, scope : Scope, arg_names : Array(String)) #

[View source]

Instance Method Detail

def call(arg_values : Array(ValidType)) : ValidType #

Call the closure and return the result


[View source]
def scope : Scope #

[View source]