CommonLisp Scheme Part11at TECH
CommonLisp Scheme Part11 - 暇つぶし2ch628:(define (´∀`) 'マターリ)
04/10/05 16:52:09
(define (foo l)
 (define (f x) (string-append (car l) "/" x))
 (define (g x)
  (if (list? x) (foo (cons (f (car x)) (cdr x)))
    (list (f x))))
 (cons (f "") (apply append (map g (cdr l)))))

>>625
全角スペースを取ればSCMで動いたよ。
622は失敗作。


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch