On Monday 05 December 2011, 15:53:35, dokondr wrote: > Balazs, thanks for your comments! > The first comment works just fine. > With </> operator I get this: > > Main System.Environment.Executable System.FilePath> "/abc" </> "/" > "/" > > Instead of getting "/abc/" I get "/". What am I doing wrong?
The second path is absolute. </> is an alias for combine, the docs for that say: "Combine two paths, if the second path isAbsolute, then it returns the second." _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe