Abstract over Path more properly

We don't expect "Path Abs" everywhere anymore. The functions
have been made to be more generic. A user can still pass
absolute paths, so we don't lose any safety. However, some
function implementations may be more tricky.
This commit is contained in:
2018-04-11 00:44:47 +02:00
parent 1c95c9f8f9
commit 3e6d93182a
4 changed files with 191 additions and 139 deletions

View File

@@ -3,5 +3,6 @@ module HPath.IO where
import HPath
canonicalizePath :: Path Abs -> IO (Path Abs)
canonicalizePath :: Path b -> IO (Path Abs)
toAbs :: Path b -> IO (Path Abs)