-
e.g.,
```
φ :: (a -> a -> Bool)
-> (a, a -> Bool)
-> a -> (a, Bool)
{-@
φ :: p:(a -> a -> Bool)
-> (x::a, y:a -> {p x y})
-> z:a -> (w::a, {p w z})
@-}
φ p (x, pxy) = \y -> (x…
-
I've read through the chapters 1 to 7 and haven't come accross a definition of the syntax of refinement types. I was expecting to see it rather early in the book. A BNF would be helpful. It seems that…
-
Refinement types ala Wadler's complement to blame, e.g. `f(n:real{n>= 0})`
-
**_Bug report_**
* [x] I've checked documentation and searched for existing issues
may be somehow dependent on https://github.com/mobxjs/mobx-state-tree/issues/1114 ?
* [x] I've made sure my …
-
https://www.youtube.com/embed/vQrutfPAERQ?autoplay=1&feature=oembed&wmode=opaque
-
Proposal:
```
from typing_extensions import Annotated
UserId = Annotated[int, lambda u: 0 < u < 100]
num1 = UserId(80) + 1 # ok
num2 = UserId(800) + 1 # TypeError
```
[PEP-593](https://w…
-
_Submitted by:_ _Carl_
bc.. >> third types-of :insert
== make typeset! [none! logic! integer! decimal! percent! money! char!...]
p.
Refinements should just be empty or none.
**CC - Data** [ Versi…
-
**Issue by [BryanQuigley](https://github.com/BryanQuigley)**
_Saturday Dec 13, 2014 at 03:46 GMT_
_For earlier discussion, see https://github.com/rust-lang/rust/issues/19801_
_This issue was labell…
-
Viral Enhancers and cards like Advertising that key off a card's cost or requirement will need this.
-
What would it take to allow dependent refinement in (1) function inputs (2) function outputs (3) let bindings.