RosettaCodeData/Task/Longest-string-challenge/PicoLisp/longest-string-challenge-2.l
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

8 lines
255 B
Common Lisp

(let Buf NIL
(in NIL
(until (eof)
(let (Line (line) Len (length Line))
(if (assoc Len Buf)
(conc @ (cons Line))
(push 'Buf (cons Len (cons Line))) ) ) ) )
(mapc prinl (cdr (maxi car Buf))) )