Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
Dark
Register
Log in
Username
Password
Who's Online
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
26
Nodes:
6 (
0
/
6
)
Uptime:
58:36:59
Calls:
632
Files:
1,188
D/L today:
31 files
(20,038K bytes)
Messages:
180,226
Sidebar
Forum
USENET
comp.lang.lisp
Re: Newbie Question: how to use Assoc and pair together.
From
B. Pym
@Nobody447095@here-nor-there.org to
comp.lang.lisp,comp.lang.scheme
on Sun Sep 7 16:28:35 2025
From Newsgroup: comp.lang.lisp
(mapcar (lambda (x) (+ 5 x)) '(1 2 3))
Gauche Scheme
(map (%. (+ 5 _)) '(2 3 4))
===>
(7 8 9)
Given:
(define-macro %.
(lambda (x . z)
`(lambda(_) ,x ,@z)))
--- Synchronet 3.21a-Linux NewsLink 1.2