home
/
code
/
tt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651cf37
)
Leave reminder to parse metadata along with messages
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 30 Nov 2021 21:30:43 +0000
(16:30 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 30 Nov 2021 21:30:43 +0000
(16:30 -0500)
tt.rkt
patch
|
blob
|
blame
|
history
diff --git
a/tt.rkt
b/tt.rkt
index
1105fad
..
a51d9ab
100644
(file)
--- a/
tt.rkt
+++ b/
tt.rkt
@@
-407,6
+407,8
@@
(module+ test
(check-equal? (str->lines "abc\ndef\n\nghi") '("abc" "def" "ghi")))
+; TODO Should return 2 things: 1) msgs; 2) metadata parsed from comments
+; TODO Update peer nick based on metadata?
(: str->msgs (-> Peer String (Listof Msg)))
(define (str->msgs peer str)
(filter-map (λ (line) (str->msg peer line))
This page took
0.02817 seconds
and
4
git commands to generate.