[vox] Programming Trivia Questions

Darth Borehd darth.borehd at gmail.com
Thu Jul 7 14:36:57 PDT 2011


 1. What type of function is this?

(defn fact [x]
(cond
(= x 0) 1
1 (* x (fact (- x 1)))))

2. The name of the endofunctor used for I/O in Haskell.
3. The name of the constant used to represent a pointer to nothing in C.
4. What is the alternate name for the scope resolution operator in PHP?
Starts with "P".
5. The language that looks like Prolog but is well distributed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox/attachments/20110707/a0efaf79/attachment.htm 


More information about the vox mailing list