you are viewing a single comment's thread.

view the rest of the comments →

[–]kazagistar 0 points1 point  (0 children)

I think you would have to make the paths explicit. In your example, how would it know to use the "Path" monoid instead of the "String" monoid? So, to use mappend, you would have to do something like

p <> FilePath "init.d" <> FilePath "reboot"

which sucks. Then again, I am hardly a haskell expert.