Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Sep 27th, 2013
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
(def the-answer
(fn [& fns]
(fn [& args]
(let [reversed-fns (reverse fns)]
(reduce (fn [value f] (f value))
(apply (first reversed-fns) args)
(rest reversed-fns))))))
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Energy limiter
4 hours ago | 0.34 KB
GEOMETRY SW
8 hours ago | 1.85 KB
emacs
Lisp | 12 hours ago | 0.69 KB
Obsbot
21 hours ago | 2.51 KB
brain.roblox
1 day ago | 14.59 KB
Untitled
2 days ago | 26.41 KB
Untitled
2 days ago | 14.72 KB
Novagente CLS container
2 days ago | 0.89 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!