[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
is using eval good style in guile?(was: [PATCH] improve nginx-service)
From: |
Hartmut Goebel |
Subject: |
is using eval good style in guile?(was: [PATCH] improve nginx-service) |
Date: |
Fri, 25 Nov 2016 12:46:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Am 25.11.2016 um 11:53 schrieb Clément Lassieur:
> I think you are looking for "eval".
>
> (define (list->define-configuration stem fields)
> (eval `(define-configuration ,stem ,@fields) (current-module)))
I'm curious: In other programming languages, using eval is regarded bad
programming style. Is this different in guile?
--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP, ISO 27001 Lead Implementer
Information Security Management, Security Governance, Secure Software
Development
Goebel Consult, Landshut
http://www.goebel-consult.de
Blog:
http://www.goebel-consult.de/blog/vortrag-digitalen-selbstverteidigung-fur-unternehmen
Kolumne:
http://www.cissp-gefluester.de/2012-04-compliance-bringt-keine-sicherheit
smime.p7s
Description: S/MIME Cryptographic Signature
- Re: [PATCH] improve nginx-service, (continued)
- Re: [PATCH] improve nginx-service, Hartmut Goebel, 2016/11/04
- Re: [PATCH] improve nginx-service, Tobias Geerinckx-Rice, 2016/11/06
- Re: [PATCH] improve nginx-service, Ludovic Courtès, 2016/11/06
- Re: [PATCH] improve nginx-service, Julien Lepiller, 2016/11/20
- Re: [PATCH] improve nginx-service, Hartmut Goebel, 2016/11/22
- Re: [PATCH] improve nginx-service, julien lepiller, 2016/11/23
- Re: [PATCH] improve nginx-service, Clément Lassieur, 2016/11/25
- is using eval good style in guile?(was: [PATCH] improve nginx-service),
Hartmut Goebel <=
- Re: is using eval good style in guile?, Andy Wingo, 2016/11/25
- Re: is using eval good style in guile?, Clément Lassieur, 2016/11/26
- Re: [PATCH] improve nginx-service, Ludovic Courtès, 2016/11/27
- Re: [PATCH] improve nginx-service, Ludovic Courtès, 2016/11/06