Personal tools

Talk:H-99: Ninety-Nine Haskell Problems

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Talk:99 Haskell exercises moved to Talk:H-99: Ninety-Nine Haskell Problems)
Line 3: Line 3:
   
 
It's just whether or not there's a lisp solution available. If you go to the description of the problem, and click on the problem number, it'll either link you to actual lisp code, or a "not found" page. There are 25 of them which actually have lisp code available. -- chessguy
 
It's just whether or not there's a lisp solution available. If you go to the description of the problem, and click on the problem number, it'll either link you to actual lisp code, or a "not found" page. There are 25 of them which actually have lisp code available. -- chessguy
  +
  +
What is the meaning of that scoreboard? Even though there is no solution on the L-99 site, there may still exist a LISP solution, even a trivial one. And since that L-99 site is no wiki and this site is, the scoreboard seems just misleading to me.
  +
  +
Just an example for Problem 12:
  +
  +
(defun decode-modified (list)
  +
(mapcar (lambda (item)
  +
(if (atom item)
  +
item
  +
(make-list (car item)
  +
:initial-element (cadr item))))
  +
list))
  +
-- roerd

Revision as of 15:12, 15 December 2006

What does "Lisp solution?" mean? Lots of them are listed "Yes", and lots are listed "No", but I can't detect a difference between these entries... -- dmwit

It's just whether or not there's a lisp solution available. If you go to the description of the problem, and click on the problem number, it'll either link you to actual lisp code, or a "not found" page. There are 25 of them which actually have lisp code available. -- chessguy

What is the meaning of that scoreboard? Even though there is no solution on the L-99 site, there may still exist a LISP solution, even a trivial one. And since that L-99 site is no wiki and this site is, the scoreboard seems just misleading to me.

Just an example for Problem 12:

(defun decode-modified (list)
  (mapcar (lambda (item)
            (if (atom item)
                item
                (make-list (car item)
                           :initial-element (cadr item))))
          list))

-- roerd