-
-
When using metaprogramming to create struct constructors, the linter gets confused and is no longer able to infer types correctly.
Minimal example:
```
struct A
x::Int
end
mytype = :A
@ev…
-
##### import_options (and tests)
- **cannot** do until model_logic.teardown
- save: raise vs noop
- :on_belongs_to_create_other => :build # :raise_error is default
- override belongs_to.build_other
…
-
Provide a generalized pipe/compose metaprogramming infrastructure.
```js
pipe.do = Tuple('do', 'fn'); // One element tuple as a tag
pipe.await = pipe.do((p, fn) => Promise.await(p));
```
When…
koraa updated
3 years ago
-
Would it be possible to make
```julia
@parameters begin
p [description="A parameter"]
d [description="Another parameter"]
end
```
valid notation so that it can be used in metaprogrammin…
-
From the [targets manual](https://books.ropensci.org/targets/static.html#metaprogramming):
> Sometimes, a pipeline contains more targets than a user can comfortably type by hand. For projects with …
-
I'd be extremely interested in whether the metaprogramming concepts of kube builder 'annotations' play well with Borg. If so, I'd like to consider using in during an upcoming kubernetes operator refac…
-
### 🐛 Describe the bug
Recently it took multiple people and many suggestions to debug why we were getting `SymIntArrayRef expected to contain only concrete integers` error.
The common reasons are…
-
This is slightly different than #2021: it raises the same error, but this time, the type of the variable appears to be correct. I myself wonder how this code runs without error, but it does. (This is …
-
メタプロ本に載っている例: https://leanprover-community.github.io/lean4-metaprogramming-book/main/07_elaboration.html#mini-project
```lean
elab "#findCElab " c:command : command => do
let macroRes ← liftMac…