6章のリストを写経した.Haskellを前回勉強したおかげで、car cdr foldが出てきても,ぎょっとしなかった. (define (filter pred lis) (cond [(null? lis) lis] [(pred (car lis)) (cons (car lis) (filter pred (cdr lis)))] [else (filter pred (cdr lis))…
Quote saved.
Login to quote this blog
Failed to save quote. Please try again later.
You cannot quote because this article is private.