Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 11th, 2018
106
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Haskell
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
data
Tree a
=
Leaf a
|
Node
(
Tree a
)
(
Tree a
)
maptree
::
(
a
->
b
)
->
Tree a
->
Tree b
maptree f
(
Leaf n
)
=
(
Leaf
(
f
(
n
)
)
)
maptree f
(
Node t1 t2
)
=
(
Node
(
maptree f t1
)
(
maptree f t2
)
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
10 moves rule Petre
Python | 43 sec ago | 3.14 KB
Untitled
SQL | 27 min ago | 0.81 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 30 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 40 min ago | 0.38 KB
Temperature Control rev_01
Arduino | 47 min ago | 1.65 KB
Untitled
C++ | 1 hour ago | 9.85 KB
Untitled
C++ | 1 hour ago | 13.37 KB
MD5.Cracker
C++ | 1 hour ago | 1.11 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!