Ill attach my question to this topic. I just refactored some code to use with and I wrote it with equal sign
with {:ok, pid} = :file.open(@path, [:binary]),
{:ok, info} = :file.read_file_info(pid),
then double checked the docs and it uses the left arrow
with {:ok, pid} <- :file.open(@path, [:binary]),
{:ok, info} <- :file.read_file_info(pid),
optimistic version works both ways - is there any difference here??


















