Re: lisp's age

Liste des GroupesRevenir à cl lisp 
Sujet : Re: lisp's age
De : Nobody447095 (at) *nospam* here-nor-there.org (B. Pym)
Groupes : comp.lang.lisp
Date : 04. Jul 2025, 03:16:37
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1047di4$jhi1$1@dont-email.me>
User-Agent : XanaNews/1.18.1.6
Fred Gilham wrote:

I am new to lisp...don't mock me, that is insulting and rude.
>
>
>
The thin-skinned don't last long in this group.  Here's a
representative quotation from an old Lisp user who will remain
anonymous unless he specifically requests to be named:
>
     I can see you're going to do just *fine* here in comp.lang.lisp.
     I'm rather looking forward to the ritual disembowelling, in
     particular, although the bit were we chop your arms and legs off
     and feed them to crocodiles is also good.

Gauche Scheme

(use srfi-13)   ;; string-handling functions

(define (rot13 text)
  (let ((text (string-upcase text))
        (upper "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))
    (string-map
      (lambda (c)
        (let ((p (string-index upper c)))
          (if p
            (string-ref upper (mod (+ 13 p) 26))
            c)))
      text)))

(rot13 "NER NYY PY QVFPVCYRF CFLPUBCNGUF?")
  ===>
"ARE ALL CL DISCIPLES PSYCHOPATHS?"

Date Sujet#  Auteur
4 Jul03:16 * Re: lisp's age2B. Pym
5 Jul01:38 `- Re: lisp's age1B. Pym

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal