CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 13:37:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=404d6c82e01bdcdd59e95feb448c7da627f6eba76c15c09b4e5422f7ab951257a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22QQSbxSu25m_IuIFrc0ISYVHGekqjL6LX%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cec0b4ac99ad8b-BLR
Ninety-Nine Haskell Problems: #2 - Pastebin.com
SHARE
TWEET

Ninety-Nine Haskell Problems: #2
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- one xs = xs !! (length xs - 2)
- two xs = reverse xs !! 1
- three = aux
- where
- aux [x,y] = x
- aux (x:xs) = aux xs
- four xs = aux xs (length xs)
- where
- aux xs 2 = head xs
- aux (x:xs) l = aux xs (l - 1)
- five xs = snd . head . filter (\(x, _) -> x == 1) $ zip (reverse xs) [0 ..]
- six = head . tail . reverse
- seven = last . init
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ Y
JavaScript | 1 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 3 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ L
JavaScript | 3 sec ago | 0.24 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 12 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ Y
JavaScript | 17 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 22 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 2
JavaScript | 23 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ P
JavaScript | 32 sec ago | 0.24 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