Swift Free-monad Resources