Hi!

guix-commits@gnu.org skribis:

> commit f0779922ff260df2404c90504986aa59553154fb
> Author: zimoun <zimon.touto...@gmail.com>
> AuthorDate: Thu Apr 23 16:09:00 2020 +0200
>
>     licenses: Export license record.
>     
>     * guix/licenses.scm (<license>): Export it.
>     
>     Signed-off-by: Mathieu Othacehe <m.othac...@gmail.com>

> -  #:export (license? license-name license-uri license-comment
> +  #:export (license license? license-name license-uri license-comment

I see two issues:

  1. The commit log doesn’t match the change.  :-)

  2. It’s on purpose that the constructor is not exported.  It’s so that
     genuine license objects have to be defined here.  (Likewise, record
     type descriptors like <license> are generally kept private to
     maintain encapsulation.)

I’m in favor of reverting.

What’s the use case, Simon?  (Apologies if I missed the discussion!)

Thanks,
Ludo’.

Reply via email to