[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01/01: gnu: ccl: Include x86-headers and remove missing "contrib" fo
From: |
Pierre Neidhardt |
Subject: |
Re: 01/01: gnu: ccl: Include x86-headers and remove missing "contrib" folder. |
Date: |
Tue, 20 Nov 2018 19:49:01 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Oops! Sorry for that.
What would be the most lispy way to return nothing from the match?
I'm thinking of splicing the resulting lists, but that sounds a bit overkill:
--8<---------------cut here---------------start------------->8---
(let ((dirs '("lib" "library" "examples" "tools" "objc-bridge"
,@(match (%current-system)
("x86_64-linux"
'("x86-headers64"))
("i686-linux"
'("x86-headers"))
(_ '())))))
--8<---------------cut here---------------end--------------->8---
Thoughts?
By the way the lint works, it's a nice addition! :D
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature