Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 210 Bytes

lambda-your-own-syntax.md

File metadata and controls

19 lines (12 loc) · 210 Bytes

Lambda your own syntax

# encoding UTF-8

module Kernel
  alias_method , :lambda
end

l = λ { p :called }
l.call

# Result:
# :called

View Source