Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 5th, 2018
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
(defn square [x]
(* x x))
(defn it-fast-expt [b n]
(iter 1 b n))
(defn iter [a b n]
(cond (= n 0) a
(even? n) (iter a (square b) (/ n 2))
:else (iter (* a b) b (- n 1))))
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JSON | 1 hour ago | 45.87 KB
Amazon Product: 160GB MP3 Player with Bluetoo...
JSON | 2 hours ago | 9.16 KB
Untitled
JSON | 3 hours ago | 45.65 KB
Looks_Patchy.py
Python | 4 hours ago | 7.10 KB
Untitled
C++ | 5 hours ago | 1.08 KB
dom.rab
C | 5 hours ago | 0.53 KB
ToanBreak Violence District Killer Script
Lua | 5 hours ago | 8.64 KB
Polymorphism
Java | 5 hours ago | 3.83 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!