Skip to content

Comment on Fargo: new Scheme-like language working in Node.js/browser

Comments

I'm a newb or something but :

(cdr ()) makes it explode. What's nil? null nil don't exist

I do really like this. I was hoping for something like this where it would allow me to write lisp instead of javascript.

  > (cdr '())
  => ()
  > (cdr (list­))
  => ()

well, (cdr ()) is an error in standard Scheme, as empty list is not pair.

I'll fix this so that invalid expressions are reported and car and cdr of () are errors.

AboutSource Built by g1lg1l

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