Skip to content

Comment on Chicken Chicken Chicken: Chicken Chicken [pdf]

Comments

LISP version:

(chicken chicken (chicken chicken chicken))

Can you come up with an implementation of chicken that allows this code to run?

I think any 2 argument function will work? At least in clojure.

    > (defn chicken [x y] 1)
    #'sandbox5403/chicken
    > (chicken chicken (chicken chicken chicken))
    1

(define chicken list)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.