guix/guix
Ludovic Courtès abd4d6b33d
records: Allow thunked fields to refer to 'this-record'.
* guix/records.scm (this-record): New syntax parameter.
(make-syntactic-constructor)[wrap-field-value]: When F is thunked,
return a one-argument lambda instead of a thunk, and parameterize
THIS-RECORD.
(define-record-type*)[thunked-field-accessor-definition]: Pass X
to (real-get X).
* tests/records.scm ("define-record-type* & thunked & this-record")
("define-record-type* & thunked & default & this-record")
("define-record-type* & thunked & inherit & this-record"): New tests.
2019-03-25 23:37:06 +01:00
..
build guix: dune-build-system: Add a package parameter. 2019-03-23 22:58:52 +01:00
build-system guix: dune-build-system: Add a package parameter. 2019-03-23 22:58:52 +01:00
import import: opam: Also update dune packages. 2019-03-23 18:37:29 +01:00
scripts graph: Factorize calls to 'fold-packages'. 2019-03-23 18:15:36 +01:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
channels.scm
ci.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
deprecation.scm
derivations.scm
describe.scm describe: Add 'current-profile-date'. 2019-03-17 22:55:01 +01:00
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gexp.scm
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hg-download.scm
http-client.scm
i18n.scm
inferior.scm
licenses.scm Correct name and email address for ng0. 2019-03-18 15:05:08 +01:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm packages: Add 'package-input-rewriting/spec'. 2019-03-17 22:55:01 +01:00
pki.scm
profiles.scm
profiling.scm
progress.scm
records.scm records: Allow thunked fields to refer to 'this-record'. 2019-03-25 23:37:06 +01:00
scripts.scm scripts: 'warn-about-old-distro' looks at the age of the running Guix. 2019-03-17 22:55:01 +01:00
search-paths.scm
self.scm
serialization.scm
sets.scm
ssh.scm
status.scm
store.scm
svn-download.scm
swh.scm
tests.scm tests: Add 'with-environment-variable'. 2019-03-16 18:15:09 +01:00
ui.scm ui: Bypass Texinfo parsing and rendering for searches. 2019-03-24 00:13:53 +01:00
upstream.scm
utils.scm
workers.scm
zlib.scm