categorize (: A set of rules :) let $post-view-rules #$ [ xbow:eq(0), (: no one :) xbow:le(10), (: just a few :) xbow:le(100), (: almost successful :) xbow:gt(100) (: successful posts :) ] 45/55 — XML Prague 2020
categorize (: we can now label those for human consumption :) $posts "# xbow:categorize( $post-view-rules, xbow:pluck('views')) "# xbow:label([ 'no one', 'just a few', 'almost successful', 'successful posts' ]) 47/55 — XML Prague 2020
What I would like to see • the discussion to continue • a process to extend and evolve xquery • select function by arity and type • async, await (over promises) • generators • tooling (!) 54/55 — XML Prague 2020