Changeset 15165 for src/Pugs/Prim.hs
- Timestamp:
- 02/02/07 04:10:20 (22 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim.hs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim.hs
r15000 r15165 44 44 import Pugs.Prim.Yaml 45 45 import Pugs.Prim.Match 46 import qualified Pugs.Prim.FileTest as FileTest47 46 import Pugs.Prim.List 48 47 import Pugs.Prim.Numeric … … 417 416 op1 "rmdir" = guardedIO removeDirectory 418 417 op1 "chdir" = guardedIO setCurrentDirectory 419 op1 "-r" = FileTest.isReadable420 op1 "-w" = FileTest.isWritable421 op1 "-x" = FileTest.isExecutable422 op1 "-e" = FileTest.exists423 op1 "-z" = FileTest.sizeIsZero424 op1 "-s" = FileTest.fileSize425 op1 "-M" = FileTest.fileMTime426 op1 "-A" = FileTest.fileATime427 op1 "-C" = FileTest.fileCTime428 op1 "-f" = FileTest.isFile429 op1 "-d" = FileTest.isDirectory430 418 op1 "graphs"= op1Cast (VInt . (genericLength :: String -> VInt)) -- XXX Wrong 431 419 op1 "codes" = op1Cast (VInt . (genericLength :: String -> VInt)) … … 1825 1813 \\n Num pre exp safe (Num, ?Num)\ 1826 1814 \\n Num pre sqrt safe (Num)\ 1827 \\n Bool spre -z unsafe (Str)\1828 \\n Bool spre -r unsafe (Str)\1829 \\n Bool spre -w unsafe (Str)\1830 \\n Bool spre -x unsafe (Str)\1831 \\n Bool spre -e unsafe (Str)\1832 \\n Int spre -s unsafe (Str)\1833 \\n Num spre -M unsafe (Str)\1834 \\n Num spre -A unsafe (Str)\1835 \\n Num spre -C unsafe (Str)\1836 \\n Bool spre -f unsafe (Str)\1837 \\n Bool spre -d unsafe (Str)\1838 1815 \\n Num spre - safe (Num)\ 1839 1816 \\n Str spre ~ safe (Str)\
