     end
 
     fun = fn
-      list_acc, {:cont, elem} -> [elem | list_acc]
-      list_acc, :done -> list ++ :lists.reverse(list_acc)
-      _, :halt -> :ok
+      list_acc, {:cont, elem} ->
+        [elem | list_acc]
+
+      list_acc, :done ->
+        list ++ :lists.reverse(list_acc)
+
+      _list_acc, :halt ->
+        :ok
     end
 
     {[], fun}

      map_acc, :done ->
        map_acc

      _, :halt ->
        :ok
    end


      acc, :done ->
        acc

      _acc, :halt ->
        :ok
    end

