-
The current languages that support Candid generation (Motoko and JavaScript) allow for inline types (defining inlined structures and arrays), but new languages that we want to add support to use Candi…
hansl updated
4 years ago
-
Hey, I'm pretty new to AssemblyScript, and not sure how to achieve what I want and if AssemblyScript already supports this. Essentially I am trying to compile AssemblyScript to Wasm to deploy to ICP (…
-
The shorthand
```
| := N : where N is either 0 or previous + 1 (only in records)
```
might be too easy to use accidentially and with unwanted effect (as has happened to me, see https://git…
-
Hello there, I wanted to create a benchmark of this project and landed on the examples which looked promising.
However, this happened. It fails to build!
**$ dfx canister create sub**
Creating …
-
- Enumerate data structures and their interfaces
- Consider standard interfaces across multiple data structures
- Keep it simple, don't over-engineer
- Don't need to create explicit type hierarchie…
ghost updated
3 years ago
-
One of the frequent complaints about Motoko syntax has been around object syntax, and it's subtle (and context-dependent) distinction from blocks. See e.g. #1294. The current solution was the result o…
-
In previous discussion on #890, the validity of using an unsafe unwrap operator for options came up. We don't want to encourage that, since unwrap essentially is a downcast, and has all the same probl…
-
联合周报第 181 期开始投稿 :tada:
-
This is possible in the interpreter, but so far not accessible on the actual platform. One particular consideration is that the platform will likely require making actor creation async.
-
There is now a test suite in candid at https://github.com/dfinity/candid/tree/master/test, and we should run it as part of our Motoko test suite.
I think the most plausible way is to write a stand-…