Re:Source Code in TV and Films
by Roodgorf on Tuesday May 19, 2015 @12:24PM
(#9571234)
And whoever wrote it out took the time to follow syntax. Although I think this is actually Scheme? Defining a function in Lisp is slightly different if I recall.
[ Parent
| on HN ]
Re:Source Code in TV and Films
by outworlder on Tuesday May 19, 2015 @12:47PM
(#9571421)
Also, Lisp dialects tend to use 'nil' for false and 't' for true. Schemes usually use #f and #t
There's the convention of using "?" for predicates. Lisp usually would use 'p'. As in 'stress?' vs 'stress-p'
So yeah, most likely a form of Scheme. Which can be considered as a 'Lisp' dialect, so not exactly wrong either.
Re:Source Code in TV and Films
by dragonwriter on Tuesday May 19, 2015 @12:58PM
(#9571493)
> Although I think this is actually Scheme? Defining a function in Lisp is slightly different if I recall.
Scheme is a Lisp, though it is not Common Lisp.
Re:Source Code in TV and Films
by FungalRaincloud on Tuesday May 19, 2015 @12:37PM
(#9571345)
At least in the variants of lisp I've used, defining a function would be done using defun, not define, so yeah, probably.