all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* pcase without code duplication
@ 2021-04-23  2:45 michael-franzese
  2021-04-23  3:24 ` Óscar Fuentes
  0 siblings, 1 reply; 5+ messages in thread
From: michael-franzese @ 2021-04-23  2:45 UTC (permalink / raw)
  To: Help Gnu Emacs

I am using pcase, but am wondering whether I can have pcase
for 0 and 2 do the same things without adding a separate pcase
(0 and duplicating the statements.

(pcase orthogr-region
  (0 ... )    ; same operations as pcase 2
  (1 ... )
  (2 ... )    ; operations
  (_ ... ) )




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-23  4:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-23  2:45 pcase without code duplication michael-franzese
2021-04-23  3:24 ` Óscar Fuentes
2021-04-23  3:45   ` michael-franzese
2021-04-23  4:01     ` Stefan Monnier
2021-04-23  3:51   ` [External] : " Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.