-
I ran benchmarks provided in `coerce` crate on my 5950x and got this
```
Running benches/actor_creation.rs (/home/pranay/scratch/wd/Coerce-rs/target/release/deps/actor_creation-27b48128a604a745…
-
I'm having an issue with the coerce functionality. The way I see it, this function does three things: type conversion, filling in defaults, and filling in required properties. When I use the coerce …
-
## The Problem
When an `Array` or a parameterized `Hash` are coerced into a `Capture` all keys are wrongfully stringified and all `Pair` elements or hash keys become named arguments. This makes the…
-
`takeUntil`'s IDL is as follows:
```webidl
interface Observable {
// takeUntil() can consume promises, iterables, async iterables, and other
// observables.
Observable takeUntil(any notif…
-
### Rule details
Fail on values that aren't safe for interchange
### What type of rule is this?
Warns about a potential problem
### Example code
Per https://socket.dev/blog/judicious-json
Some v…
bmeck updated
3 weeks ago
-
Hi All,
Can we add a coerce=True boolean flag to the enforce_typing decorator, so that if coercable types are found, we dont fail?
For example assume the variable x is typed to be float and we i…
-
Hi, I am running into an issue with blocks in rbs. It should be noted that this spec passes with rbs disabled.
```
rbs 3.5.3
```
given the following RSpec spec:
```ruby
describe '.paramet…
-
This gives me the heebie-jeebies. The function pointer doesn't have refinements but the closure or function definition you are coercing from may, so this should involve function subtypin…
-
I wonder if the following feature could be added to the language?
```ocaml
module M: sig
type t = private string
end = struct
type t = string
end
(* This does not type check becaus…
-
We're using schema to validate Yaml; specifically, we annotate our Yaml data with source positions and then use coercions to validate the un-annotated data. We'd like to display nice error messages us…