-
As described in http://article.gmane.org/gmane.comp.mathematics.hol/2118 the HOL Light approach to this has the advantage over our current set up of not depending on pairs, and not using paired-abstra…
mn200 updated
1 month ago
-
Created by: @polygonhell
Source: https://github.com/RedisGraph/RedisGraph/issues/2773
I would expect the n from the list comprehension to be used to restrict the embedded pattern comprehension.
`MA…
-
I'm trying to sort out how I might process the elements of a sequence in the context of a session. I've tried a couple things but I'm stumped:
1. I tried "iterating" through a sequence using list c…
-
### What version of CUE are you using (`cue version`)?
$ cue version
cue version v0.0.0-20240507175810-9efad9041981
go version go1.22.1
-buildmode exe
-compiler gc
Def…
-
# Bug report
### Bug description:
```python3
def f(x):
def g():
print([x for x in range(10)])
def h():
print(x)
return h
print(x)
return g
f(1)()()
``…
-
**Describe the style change**
Concatenated list comprehensions should be put one-per-line rather than splitting within a comprehension.
**Examples in the current _Black_ style**
```
…
-
## Compiler version
`3.3.0`, `3.3.1-RC4`
## Minimized code
With `-Wunused:all`
```Scala
@main def run(): Unit =
val dummy = 1
for x
-
Ruff states that a list comprehension should be used, but the (unsafe) fix changes the syntax.
I have a script to make a POST request against an API and one of the inputs is a list of paramete…
-
- add a point to list comprehensions showing how comprehensions can be nested (http://fsr.github.io/python-lessons/exercises/13_comprehension.html -> cartesian product)
- the generator chapter of pre…
-
A common pattern that has evolved in WDL is the need to convert a list of type A into a list of type B. Most programming languages support list comprehension to accomadate this, but WDL has no built i…