Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 23rd, 2013
45
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Haskell
0.11 KB
| None
|
0
0
raw
download
clone
embed
print
report
pascal
::
Int
->
[
[
Int
]
]
pascal
0
=
[
[
1
]
]
pascal n
=
zipWith
(
+
)
(
0
:
p
)
(
p
++
[
0
]
)
:
p
:
ps
where
p
:
ps
=
pascal
(
n
-
1
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
other setups
CSS | 4 min ago | 0.15 KB
SM Sketch
12 hours ago | 1.68 KB
Trajets ETS 2 EvLan4
21 hours ago | 0.32 KB
B7800 HYLK session 1985
1 day ago | 2.25 KB
me
1 day ago | 0.06 KB
FED RESPONSE TEMPLATES: FED HTML Review Feedb...
2 days ago | 0.82 KB
disable email per category (not fully tested)
2 days ago | 0.82 KB
Neuromancer — The Construct Cut (Complete Una...
2 days ago | 3.30 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!