Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :t v
- print v
- :t takeFileName
- takeFileName v
- v :: FilePath
- FilePath "/media/miguel/backup/backups"
- takeFileName :: FilePath -> FilePath
- Couldn't match type ‘Turtle.FilePath’ with ‘String’
- Expected type: IHaskellSysIO.FilePath
- Actual type: Turtle.FilePath
- In the first argument of ‘takeFileName’, namely ‘v’
- In the expression: takeFileName v
- import Filesystem.Path.CurrentOS (encodeString)
- encodeString valueGoesHere
Add Comment
Please, Sign In to add comment