Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
ocaml core List.sum
bvdeenen
May 4th, 2019
1,919
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
OCaml
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
#
require
"core"
;;
open
Core
;;
let
sum a
=
List
.
sum
(
module
Int
)
a
~f
:
ident
in
List
.
range
0
100
|>
List
.
map
~f
:
(
fun
x
->
x
*
x
)
|>
sum
;;
-
:
int
=
328350
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
⭐⭐Exchange Exploit⭐ 8
JavaScript | 7 sec ago | 0.27 KB
⭐ChangeNOW Exploit⭐⭐ 2
JavaScript | 14 sec ago | 0.27 KB
⭐⭐⭐Make $1500 in 20 minutes⭐⭐⭐
Java | 20 sec ago | 0.17 KB
⭐✅ MAKE $2500 IN 15 MIN J
JavaScript | 22 sec ago | 0.27 KB
⭐✅ Exploit 2500$ in 15 Minutes Z
JavaScript | 30 sec ago | 0.27 KB
⭐⭐⭐Exchange Exploit T I⭐⭐⭐
Java | 33 sec ago | 0.17 KB
Free Crypto Method (NEVER SEEN BEFORE)⭐ 7
JavaScript | 37 sec ago | 0.27 KB
⭐Swapzone Glitch ✅ Working⭐ 1
JavaScript | 44 sec ago | 0.27 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!