Da_Gamer icon

Functional Do Eat Pasta

Da_Gamer | PRO | 01/07/16 06:16:53 PM UTC | 0 ⭐ | 278 👁️ | Never ⏰ | []
Racket |

270 B

|

None

|

0 👍

/

0 👎

(define (eat food)
   (cond [(empty? food) (print "Mmmmmm. Delicious.")]
         [else
           (cons (print "Ignore FastCall, EatSlow. Stilling Eating.")
                 (eat (rest food)))]))
 
(define (IYP-do action object)
   (action object))
 
(IYP-do eat pasta)

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎