| Rev | Time | Changes | Operations |
|---|
| Log |
|---|
| 9 | 2012-10-21 20:07:22 | +17 -0 line(s) | [View this version, source] [Diff to previous] |
| >>>>
-----
<<<<wbooze
{{{scheme
;;; i did the same with common-lisp
;;; it pretty much matches the first scheme form on this page tho!
(defun for-each (proc items)
(if (null items)
nil
(apply proc (car items) nil))
(if (not (null (cdr items))) |
| 8 | 2012-02-01 03:27:08 | +8 -0 line(s) | [View this version, source] [Diff to current|previous] |
| Adding comment about amsad's answer being incorrect |
| 7 | 2011-08-01 23:11:46 | +13 -0 line(s) | [View this version, source] [Diff to current|previous] |
| Added alternative solution, Amjad Masad. |
| 6 | 2011-03-13 16:52:01 | +25 -0 line(s) | [View this version, source] [Diff to current|previous] |
| My solution in common lisp.
Tang Yaguang |
| 5 | 2011-01-15 17:47:14 | +0 -18 line(s) | [View this version, source] [Diff to current|previous] |
| deleted duplicate answer. |
| 4 | 2011-01-15 17:46:50 | +19 -0 line(s) | [View this version, source] [Diff to current|previous] |
| added a new solution that works for the null list. |
| 3 | 2011-01-15 17:46:08 | +18 -0 line(s) | [View this version, source] [Diff to current|previous] |
| added a new solution that works for the null list. |
| 2 | 2010-02-08 16:31:21 | +14 -0 line(s) | [View this version, source] [Diff to current|previous] |
| ADD: nav
ADD: solution / holub |
| 1 | 2007-12-25 20:58:09 | +33 -0 line(s) | [View this version, source] [Diff to current|previous] |
| initial draft |
| [Diff from epoch] |