expect(
      Path.map(
        p => [ ...p, "bar" ],
        Path.directory("foo")
      )