@fraserpricee Out of interest, is this deterministic - ie can you replay and explore the same iterations zooming in and slowing down different views from the same starting point?
@fraserpricee Nested? To some degree, sure, but surely boundary violations are also the rule. BTW have you seen spiral-like patterns (as in BZ reaction) emerging?
@dcolascione@kellabyte@dusangran It's funny, I've been thinking something similar with respect to translating (a subset of) CUE into regular languages. Choosing the right subset and/or changing the language to fit is the challenge here.
@dcolascione@dusangran@kellabyte There's no policy force that'll come after you, but that's why they're just conventions! But they still exist. One convention in Go is to avoid using panic/recover for control flow across API boundaries, but you could definitely do it. But almost no-one does.
@dcolascione@dusangran@kellabyte When I say "catching" a panic, I mean using `recover`, not using `defer`. The latter is what allows unwinding safely on panic, not the former.
@dcolascione@dusangran@kellabyte That is, it really _is_ conventional to treat them differently from exceptions, even though clearly their actual functionality is the same. Convention matters here.
@marius Very excited to run across Apex, but a little sad it was mac-only. 75 minutes with Claude gave me this so I could at least play with it. https://t.co/3Qp3qBD7tA
You potentially might find it of interest.
Massive update. Previously type checking was possible only for closed types. This limitation has now been removed.
Type checking is now simply a consequence of regular constraint propagation, previously it was a separate pass. Nevertheless, the system is still statically typed in the expected sense.
Additionally the builtins, the standard library, and even CUE operators were missing types. Now they have precise types so more interesting code can be written (and type checked). A type listing is provided: https://t.co/ktj9jPfU1o). The listing uses explicit (desugared) `forall`, even though all examples use the sugared form. This can be considered both an advantage and a disadvantage. Looking at the types is very informative.
Something has been lost, however. Existential types and dependent types are gone. Existential types are interesting (and in some sense almost inevitable), but they can form a separate proposal. (Additionally the burden on the existing prototype was too high. It was too costly to iterate on the implementation with existential types still present.)
The old playground that still has existential types as well as the old paper can be found at: https://t.co/8M1bjy1L2I.
The universal-only paper (v9) is now better organized, shorter, and easier to read. The semantics hasn't changed whatsoever.
There exists an unpublished partial Lean formalization of the current paper.