[Top][All Lists]

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

[bug#51570] [PATCH] build-system: haskell: Add ‘hackage-uri’ procedure.

From: zimoun
Subject: [bug#51570] [PATCH] build-system: haskell: Add ‘hackage-uri’ procedure.
Date: Wed, 3 Nov 2021 11:29:26 +0100


Thanks for this helpful patch.

On Tue, 2 Nov 2021 at 17:49, Xinglu Chen <> wrote:

> +(define (hackage-uri name version)
> +  "Return a URI string for the Haskell package hosted on Hackage 
> corresponding
> +to NAME and VERSION."
> +  (string-append ""; name "/"
> +                 name "-" version ".tar.gz"))

It seems the correct way.  Aside this change for future imports from
Hackage, does it make sense to replace the current 'string-append' in
all package definitions by this 'hackage-uri'?


reply via email to

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