M. Lanza

Results 45 comments of M. Lanza

Well, one use case is doing ClojureScript in JavaScript, [as I've been doing](https://github.com/mlanza/atomic) for many years now. ClojureScript provides maps and vectors instead of objects and arrays. Apart from Immutable.js,...

In my library I define protocols (my own version of the proposal for first-class protocols). In it, I define an equivalence protocol so that I can do exactly what you...

In part, adding the `!` is meant to imply the added uniqueness constraint. In every other respect it might as well just follow what an array does (or what a...

As a follow on proposal, it might be interesting if sets also had their own literal syntax. ```js const s = new Set([1,2,1,3,2]); //1,2,3 ``` Why not? ```js const s...

If `a` and `b` are ordered sets then no. If vanilla sets, yes. I would suggest the default is vanilla sets. But that begs another question about whether or not...

But how should the immutable counterparts compare and decide on equality?

I am just reflecting today's earlier comment about equality. ```js const result = #![x, y] === #![y, x]; //true? ``` It's true if sets have no ordering semantic. If they...

FYI. I have a [library](https://github.com/mlanza/atomic) in which I implemented my own custom protocols long before I was aware of this proposal. I too ran into the realm issue when I...

In thinking about "us" and "them" semantics, I guess ownership and, thus, provenance might be extended to include whatever named parties you wanted. Two parties I feel works for most,...

The `--system-prompt` flag is really just knowing what you're actually communicating to the model. You have a `/thinking` toggle in the TUI. Alternately, a `/prompting` toggle would provide an unfiltered...