-
The following example shows the issue: https://psalm.dev/r/3e6b2451c3
both map and array_map act the same way, however, psalm complains about missing `@param` type declaration for the closure with …
-
**What?**
User wants to have generic data type as parameters for functions
**How?**
Implement generic parameters for functions
```typescript
function funcName(arg:T):T{
}
```
nidin updated
7 years ago
-
```rust
struct BinOp i32> {
lhs: i32,
rhs: i32,
f: F,
}
```
-
The javadoc in com.microsoft.azure.functions.annotation.HttpTrigger presents com.microsoft.azure.functions.HttpResponseMessage as if it were generic (which actually makes a lot of sense), but the http…
-
**Is your feature request related to a problem? Please describe**
Suppose we have an interface and an extension function on a generic type constrained in upper bound by this interface
```
interfa…
-
Explicit generic parameters aren't parsed, and `impl Trait` arguments don't work due to the generic parameter the macro adds itself. This makes it difficult to abstract SIMD code.
I can't help but …
-
**Describe the style change**
The suggested style change regards the type parameter syntax introduced in Python 3.12.
When formatting lines too long, I think line-wrapping should occur in the a…
-
The Gadget subsystem defines a [number of Gadget API functions](https://elixir.bootlin.com/linux/v6.3/source/include/linux/usb/gadget.h#L602). While some of them look specific to the Composite Gadget …
xairy updated
2 months ago
-
-
@tycho01 has closed #78 which was very related to this.
I have the following *silly* array map
```typescript
let map = (f: (x: A) => B, ar: Array) : Array =>{
let next = ar.pop()
return t…
tgelu updated
5 years ago