|
|
|
|
|
by sodapopcan
2087 days ago
|
|
Ha! That's a new use of `!` I haven't seen :) But I suppose we are saying completely opposite things. I use rebinding only when I re-bind once. In your example, I would use pipes with a single re-bind: def foo(bar) do
bar =
bar
|> decorate()
|> some_more()
{:ok, bar}
end
|
|