procs/lambda_chained_comparison_parens.rb
tests/_examples/procs/lambda_chained_comparison_parens.rb in the metorex repository.
result = -> { 5 }.call == 5
p(result)
p(-> (value) { value * 2 }.call(3) == 6)
p(-> { :sym }.call == :sym)
p((-> { 1 }.call + 1) == 2)
Output:
true
true
true
true