[Haskell-beginners] </>? Was: doesFileExist cannot get ~/blah_blah right

Tommy M. McGuire mcguire at crsr.net
Tue Apr 9 18:15:01 CEST 2013


On 04/09/2013 07:07 AM, Brent Yorgey wrote:
> Also, since we are discussing portability, it's a much better idea to do
> 
>   homedir </> "blah_blah"
> 
> instead of homedir ++ "/blah_blah", since the former will use the
> correct path separator character for whatever system it is compiled
> on.

Wait, what? Where'd "</>" come from?


-- 
Tommy M. McGuire
mcguire at crsr.net



More information about the Beginners mailing list