[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/25] Define <ffi-type> structure
From: |
Dmitry Bogatov |
Subject: |
Re: [PATCH 02/25] Define <ffi-type> structure |
Date: |
Sun, 12 Mar 2017 09:00:53 +0300 |
[2017-03-10 05:46] Thien-Thi Nguyen <address@hidden>
> () Dmitry Bogatov <address@hidden>
> () Mon, 18 Jul 2016 20:59:03 +0300
>
> > > +(define-module (system foreign declarative)
> > > + #:export (make-foreign-type)
> > > + #:export (define-foreign-type))
> > > +(use-modules (srfi srfi-9))
>
> > You don't have to write #:export several times, one just
> > enough #:export (make-foreign-type define-foreign-type)
>
> Thanks for review. I know that it possible to merge all
> exports into one list, but I prefer this style -- more
> friendly to `M-x sort-lines'
>
> What's the reason for a separate ‘use-modules’ form?
Matter of style, nothing more.
> (I presume you know that ‘define-module’ supports ‘#:use-module’
> clauses.)
I do.
--
X-Web-Site: https://sinsekvu.github.io | Note that I process my email in batch,
Accept-Languages: eo,ru,en | at most once every 24 hours. If matter
Accept: text/plain, text/x-diff | is urgent, you have my phone number.
pgpvhaUy1Km9j.pgp
Description: PGP signature