In your command-line run the following commands:
brew doctorbrew update
| defmodule SomeAssemblyRequired do | |
| import Bitwise | |
| def run(lines) do | |
| lines | |
| |> String.split("\n") | |
| |> Enum.reject(&(&1 == "")) | |
| |> Enum.reduce([], fn line, binding -> | |
| [operation_or_value, var] = line |> String.split("->") |> Enum.map(&String.trim/1) | |
| val = eval(operation_or_value, binding) |
| defmodule SomeAssemblyRequired do | |
| def run(lines) do | |
| lines | |
| |> String.split("\n") | |
| |> Enum.reject(&(&1 == "")) | |
| |> Enum.reduce([], fn line, binding -> | |
| [operation_or_value, var] = line |> String.split("->") |> Enum.map(&String.trim/1) | |
| {val, _binding} = eval(operation_or_value, binding) | |
| Keyword.put(binding, String.to_atom(var), val) | |
| end) |
In your command-line run the following commands:
brew doctorbrew update