What do you think about this :

```
List.replace_at(my_list, 1, &(&1 + 1))
```

Instead of 

```  
List.replace_at(my_list, 1, Enum.at(my_list, 1) + 1)
```

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/6ea8c2e4-346c-4f94-9db1-f0dce744cf31n%40googlegroups.com.

Reply via email to