-
After defining `acts_as_paranoid` for models, it will add default_scope `not_deleted` for the model.
Now, we have such a strange req., within one particular method, we hope to ignore `acts_as_paran…
-
One could define a function to operate on a single string like so:
``` r
`g"`
wurli updated
9 months ago
-
When I format this example code:
```
struct A
{
int i;
};
struct B {};
class C
{
void foo();
};
class D {};
```
With this `.clang-format` file:
```
BraceWrapping:
AfterClass…
-
To reduce bug surface area have a small formally verifiable core upon this the rest of the language is built. This means:
- large part of the language is written in metaprogramming/macros using rules…
-
https://github.com/SAP/chevrotain/issues/601
Basically chevrotain uses the ES6 classes for tokens. And when we use the class, instead of passing the class name into the `this.CONSUME` function, it …
-
Date:2008-04-20 20:11
Priority:3
Submitted By:Dean Wampler (deanwampler)
Assigned To:Dean Wampler (deanwampler)
Category:Documentation
State:Open
Summary:Figure out how to get RDocs generated for meth…
-
The new metaprogramming tools for defining types currently don't work with function-call syntax.
```
>>> data I = Int64
>>> I("12")
Error: wrong number of arguments; expected 0 but got 1
>>…
-
Hello,
I couldn't compile openGM (master branch) with DAOOPT external library. I got this error:
```
[ 21%] Building CXX object src/external/CMakeFiles/external-library-daoopt-shared.dir/DAOOPT.src/…
-
## Compiler version
3.5.1
## Minimized code
A simple macro that has a quoted type pattern for a `'Map[k, v]`:
Macro.scala:
```scala
import scala.quoted.*
object Macro:
inline def mat…
-
Here's the roadmap I have been discussing with @ericjavier for a true functional language for C++ metaprogramming:
1. _Language Level_
- Algebraic datatypes
- Typeclasses
- Bindable/curryable…