Re: Does the eval-when example work?

2022-10-19 Thread Jean Abou Samra
Le 19/10/2022 à 22:32, Vivien Kraus a écrit : Dear guile users, The manual, section 6.8.8, presents the eval-when form with an example: (use-modules (srfi srfi-19)) (eval-when (expand load eval) (define (date) (date->string (current-date (define-syntax %date (identifier-syntax (date))) (

Does the eval-when example work?

2022-10-19 Thread Vivien Kraus
Dear guile users, The manual, section 6.8.8, presents the eval-when form with an example: (use-modules (srfi srfi-19)) (eval-when (expand load eval) (define (date) (date->string (current-date (define-syntax %date (identifier-syntax (date))) (define *compilation-date* %date) I take the libe

Re: defining macros within eval

2022-10-19 Thread Maxime Devos
On 19-10-2022 10:42, Paul Jarc wrote: Maxime Devos wrote: For an example in the wild, see e.g. . Thanks (to Jean as well) for all the suggestions. Can you point me to an example of where include/sexp is used?

Re: defining macros within eval

2022-10-19 Thread Paul Jarc
Maxime Devos wrote: > For an example in the wild, see > e.g. > . Thanks (to Jean as well) for all the suggestions. Can you point me to an example of where include/sexp is used? To take a step back, my ultimate goal