Given an arbitrary path path and some other path base to a directory, how can I get a new relative path from base to the same object in file system as path?
For example (relpath #p"~/foo" #p"~/bar/") must give me #p"../foo". There is such a function in Julia, for example, which is also called relpath. Is there anything like that in Common Lisp (either in the standard or as a third-party library)?