-
```motoko
actor {
let A = 3;
public query func greet(id : Nat) : async () {
switch (id) {
case A {};
case _ {};
}
};
};
```
```
$ moc --version
Motoko compil…
-
Hi,
I really like your library and plans to use it in my project. However, I dnt quite like the implementation of motoko's hashmap. Is there any plan for StableTrieMap for release
-
... which conflicts with the compiler generated one.
Possible fixes:
1. reject shared functions called _motoko_async_helper (or more generally, beginning with double underscore, reserving that fo…
-
Users currently have to write `Principal.fromActor(Foo)` to get the `principal` of an actor (including their own `self`). This is a bit silly, since an actor reference inherently is represented by a p…
-
**Describe the bug**
When using the JS agent to make requests to Rust canisters methods that return `null`, the agent throws the error: `Wrong number of return values`.
**To Reproduce**
1. Create…
-
e.g. `with` is missing.
Refactor to use a shared keyword table?
-
I created the following functions to work around not being able to pass the operators as arguments.
https://github.com/dfinity-lab/motoko/blob/8977c86eedbe96131106d742e53663aaa1c0ca3f/stdlib/int.mo…
-
Apologies if this is the wrong place for this,
I'm having trouble getting mops to work at all. Since I installed it, I can't get my canisters to deploy.
The error mentions something about a missing …
-
At https://internetcomputer.org/docs/current/motoko/main/base/Debug it is forgotten to say whether `Debug.trap` reverts.
At the same page it also should be mentioned whether `throw`, `reject`, and …
-
Vessel currently does not support imports from private libraries. This is due to a limitation of the headers passed by the rust_dhall crate https://github.com/Nadrieril/dhall-rust/issues/134.