Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2002-02-13 10:39:36 by simonpj] · 9b7de002
    Simon Peyton Jones authored
    -------------------------------
    	dosifyPath before opening files
    	-------------------------------
    
    If you call
    	hsc2hs foo/baz
    
    you get the amazing response:
    
    	'foo' is not recognized as an internal or external command,
    	operable program or batch file.
    
    On the other hand
    	hsc2hs foo\baz
    
    works fine.  Solution: call dosifyPath before opening or writing the file.
    
    
    Somehow we should make it less easy to trip up when doing file I/O on
    Windows.  And provide a library of path-manipulation primitives.
    9b7de002