1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
{-# LANGUAGE CPP #-}
#define PLATFORM_NAME Windows
#include "Include.hs"
qqAbsDir :: FilePath
qqAbsDir = checkInstantiated [absdir|C:\foo\|]
qqAbsFile :: FilePath
qqAbsFile = checkInstantiated [absdir|C:\foo|]
thAbsDir :: FilePath
thAbsDir = checkInstantiated $(mkAbsDir "C:\\foo\\")
thAbsFile :: FilePath
thAbsFile = checkInstantiated $(mkAbsFile "C:\\foo")
liftAbsDir :: FilePath
liftAbsDir = checkInstantiated $(TH.lift (Path "C:\\foo\\" :: Path Abs Dir))
liftAbsFile :: FilePath
liftAbsFile = checkInstantiated $(TH.lift (Path "C:\\foo" :: Path Abs File))
|