Add tags

Add tags to the following comment
リストの処理で、foldを使うのならこういうのも。最後にreverseするのが残念な感じですが。!無しで。
1
2
3
4
5
6
(define (uniq a)
  (reverse
    (fold (lambda (e knil)
            (if (member e knil)
              knil
              (cons e knil))) () a)))

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...