parent
3baecb7b51
commit
1a2c77c6a6
@ -314,10 +314,6 @@ getAllParents (MkPath p)
|
|||||||
|
|
||||||
-- | Extract the directory name of a path.
|
-- | Extract the directory name of a path.
|
||||||
--
|
--
|
||||||
-- The following properties hold:
|
|
||||||
--
|
|
||||||
-- @dirname (p \<\/> a) == dirname p@
|
|
||||||
--
|
|
||||||
-- >>> dirname (MkPath "/abc/def/dod")
|
-- >>> dirname (MkPath "/abc/def/dod")
|
||||||
-- "/abc/def"
|
-- "/abc/def"
|
||||||
-- >>> dirname (MkPath "/")
|
-- >>> dirname (MkPath "/")
|
||||||
|
Loading…
Reference in New Issue
Block a user