Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
MOTD
BBS Stats
Radio
AvatarChat
Dark
Register
Log in
Username
Password
Sidebar
Forum
USENET
comp.lang.lisp
Collect when
From
B. Pym
@Nobody447095@here-nor-there.org to
comp.lang.lisp
on Fri Jun 20 21:58:52 2025
From Newsgroup: comp.lang.lisp
(loop for x in y
when (f x)
collect (g x))
Gauche Scheme:
(define f positive?)
(define (g x) (and (odd? x) (* x x)))
(define y (iota 22 -8))
(append-map
(lambda(x) (if (f x) (list (g x)) '()))
y)
===>
(1 #f 9 #f 25 #f 49 #f 81 #f 121 #f 169)
--- Synchronet 3.21d-Linux NewsLink 1.2
Who's Online
Recent Visitors
Hannibal
Fri Jul 3 01:51:09 2026
from
Des Moines
via
Telnet
Geek2
Thu Jul 2 11:41:05 2026
from
Euclid, Oh
via
Telnet
Hannibal
Thu Jul 2 05:49:27 2026
from
Des Moines
via
SSH
Geek2
Wed Jul 1 16:31:20 2026
from
Euclid, Oh
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
70
Nodes:
6 (
0
/
6
)
Uptime:
02:02:11
Calls:
949
Calls today:
1
Files:
1,325
Messages:
281,114