[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Optionally use copy-tree for cl struct copier
From: |
Joseph Turner |
Subject: |
Optionally use copy-tree for cl struct copier |
Date: |
Sun, 10 Sep 2023 11:42:41 -0700 |
Would you be open to adding an option to cl-defstruct that would alias
the copier function to (lambda (obj) (copy-tree obj t)) instead of
copy-sequence?
If so, what kind of syntax would you want? Maybe something like
(cl-defstruct (foo (:copier nil :recursive t)) a b c)
- Optionally use copy-tree for cl struct copier,
Joseph Turner <=