CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 17:41:53 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=927eb69eae95f792f6a48af2736e1ba511ec46c852d7c4217691a7b5fd02be53a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%221cYJGBi--5EPgn6PHRj__-IIPKSVPt6F%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d0269cac40c179-BLR
Haskell style head/tail functions in elisp - Pastebin.com
SHARE
TWEET

Haskell style head/tail functions in elisp
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun square (n) (* n n))
- (defun head-tail (&optional head &rest tail)
- (when head
- (insert (format "%d\n" (square head)))
- (apply #'head-tail tail)))
- (defun head-tail (&optional head &rest tail)
- (when head
- (cons (square head) (apply #'head-tail tail))))
- (head-tail 1 2 3 4 5)
Tags:
elisp
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 2 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 11 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $9OO INSTANTLY D M⭐⭐
Java | 13 sec ago | 0.10 KB
-
⭐✅ MAKE $2000 INSTANTLY ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 21 sec ago | 0.24 KB
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 25 sec ago | 0.10 KB
-
⭐ Free Crypto Method ✅ NEVER SEEN BEFORE ⭐⭐⭐
JavaScript | 30 sec ago | 0.24 KB
-
✅⭐ Make huge profits on trading ✅ NEVER SEEN...
JavaScript | 39 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 49 sec ago | 0.10 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