help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?


From: Stefan Monnier
Subject: Re: Why aren't `find`, `find-if`, `remove-if` part of Emacs Lisp?
Date: Fri, 20 Jun 2014 09:45:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> Ruby:

> [0,1,2,3].select( &:odd? )
>     ==>[1, 3]

Once you have a list object, then obviously, you've loaded
that library.  Doesn't mean that lists are part of the core language.

> # List.filter (fun x -> x > 0) [0;1;2;3] ;;
> - : int list = [1; 2; 3]

The "List." part proves my point here.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]