functional.rb: change from % to / and limit partial apply