[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comic-book-insult
From: |
Emanuel Berg |
Subject: |
Re: comic-book-insult |
Date: |
Mon, 09 Sep 2019 19:32:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Jean Louis wrote:
> Thanks, now I learned how to scramble words
> like this below in Emacs. But I have no idea
> what means (lambda (_ __)
It is an anonymous function (lambda) with two
anonymous arguments (_ and __), they are
denoted with underscores so one can see they
are not used - if they were called element-1
and element-2, the byte-compiler will warn
about unused lexical arguments.
Why not just lambda ()? The truth is out there
in the docstring of `sort'.
> (scramble-string "Hello there, Emacs is very
> cool piece of software")
>
> => "Hlelo theer, Eamcs is vrey cool peice of
> sfotware "
It's time to take scrambling to the next level:
(scramble-string "Hello there, Emacs is very
cool piece of software")
"aye eposrr lvre olsec,ewfico ceti ftomH hseoa
l E"
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
- comic-book-insult, Emanuel Berg, 2019/09/08
- Re: comic-book-insult, Jean Louis, 2019/09/09
- Re: comic-book-insult,
Emanuel Berg <=
- Re: comic-book-insult, Jean Louis, 2019/09/09
- Re: comic-book-insult, Emanuel Berg, 2019/09/09
- Re: comic-book-insult, Eli Zaretskii, 2019/09/09
- Anonymous arguments - Re: comic-book-insult, Jean Louis, 2019/09/11
- Re: Anonymous arguments - Re: comic-book-insult, Emanuel Berg, 2019/09/11
- Re: Anonymous arguments - Re: comic-book-insult, Jean Louis, 2019/09/17
Re: comic-book-insult, Adam Porter, 2019/09/10