-
### Details(细节)
- `abi.encodeCall`: Syntactic sugar vesion of `abi.encodeWithSelector` and `abi.encodeWithSignature`
The most commonly used method in projects is `abi.encodeCall`.
Its advanta…
-
If this workshop is aimed at beginners I think the one of the first things should be a definition/contextual description of a pure function.
One thing we've found in Nazareth is that we need to be …
-
Atm ExEnv does not allow any function application in configs for security reasons. But it actually can safely accept any pure function application. For example
```elixir
foo: -36
```
will not…
-
With modular implicits, it will be important to be able to lift functor applications to toplevel even when not inlining, and allow sharing of such expressions.
This could be done as a special case of…
-
Really nice modularisation of all your code, but you're search function relies on the ```food``` variable to work, so testing it you would also have to require in food - maybe pass it as a second vari…
m4v15 updated
7 years ago
-
Julia 1.0:
I just realized, that this is a gotcha one easily runs into, especially when using the `@.` macro:
```Julia
a = rand(1000, 1000)
c = 1.0
out = similar(a)
julia> @btime $(out) .= $a …
-
It might be good to know if a particular function is pure (i.e. it doesn't have any side-effects and its output only depends on its input).
This knowledge would allow us to do some interesting tran…
-
With the upcoming versions of solidity, the keyword `constant` will stop being used and will be replaced by `pure` and `view`. Are there plans for integrating that in the tool? (just stumbled on this …
-
If we try to compose two systems with equations that have the same time derivative of the same variable, `operator_compose() `will return an error unless both systems are pure differential/reaction ra…
-
With the compiler plugin we can automatically track purity in non-suspend functions and error if the user is performing unsafe ops and not inside suspend or IO.
The steps for this implementation may …