guix/guix
Ludovic Courtès 7874bbbb9f
records: Insert record type ABI checks in constructors.
* guix/records.scm (print-record-abi-mismatch-error): New procedure.
<top level>: Add 'set-exception-printer!' call.
(current-abi-identifier, abi-check): New procedures.
(make-syntactic-constructor): Add #:abi-cookie parameter.  Insert calls
to 'abi-check'.
(define-record-type*)[compute-abi-cookie]: New procedure.
Use it and emit a definition of the 'current-abi-identifier' for TYPE.
* tests/records.scm ("ABI checks"): New test.
2018-05-23 10:21:02 +02:00
..
build union: Do not warn about harmless collisions. 2018-05-17 10:48:37 +02:00
build-system gnu: android-make-stub: Update to 0.6.0. 2018-05-10 15:35:28 +02:00
import
scripts pack: Link top-level entries of wrapped packages. 2018-05-14 23:01:36 +02:00
store
tests
base16.scm
base32.scm
base64.scm
build-system.scm
cache.scm
ci.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm
discovery.scm
docker.scm
download.scm
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Disable deprecation warnings for 'imported-modules'. 2018-05-15 10:34:45 +02:00
git-download.scm
git.scm
glob.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm
graph.scm
hash.scm
hg-download.scm
http-client.scm
i18n.scm
licenses.scm
man-db.scm
memoization.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm guix: Separate the package name and version with "@", not "-". 2018-05-08 21:55:46 -07:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Add hook to generate "gschemas.compiled". 2018-05-21 09:56:37 +02:00
profiling.scm
progress.scm
records.scm records: Insert record type ABI checks in constructors. 2018-05-23 10:21:02 +02:00
scripts.scm
search-paths.scm search-paths: Add 'set-search-paths'. 2018-05-10 14:53:57 +02:00
self.scm self: Add "guix-packages-base" derivation. 2018-05-07 00:17:34 +02:00
serialization.scm
sets.scm
ssh.scm
store.scm
svn-download.scm
tests.scm
ui.scm guix build: Nicely report unbound variables with hints. 2018-05-04 15:07:08 +02:00
upstream.scm
utils.scm utils: Add 'version-prefix?'. 2018-05-13 13:29:27 +02:00
workers.scm
zlib.scm