diff options
author | Arun Isaac | 2022-03-17 15:58:35 +0530 |
---|---|---|
committer | Arun Isaac | 2022-03-18 16:23:42 +0530 |
commit | bc340c9a1b6e2f2cae79eefab990958a29c0b3d8 (patch) | |
tree | fb68a0fdc2f652862fbd0ee78c9fcf2da38155a4 /bin | |
parent | f52ad25548bb142755a9d18a925b7d9d161d0d55 (diff) | |
download | tissue-bc340c9a1b6e2f2cae79eefab990958a29c0b3d8.tar.gz tissue-bc340c9a1b6e2f2cae79eefab990958a29c0b3d8.tar.lz tissue-bc340c9a1b6e2f2cae79eefab990958a29c0b3d8.zip |
issue: Rename issue-open to issue-open?.
issue-open returns a boolean. So, it makes sense to name it like a
predicate.
* bin/tissue (tissue-list): Replace issue-open with issue-open?.
* tissue/issue.scm (tissue): Export issue-open? instead of issue-open.
(<issue>): Rename issue-open to issue-open?.
* tissue/web.scm (issue-listing): Replace issue-open with issue-open?.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/tissue | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ List issues. (list-transduce (compose (tenumerate 1) (tfilter (match-lambda ((_ . issue) - (and (issue-open issue) + (and (issue-open? issue) (or (not (assq 'assigned args)) (member (assq-ref args 'assigned) (issue-assigned issue))))))) |