Skip to content

Commit

Permalink
Change return types of bfilename, pbasename and pextension to match t…
Browse files Browse the repository at this point in the history
…he signatures in System.FilePath
  • Loading branch information
olivier committed Mar 9, 2023
1 parent a0ac0d7 commit f7dba88
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/UVMHS/Core/FilePath.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ pnull = ℙ ""
pappend
pappend x y = $ string $ tohsChars (unℙ x) FP.</> tohsChars (unℙ y)

pfilename
pfilename = string FP.takeFileName tohsChars unℙ
pfilename 𝕊
pfilename = string FP.takeFileName tohsChars unℙ

pbasename
pbasename = string FP.takeBaseName tohsChars unℙ
pbasename 𝕊
pbasename = string FP.takeBaseName tohsChars unℙ

pdirectory
pdirectory = string FP.takeDirectory tohsChars unℙ

pextension
pextension = string FP.takeExtension tohsChars unℙ
pextension 𝕊
pextension = string FP.takeExtension tohsChars unℙ

0 comments on commit f7dba88

Please sign in to comment.