Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- show = { println it }
- square_root = { Math.sqrt(it) }
- def please(action) {
- [the: { what ->
- [of: { n-> action(what(n)) } ]
- }]
- }
- please show the square_root of 100
- //please(show).the(square_root).of(100)
Add Comment
Please, Sign In to add comment