[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/25] Define <ffi-type> structure

From: Thien-Thi Nguyen
Subject: Re: [PATCH 02/25] Define <ffi-type> structure
Date: Fri, 10 Mar 2017 05:46:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() 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?  (I presume
you know that ‘define-module’ supports ‘#:use-module’ clauses.)

Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)
   (pcase (context query)
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]