Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vito
on Feb 8, 2011
|
parent
|
context
|
favorite
| on:
Why I absolutely love java
Same for the others.
(filter even? '(1 2 3 4)) (remove-it-not 'evenp '(1 2 3 4))
angus77
on Feb 9, 2011
|
next
[–]
I think you mean 'remove-IF-not.
lfborjas
on Feb 8, 2011
|
prev
|
next
[–]
Oh, right! even? is already a function, d'oh!
serichsen
on Feb 9, 2011
|
prev
[–]
Or:
(remove-if 'oddp '(1 2 3 4))
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: