koguro #3015(2007/09/14 13:50 GMT) [ Scheme ] Rating0/0=0.00
Schemeの解がでていなかったので投稿(Gaucheに特化していますが)。 あと長いリストだとapplyでエラーになることがあります。
1 2 3 4
(use gauche.collection) (define (only-unique lst) (apply append (filter (compose (cut = 1 <>) length) (group-collection lst))))
Rating0/0=0.00-0+
1 reply [ reply ]
shiro #3035(2007/09/16 04:04 GMT) Rating3/3=1.00
[ reply ]
koguro #3015() [ Scheme ] Rating0/0=0.00
Rating0/0=0.00-0+
1 reply [ reply ]