Commit73cfb2afRecorded26 Apr 2026Repositorysigil-ledger
sigil-ledger v0.10.0: refresh for sigil 0.14 ecosystem
Message
Adopted sigil: ^0.14 (sigil-stdlib auto-derived). Rewired sigil-json from the codeberg:sigil/sigil monorepo path to the canonical extracted URL at ^0.14.0. Wide drift fix on the version field (0.1.0 -> 0.10.0) to realign with the ecosystem.
Replaced the lone (car (cddddr parsed)) call site with list-ref. The 4-level cdr-only accessors are no longer in the prelude post-0.14; list-ref (R7RS, prelude-exported) reads cleaner here than threading through (scheme cxr) and avoids pulling that module in for a single 5th-element lookup.
Adds .sigil/ to .gitignore.
Changed
.gitignore | 1 +
package.sgl | 6 +++---
sigil.lock | 17 ++++++++---------
src/ledger.sgl | 2 +-
4 files changed, 13 insertions(+), 13 deletions(-)Diff
.gitignoremodified
@@ -1,2 +1,3 @@
1
build/ 2
.mcp.json+3
.sigil/package.sglmodified
@@ -5,7 +5,8 @@
5
6
(package 7
name: "sigil-ledger"−8
version: "0.1.0"+8
version: "0.10.0"+9
sigil: "^0.14" 10
description: "Ledger/hledger journal file library for Sigil" 11
url: "https://codeberg.org/sigil/sigil-ledger" 12
license: "BSD-3-Clause"@@ -24,8 +25,7 @@
25
optimize: 2)) 26
27
dependencies: (list−27
(from-git url: "codeberg:sigil/sigil" package: "sigil-stdlib" version: "^0.9.0")−28
(from-git url: "codeberg:sigil/sigil" package: "sigil-json" version: "^0.9.0"))+28
(from-git url: "codeberg:sigil/sigil-json" version: "^0.14.0")) 29
30
tasks: (list 31
(tasksigil.lockmodified
@@ -1,15 +1,14 @@
1
;; Auto-generated by sigil deps install. Do not edit. 2
(lock 3
(package name: "sigil-stdlib"−4
url: "codeberg:sigil/sigil"−5
ref: "^0.9.0"−6
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"+4
url: "codeberg:sigil/sigil-lang"+5
ref: "^0.14"+6
sha: "ff67dfe2033e03cb3d71ba3d801418ba0729094f" 7
package-selector: "sigil-stdlib"−8
version: "0.9.1")+8
version: "0.14.4") 9
(package name: "sigil-json"−10
url: "codeberg:sigil/sigil"−11
ref: "^0.9.0"−12
sha: "54f66e8ec446b65b75ab6f12454d2c0aa269f2c0"−13
package-selector: "sigil-json"−14
version: "0.9.1")+10
url: "codeberg:sigil/sigil-json"+11
ref: "^0.14.0"+12
sha: "a6b76e84bdcccfbed79b048ed8bc9850d08efae7"+13
version: "0.14.0") 14
)src/ledger.sglmodified
@@ -441,7 +441,7 @@
441
(p-amount (cadr parsed)) 442
(p-cost (caddr parsed)) 443
(p-assertion (cadddr parsed))−444
(p-assertion-type (car (cddddr parsed))))+444
(p-assertion-type (list-ref parsed 4))) 445
(journal-posting 446
account: p-account 447
amount: p-amount