Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Declarative Vs Imperative Programming

Name: Anonymous 2010-12-17 21:33

Discuss

Name: Anonymous 2010-12-18 11:37

>>10
(define (nequal? x y) (not (equal? x y)))
(define /prog/ '(("x" "y" "z") (car cdr anticudder eval apply)))

(define remove-post
  (lambda (/prog/-state post)
    (map (lambda (x)
           (filter (lambda (x)
                     (nequal? x post)) x))
         /prog/-state)))

(define new-/prog/ (remove-post /prog/ 'anticudder))
; => '(("x" "y" "z") (car cdr eval apply))


Then they pass new-/prog/ to the Shiichan monad, without nothing.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List