From 69a14dd37f5927b428ff2fa9659abc64f47c17e0 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Aug 2020 15:06:12 +0100 Subject: Delete unused Elisp modules It is striking how much Elisp I wrote after switching to EXWM... I think I'm finally coming down from that high. --- emacs/.emacs.d/wpc/polymorphism.el | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 emacs/.emacs.d/wpc/polymorphism.el (limited to 'emacs/.emacs.d/wpc/polymorphism.el') diff --git a/emacs/.emacs.d/wpc/polymorphism.el b/emacs/.emacs.d/wpc/polymorphism.el deleted file mode 100644 index 09045f7fb258..000000000000 --- a/emacs/.emacs.d/wpc/polymorphism.el +++ /dev/null @@ -1,37 +0,0 @@ -;;; polymorphism.el --- Sketching my ideas for polymorphism in Elisp -*- lexical-binding: t -*- -;; Author: William Carroll - -;;; Commentary: -;; Once again: modelled after Elixir. - -;;; Code: - -;; More sketches of Elisp polymorphism initiative. -;; -;; Two macros: -;; - `defprotocol' -;; - `definstance' -;; -;; Is it just a coincidence that these two macros have the same number of -;;characters or is that fate? I say fate. -;; -;; (defprotocol monoid -;; :functions (empty concat)) -;; -;; (definstance monoid vector -;; :empty -;; (lambda () []) -;; :concat -;; #'vector/concat) -;; -;; More sketching... -;; (defun monoid/empty () -;; "Sketch." -;; (funcall #'(,(monoid/classify)/empty))) -;; (defun monoid/concat (xs) -;; "Sketch." -;; (apply #'(,(monoid/classify)/concat) args)) - - -(provide 'polymorphism) -;;; polymorphism.el ends here -- cgit 1.4.1