Packages

Allows the use of `when` clauses on assignment statements as an alternative to using `if`, avoiding the need for boilerplate `else` clauses which return the original variables when the condition is `false`. For instance: ```elixir x = 1 when x == nil ```

Dependencies of assign_when

0 dependencies

assign_when has no dependencies.

Checksum

Dependency Config

mix.exs

rebar.config

erlang.mk

Package Details

Downloads Last 30 days, 0.2.0
0 20 40 60 80

this version

15 825

yesterday

6

last 7 days

134

all time

15 902

Last Updated

Apr 19, 2025

License

Apache-2.0

Build Tools

mix

Publisher

demerphq demerphq

Links

Owners