i mean, i guess it’s technically correct
Using the path
package tonight.
ghci> parseRelFile "data/foobar.png"
"data/foobar.png"
ghci> parseRelFile "data/foobar.png/"
*** Exception: InvalidRelFile "data/foobar.png/"
cool
ghci> parseRelDir "data/foobar.png"
"data/foobar.png/"
ghci> parseRelDir "data/foobar.png/"
"data/foobar.png/"
oh no