Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 19th, 2018
67
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
class ImplicitContext
attr_accessor :i
end
def r(&blk)
Proc.new { |i|
ctxt = ImplicitContext.new
ctxt.i = i
ctxt.instance_eval(&blk)
}
end
p [1, 2, 3].map(&r { 2*i })
Add Comment
Please,
Sign In
to add comment
Public Pastes
getLootCrate.sqf
SQF | 24 min ago | 0.27 KB
border circle
HTML | 26 min ago | 1.90 KB
Untitled
Lua | 30 min ago | 0.24 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 32 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 49 min ago | 0.39 KB
step.ps1
PowerShell | 1 hour ago | 0.37 KB
Fetch info from PlayPilot
JavaScript | 2 hours ago | 2.07 KB
Untitled
JSON | 2 hours ago | 0.95 KB
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
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!