> > How to get this path in Haskell? > > If I understand you correctly, you want > > takeDirectory `fmap` getProgName
I think getProgName does not give you the full path, but only the program name. Cheers, Simon _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe