Deutsch   English   Français   Italiano  
<va6th9$cg1f$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "B. Pym" <Nobody447095@here-nor-there.org>
Newsgroups: comp.lang.lisp
Subject: Re: Strange issue with packages
Date: Thu, 22 Aug 2024 08:40:09 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <va6th9$cg1f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Injection-Date: Thu, 22 Aug 2024 10:40:10 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="72547623007bae1028e2c39f1f4d5250";
	logging-data="409647"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18BdsWBsqTZff+O3JDbNzt1"
User-Agent: XanaNews/1.18.1.6
Cancel-Lock: sha1:bGaQYV6B+Vgx9cKXyDG4J/0x+r8=
Bytes: 1044

Pascal Costanza wrote:

> (defun count (element list)
>    (loop for x in list
>          count (eql x element)))

newLISP

(count '(c) '(b c d f c g h c))
  ===>
(3)