Skip to content

Feedback #1

Description

@wasamasa

multi-benchmarks.el

  • mu- is a pretty bad namespace prefix due to confusion with mu4e (where the native parts are known as mu).
  • Use cl-lib consistently, cl-lib-hightlight helps.

multi-methods.el

multi-patterns.el

  • Yes, interactive is special, it can accept code that will be evaluated at a later time. No idea about declare.
  • Consider using buttercup if ERT causes you massive pains.
  • Mutating list literals is a bad idea in any case, don't do it: https://web.archive.org/web/20170106022314/http://shift-reset.com/blog/2014/2/28/List%20Mutation%20Public%20Service%20Announcement/
  • ? doesn't translate to 32, it's char syntax for a space (which is better expressed as ?\s anyway). You'd be better off escaping the question mark instead, that would make it a symbol.
  • Generally speaking, consider not translating mu-patterns to pcase and roll your own thing instead. This would be a greater undertaking, but teach you a lot more and most certainly avoids degenerate pcase cases. There are a bunch of implementations in Emacs Lisp, Scheme, Clojure, the better ones reference papers.

multi-prelude.el

  • This file will most certainly not fly because its unprefixed stuff goes way beyond shimming. MELPA's packaging standards are pretty strict here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions