require "patternmatching" include PatternMatching num = 100 result = make num do seems as {:n}, with {n < 10} do true end seems as {:n}, with {n >= 10} do false end end p result #=> false