William James
6/5/2015 10:34:00 AM
Lieven Marchand wrote:
> > if we have this list:
> > (a <sold> b c d <sold> e f g <sold>)
> > that shows that article a, d and g are sold and the rest are not how
> > can we put all the sold articles in one list:
> > (a d g)
>
> More homework?
>
> (loop for (first next) on '(a <sold> b c d <sold> e f g <sold>)
> when (eql next '<sold>)
> collect first)
Gauche Scheme:
(define items '(a <sold> b c d <sold> e f g <sold>))
(filter-map
(^(x y) (and (eq? '<sold> y) x))
items
(cdr items))
===>
(a d g)
--
Viewed at its most abstract level, a fundamental agenda is thus to influence
the European-derived peoples of the United States to view concern about their
own demographic and cultural eclipse as irrational and as an indication of
psychopathology. --- Kevin MacDonald; "The Frankfurt School of Social Research
and the Pathologization of Gentile Group Allegiances"