From 8b30bc8e49045eff2e2ca496edad9f1729dd505a Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 10 Apr 2022 13:43:59 -0400 Subject: [PATCH] FIX typos --- local/lib/either/either.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/local/lib/either/either.el b/local/lib/either/either.el index b24dadd..67dd86e 100644 --- a/local/lib/either/either.el +++ b/local/lib/either/either.el @@ -21,6 +21,8 @@ ;;; Code: +(require 'dash) + (defmacro either (key data) "Make an either type. @@ -28,7 +30,7 @@ KEY is either :left or :right and DATA is whatever goes in the left/right slot." (pcase key ((or :left :right) `(list ,key ,data)) - (e (error "Invalid status key: %s" key)))) + (_ (error "Invalid status key: %s" key)))) (defmacro either>>= (either form) "Bind EITHER to FORM where the right slot is bound to 'it'."