daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Jan 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. show = { println it }
  2. square_root = { Math.sqrt(it) }
  3.  
  4. def please(action) {
  5.     [the: { what ->
  6.         [of:  { n-> action(what(n)) } ]
  7.     }]
  8. }
  9.  
  10. please show the square_root of 100
  11. //please(show).the(square_root).of(100)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top