assign_when 0.1.0

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 ```

License

Apache-2.0

Downloads

0 20 40 60 80 Last 30 days, 0.1.0
  • 12 12
    this version
  • 18 18
    yesterday
  • 26 26
    last 7 days
  • 26 26
    all time

Versions (2)

Dependencies (0)

Recent Activity

  • Apr 19, 2025 Publish documentation for release 0.2.0
  • Apr 19, 2025 Publish release 0.2.0
  • Apr 19, 2025 Publish documentation for release 0.1.0
  • Apr 19, 2025 Publish release 0.1.0

Show All Activities

Config

mix.exs
rebar.config
erlang.mk

Checksum

Build Tools

mix

Owners

Publisher

demerphq

Dependents (0)