Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A friend mentioned RPL, but that didn’t seem to even have first-class functions… unless I’m mistaken?


Im not a CS guy, so I dont know what "first class" means.

I can do whatever to a function. I can use it as an argument. I can return it from another function. I can make a function that modifies functions.

All that w/out doing anything out of the ordinary day to day programing.


You can put functions on the stack.


with arrow syntax even

   << a -> << a a * >> >> 'SQUARE' STO
I still can't believe how advance RPL calculators were


The HP engineers were good.

First HP engineers made RPL, then they attended Sussman and Abelson's intro to CS class. I think Sussman once said that, if RPL had anonymous functions it'd be a perfect lisp.

They were real good.

https://ocw.mit.edu/courses/6-001-structure-and-interpretati...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: