NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Scheme implementation as O'Reilly book via Claude Code (ezzeriesa.notion.site)
rurban 4 days ago [-]
Distort the beautiful scheme language via a limited python evaluator? Oh my. I.e. in scheme a math op is defines as applying the ops to all its args.

    (+ 0 1 2 3 4 5) => (apply '+ '(0 1 2 3 4 5))
In this python code the op becomes a string (from a symbol), and a binop only. It can only do ("+" 0 1), but not more. That's why a proper book teaches this meta evaluator starting with apply, not such limited lambda's.
okkdev 4 days ago [-]
What's the point of this AI slop?
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 21:41:57 GMT+0000 (Coordinated Universal Time) with Vercel.