[Top][All Lists]

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

Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]

From: Alfred M. Szmidt
Subject: Re: dash.el [was: Re: Imports / inclusion of s.el into Emacs]
Date: Fri, 08 May 2020 06:41:44 -0400

   But you just described what dash does. ;-) It is just a collection 
   of list-handling functions such as they exist in modern functional 
   programming languages. If you're used to thinking in this paradigm 
   and then come (back) to Emacs Lisp, it feels like a hopelessly 
   clunky language. `dash.el` was written to remedy this.

Thank you, I was and still am unsure what the purpose of dash.el is!
It is simply not somehing I would ever find myself using.

While I'm very much used to programming in functional langugaes, the
way that Clojure and Haskell do it is very much alien to me.  And
quite often, confusing to follow and reason about (IMHO).

While some might prefer that, they do not seem well fitting for Emacs,
how you program in Emacs Lisp and how Emacs Lisp is intended to be

   > or what to use it for.

   Well, you use it if you want to program in a Clojure-like style.

Isn't that the crux then? 

I as a user want to program in an Emacs Lisp style, not Clojure-style.

As a user, I found many of the functions to have alien names, strange
behaviour and very unintuitve to use in the style that is Emacs lisp
(Classical Lisp?).  But some functions seem useful, though with
non-Emacsy names and calling conventions.

Adding functions like `s-reverse' instead of just using `reverse'
seems strange.  Obviously, that isn't all that s.el provides,
s-split-up-to (splits a string N times into substrings based on a
regexp) seem very much useful for example that could be added with a
different name that fits Emacs Lisp, or maybe there is already a way
of doing that.

reply via email to

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