Richard Carlsson

Results 43 comments of Richard Carlsson

> 2. There are two places in patterns that support guard expression instead of patterns: the size expression in binaries and map keys. Are you warning and requiring variables to...

> There is another warning we have added to Elixir which I found extremely helpful which is to warn if an underscored variable is matched or repeated in a pattern....

> Doesn't the purpose of this get a bit broken when the operator is optional? No, that's the way it needs to be introduced, to allow people with existing codebases...

I don't quite see what it is that you're against, though, Fred. On average, you'll only find a couple of instances of already-bound variables in any module (and the relative...

I see how a test suite with a large number of lines with matches containing one or more already bound variables could be painful to update by hand, but on...

Den tors 14 jan. 2021 kl 15:28 skrev Fred Hebert : > I generally like the power of Prolog-style unification and feel that > moving towards it would be more...

> Either way, the better systematic fix here if we really want to address the unexpected surprises would be to make these conditional expressions with matches have their own scope....

Is that output from a Mac OS image? The paths refer to `/usr/local/Cellar/...` which I assume only would exist on a Mac using Homebrew. Anyhow, the configuration is clearly wrong...

To achieve this, it looks like the logger has to be started later than the setup phase in the node bootup sequence, so the configuration gets read before the node...

Closing this because Lager simply has no concept of disabling file creation depending on the log level. See #4228 for making it possible to run in a read-only environment. Trying...