Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasteable objects #119

Open
mariari opened this issue May 6, 2023 · 0 comments
Open

Pasteable objects #119

mariari opened this issue May 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mariari
Copy link
Member

mariari commented May 6, 2023

It would be nice if we could give each other example code over the wired.

To do this I propose the following

We implement the following method

(defgeneric make-eval-form (object))

with the following instances

(defmethod make-eval-form ((object pointwise-mixin)) ...)
(defmethod make-eval-form ((object meta-mixin)) ...)
(defmethod make-eval-form ((object hash-table)) ...)
(defmethod make-eval-form ((object symbol)) ...)
(defmethod make-eval-from ((object number)) ...)
(defmethod make-eval-form ((object string)) ...)

we ideally want to carry over meta-data, however these should suffice to give a term which we can copy and paste to each other

@rokopt rokopt added the enhancement New feature or request label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants