News for hackers. Stuff that matters.
Re:Ask YC: Game programming in Lisp - is it possible? by stonemetal on Sunday March 15, 2009 @08:56AM (#516788)
First off lisp does have state. It isn't a pure language. That aside there are several approaches. The easiest is to thread state that is have a function that looks like update Worldstate = do userinput <- getUserinput; Worldstate' <- updateworldstate userinput worldstate; drawworldstate worldstate'; update worldstate';

There are no comments on this comment yet.