-
@nhaarman , the area that I was trying to test was like this
```
val testArg = mock Unit>()
val result = someClass.doSomething(testArg)
verify(testArg).invoke(any())
```
And the error comes …
-
```scala
import stainless.lang._
import stainless.collection._
import stainless.annotation._
object AssertedLemma {
@extern
def p(x: BigInt, y: BigInt, z: BigInt): Boolean = {
(??? : …
-
Hello,
Is there a way to disable the kernel init RENAME_SWAP ?
I think the last flag here:
https://github.com/hanwen/go-fuse/blob/fc0fdbf6a622bd76c1f8f7c3cd9a09617fbbefb2/fuse/opcode.go#L105
S…
-
# Steps to Reproduce
Consider the following code:
```idris
total
constant : Nat -> Nat
constant n = n
-- clearly this isn't total
explode : Nat -> Nat
explode n = explode (S n)
total …
-
JsonObject and especially JsonArray would be good candidates to enrich with monad (map, flatMap, filter) and higer-order functions (forall, etc.). As they are Java types at the moment, it needs some n…
-
### 🐛 Describe the bug
Hi,
I'm trying to make my [MoE Triton kernel](https://github.com/RobertCsordas/moe_layer/blob/master/triton_src/moe_layer/cvmm.py) work with torch.compile(). I know that thi…
-
### Page URL
https://dart.dev/language/functions/
### Page source
https://github.com/dart-lang/site-www/tree/main/src/content/language/functions.md
### Describe the problem
At
https://dart.dev…
-
When using dynamic dispatch or when defining custom derivatives, the custom derivative itself may no longer be differentiable.
Currently the implementation treats all custom derivative functions as…
-
In LRM 18.5.12, there are a set of restrictions on what kind of functions are allowed in constraints. Are all of these checks implemented?
- Functions that appear in constraint expressions cannot…
-
We have added an optional position argument to nearly all callback functions that are invoked once for each item in a sequence. This argument is omitted from the new scan-left and scan-right functions…