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

Which, btw., is written in Lisp as:

    (incf vx (* ax deltat))
The equivalent of += is INCF.


I'm not sure that syntax was available in Lush. The line I cited was from a Lush example program.

http://lush.sourceforge.net/lander04.txt


In Lush a similar construct is called INCR. See its documentation. INCF in Common Lisp might be more general, since it supports a concept called place.




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

Search: