Vadim Tsvetkov
Vadim Tsvetkov
This PR adds settings for elixir built-in formatter that can be later used in `.formatter.exs` of one's project, e. g. ```elixir [ inputs: ["*.{ex,exs}", "{config,lib,test}/**/*.{ex,exs}"], import_deps: [:amnesia] ] ```
It would be nice to have Arrows running on top of GenStage where each arrow is producer/consumer. Such feature allows to use best of functional and erlang worlds.
## Summary This PR fixes `Witchcraft.Chain.do_notation/2`. Previously it ignored second argument assuming any `chainer` is `Witchcraft.Chain.chain/2`. However, there is a call of `do_notation/2` across Witchcraft codebase in which `chainer` other...
As far as I see, there are multiple places where second argument of `chainer` is used: https://github.com/witchcrafters/witchcraft/blob/73e3cc6aee1a06e738a33c2aa8736ac19907ff96/lib/witchcraft/chain.ex#L410-L431 Instead `>>>` (`Witchcraft.Chain.chain`) is used. Is it designed to be so, or it...
If `chain/1` is called inside `iex` session once and I try to call it the second time, Elixir tells that `chain/1` does not exist. `use Witchcraft` or `use Witchcraft.Chain` fixes...
When called with first argument being tuple, `Functor.map/2` applies a function only to the last element of tuple: ```elixir iex(1)> use Witchcraft iex(2)> map({1, 2, 3}, fn x -> x...
**Describe the problem you're proposing to solve** Now we have to write a bunch of staff in various files. And it is not clear which URLs Kaffy uses, so putting...
When synchronising `Animator` with `NetworkAnimator` component the second client (if number of clients is greater than 2) was not synchronised when `IsServerAuthoritive()` is false. ## Changelog - Fixed: `NetworkAnimator` was...
## Summary This PR fixes a compilation error, when `defcurry` or `defpartial` are declared as zero-arity functions without parentheses: `defcurry f, do: 1` and `defpartial f, do: 1` respectively. ##...
Turns out, in Elixir AST if a function/0 is defined without parentheses (`def function, do: nil`), the arguments that are passed to macro is `{:function, _, nil}`, instead of `{:function,...