Adam Porter

Results 2644 comments of Adam Porter

> but you are using -when-let which fails if any binding is nil, that's probably the issue. Ah, yes, I see. It seemed like the most natural `-let`-like alternative to...

LOL, at the very moment I finished expanding the series of macros and arrived at: ```el (let ((salted (when (plist-member --dash-source-267-- :salted) (plist-get --dash-source-267-- :salted)))) (if salted (progn (funcall g1383))))...

If we could make it expand to something like this, maybe that would work? But I don't know where to begin implementing that. ```el (let ((--dash-source-267-- args)) (if --dash-source-267-- (let...

Well, not exactly on the topic of Dash, but I found a way to implement it with `pcase`: ```el (defun plist-p (list) (when list (cl-loop for (keyword value) on list...

@basil-conto Are you talking about https://github.com/magnars/dash.el/pull/269?

@basil-conto Your question may be answered by https://github.com/magnars/dash.el/issues/111#issuecomment-404137467 (at least, with regard to that PR).

> What prompted my initial question, however, was your definition of plist-p here My definition of that function has nothing to do with Dash. :)

@Fuco1 Do you have any general advice for building lists containing backquotes and unquotes? Or alternatives to doing that in the first place? As you can see in https://github.com/magnars/dash.el/issues/268#issuecomment-404195296, I...

> I think it would still be better to maybe invent a notation where we could have just one arg declaration. Sorry, I don't understand what you mean. > Ideally...

I question the value of this macro. In Emacs, it's trivial to comment or uncomment a Lisp form--two keystrokes, at most, which is less than it would take to wrap...