• thomie's avatar
    Insert slash when first argument to joinDrive does not end with one · c986cde9
    thomie authored
    Before:
    joinDrive "/foo" "bar" == "/foobar"
    
    After:
    joinDrive "/foo" "bar" == "/foo/bar"
    
    The first argument to `joinDrive` should arguably always be a drive. On Posix
    this means it should be, and thus end with, a single slash. It is currently
    undocumented what should happen when it doesn't end with a slash (throw an
    exception?). Since it is unlikely anyone is relying on the original behavior,
    this change is hopefully ok to make.
    
    The reason for this change is to make `joinDrive` similar in semantics to
    `combineAlways`.
    c986cde9
To find the state of this project's repository at the time of any of these versions, check out the tags.
changelog.md 1.14 KB