diff options
author | rsiddharth <s@ricketyspace.net> | 2019-06-18 19:53:28 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-06-18 19:53:28 -0400 |
commit | 289967b72c97f88a2352d9227f8e75b855bb680b (patch) | |
tree | a55a54805057badaadf8524d57f39d971e7c5d78 | |
parent | b085da5446b58254a82ee457568cf6929f278cfd (diff) |
hn/g: Add g
* hn/g (g): New function.
At least the baby didn't die.
-rwxr-xr-x | hn/g | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -91,3 +91,9 @@ (call-with-output-file f (λ (out) (write-json (cons slug l) out)) #:exists 'truncate)))) +(define (g) + (let* ((f (athings:file)) + (h (athings:latest (athings:hash f) (athings)))) + (call-with-output-file f (λ (out) (write-json h out)) #:exists 'truncate) + (athings:index (slug)))) + |