Dustin Getz

Results 288 comments of Dustin Getz

Or is there a way to have the catch-all syntax return the unmatched remainder as a route-param?

/api/a/b/c/... to produce {:handler :api :route-params ["a" "b" "c" ...]}, or at least {:handler :api :route-params "/a/b/c/..."} On Fri, Apr 8, 2016 at 1:06 PM, Malcolm Sparks [email protected] wrote: >...

IMO any/all tutorials need to work in ClojureScript (so m/? outside process block should not be in the tutorial, instead describe the task interface and how to run it directly)...

```clojure (tests "Missionary signals" (def !x (atom 0)) ; atoms model variable inputs (def >x (m/watch !x)) ; "recipe" for a signal derived from atom ; a signal is a...

I have been collecting REPL transcripts like this – I will figure out where to put them (hopefully with CI) when we come up for air – hopefully in July....

```clojure (ns dustin.y2022.missionary-switch (:require [missionary.core :as m] [hyperfiddle.rcf :as rcf :refer [tests ! %]]) (:import [missionary Cancelled])) (hyperfiddle.rcf/enable!) (tests (def >x (m/ap (let [>a (m/?> (m/seed (range 5)))] (m/?> (m/seed...

TLDR: two problems with current design: - userland has to handle the terminal emission during cancellation - if the cancellation is not immediate, the switch is delayed

> Function application can be used to describe parallel combination (h (f x) (g x)) The s-expression (h _ _) is a function call h that takes two parameters, and...

```clojure (ns dustingetz.scratch (:require [missionary.core :as m] [hyperfiddle.rcf :refer [tests]])) (defn iterator-consumer "blocking iterable pattern" [^java.util.Iterator it] ; why not one thread tied to the iterator extent? ; (future (while...

Url fragments are used for more things than hacks, for example table of contents links: ``` navigate to Heading Heading ```