Sha256: ae39bd11ebef28f8f3ee0a4323d643256ae5291219e38bc8f94228565ce3e75a
Contents?: true
Size: 484 Bytes
Versions: 19
Compression:
Stored size: 484 Bytes
Contents
module Finitio module Syntax module Expr module OOCall include Expr capture :left def to_proc_source l = left.to_proc_source r = captures[:right] .map{|s| "fetch(:#{s.to_proc_source})" } .join('.') "#{l}.#{r}" end def _free_variables(fvs) left._free_variables(fvs) end end # module OOCall end # module Expr end # module Syntax end # module Finitio
Version data entries
19 entries across 19 versions & 1 rubygems