Closed kengruven closed 3 months ago
Thanks for the suggestion! I've pushed an update, but let me know if it's still unclear. Doc (and other) PRs are always welcome so feel free to make your own edits if you feel something could be explained better.
I think what you wrote looks great. Thank you!
list-view
documentation is a bit ambiguous in a couple places, which I had to figure out by trial-and-error or reading the source code:make-view
has type(-> any/c any/c (is-a?/c view<%>))
. Below this, it says it "renders the entries by passing each one as a derived observable to make-view". Later in an example it says "The list-view renders each individual counter by passing in a derived observable to its make-view argument.key
has type(-> any/c any/c)
. The documentation only says "Each entry must have a unique #:key."entries
as input, and returns a value which will be used as a key inmake-hash
for thislist-view
, i.e., it's compared usingequal?
, and it only has to be unique within thislist-view
.Maybe it's just me, but these details were not obvious to me.