Re: xdgdirs 1.0
Thien-Thi Nguyen <[email protected]> Sat, 07 Sep 2013 11:10:03 +0200
| Newsgroups | gmane.lisp.guile.user,gmane.lisp.guile.sources |
|---|---|
| Message-ID | <[email protected]> |
() Andy Wingo <[email protected]> () Sat, 07 Sep 2013 10:36:38 +0200 > (define mentioned? ...) You could do this as (cute member <> (command-line)), having imported srfi-26. > (cond ((mentioned? "--help") ...) Here I think "when" is much more readable. Also, you can use "(current-file-name)" for a more reliable way to get the current file name. > (cond ((mentioned? "--version") ...) You can use (ice-9 command-line)'s version-etc. Thanks for the tips. I'll try to keep these in mind. -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) => nil
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlIq7W8ACgkQZwMiJEyAdQIAqgCg5jxoyjIR3IMu84D3JrfLGrfg ztoAn3yz5zzRvzlCQQt+Boqe7/HgnRVu =rZkV -----END PGP SIGNATURE-----