-
```swift
public type Foo : Deinitializable {
public memberwise init
public var data : Int
public subscript(_ arg: sink Int): Int {
inout {
yield &data
}
}
}
publi…
-
Hi , I’ve been using the cosine_similarity_loss function from your repository, and I’d like to suggest a small modification to improve its consistency in reflecting loss values.
Current Implementati…
-
### Steps to reproduce
1. Have a screen with a `WebViewWidget` (non-empty) and a `TextField`.
2. Focus the text field and type something. It works.
3. Tap the web view. The text field still has the…
-
We want a tidied up version of an attainment file as a test example for the API testing. Ideally we'd have two versions, the second of which having an extra year of data.
Once ready both versions s…
-
Mypy generates no error, even though the code is unsafe:
```py
class C[T]:
a: T
def f(x: C[int] | C[str]) -> None:
x.a = 1 # No error
c = C[str]()
f(c)
print(c.a, type(c.a)) # 1,…
-
### Reproducing the behavior
```
(any f xs) = match (filter f xs) {
List/Nil: 0
List/Cons: 1
}
(filter f List/Nil) = List/Nil
(filter f (List/Cons x xs)) = switch (f x) {
0: (filter f xs…
-
![image.png](https://raw.githubusercontent.com/mukund1403/ped/main/files/5b84f74a-ca43-4c55-9fe9-44e4407f1b1e.png)
Would it perhaps be better to throw an error if the quantity entered is more than th…
-
Expected behaviour:
```
sage: hermite(n,x).diff(n)
diff(hermite(n, x), n)
```
for all cases where we throw runtime or not implemented errors at the moment. This concerns mostly orthogonal poly func…
-
Say, I have a type
```idris
data X : Fin n -> Fin m -> Type where ...
```
and want to derive generator for it with all arguments given. I'd like to write something like
```idris
genX : {n : Na…
-
For sufficiently large indexes, `LowIndexNormalSubs` will throw the error below. If I run, for example:
```
f := FreeGroup("a", "b", "c");;
a:= f.1;; b := f.2;; c := f.3;;
g := f / [a^2, b^2, c^2…