-
As much as possible, functions taking a `vec` should return a `vec`. Use {generics} if possible.
- [ ] `c()`
- [ ] `head()`, `tail()
- [ ] `reverse()`
- [ ] `sort()`
- [ ] `set-wise operations
-
To consider at some point:
- [ ] Harmonize variable names (`.`, `_`, camelCase)
- [ ] Harmonize messaging levels (`verbose` usage) across functions
- [x] Harmonize use of `::`. Let's try the fol…
-
```rust
trait Trait {
fn fun();
}
fn takes_static_fn(_: impl Fn() + 'static) {}
fn test() {
// these work
takes_static_fn(|| T::fun());
takes_static_fn(T::fun as fn());
…
-
Please provide a succinct description of the issue.
```fsharp
// ok
let numericOpsPlus>(num: 'T) =
num + num
// FS0670 - code is not sufficiently generic
let numericOpsPlusPlus>(num: 'T)…
-
Would be good to have generic functions for common input validation tasks. Even better to depend on a well-liked/tested library for this.
Example: checking for an integer > x, which happens in a no…
-
### The following program `sample.go` triggers an unexpected result
```go
package main
import "fmt"
var values = []string{
"hello",
"there",
}
func print[T any](v ...[]T) …
-
We revisit this in stage#2 or later so keeping this task to track support of generic entry functions.
@nvjle suggested that one approach would be to have the compiler generate one generic function …
-
The time for querying the arguments of generic functions increases with the number of attached packages. This causes delays while typing or moving the cursor within generic functions. These delays are…
-
The current ATE DLL contains example functions for registering a TPM or BMC device. These should be removed and replaced with a function to register a generic OpenTitan device.
-