Package curry-ast
All operations
All constructors
All type classes
Module Index
Base Libraries
Curry Packages
Curry Homepage
About CurryDoc
🌙
☀️
Index to all operations
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
<
<.>
(
System.FilePath
)
</>
(
System.FilePath
)
<=<
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
>
>=>
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
A
addSpan
(
Curry.Span
)
addExtension
(
System.FilePath
)
addTrailingPathSeparator
(
System.FilePath
)
addCurrySubdir
(
System.CurryPath
)
addDefinition
(
System.FrontendExec
)
addTarget
(
System.FrontendExec
)
addSeconds
(
Data.Time
)
addMinutes
(
Data.Time
)
addHours
(
Data.Time
)
addDays
(
Data.Time
)
addMonths
(
Data.Time
)
addYears
(
Data.Time
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
B
baseVersion
(
Curry.Compiler.Distribution
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
C
combineSpans
(
Curry.Span
)
column
(
Curry.Position
)
createDirectory
(
System.Directory
)
createDirectoryIfMissing
(
System.Directory
)
copyFile
(
System.Directory
)
combine
(
System.FilePath
)
currySubdir
(
System.CurryPath
)
curryModulesInDirectory
(
System.CurryPath
)
curryrcFileName
(
System.CurryPath
)
callFrontend
(
System.FrontendExec
)
callFrontendWithParams
(
System.FrontendExec
)
cycle
(
Data.List
)
ctYear
(
Data.Time
)
ctMonth
(
Data.Time
)
ctDay
(
Data.Time
)
ctHour
(
Data.Time
)
ctMin
(
Data.Time
)
ctSec
(
Data.Time
)
ctTZ
(
Data.Time
)
clockTimeToInt
(
Data.Time
)
calendarTimeToString
(
Data.Time
)
compareCalendarTime
(
Data.Time
)
compareClockTime
(
Data.Time
)
catMaybes
(
Data.Maybe
)
curryCompiler
(
Curry.Compiler.Distribution
)
curryCompilerMajorVersion
(
Curry.Compiler.Distribution
)
curryCompilerMinorVersion
(
Curry.Compiler.Distribution
)
curryCompilerRevisionVersion
(
Curry.Compiler.Distribution
)
curryRuntime
(
Curry.Compiler.Distribution
)
curryRuntimeMajorVersion
(
Curry.Compiler.Distribution
)
curryRuntimeMinorVersion
(
Curry.Compiler.Distribution
)
connectToCommand
(
System.IOExts
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
D
doesFileExist
(
System.Directory
)
doesDirectoryExist
(
System.Directory
)
dropExtension
(
System.FilePath
)
dropExtensions
(
System.FilePath
)
dropDrive
(
System.FilePath
)
dropFileName
(
System.FilePath
)
dropTrailingPathSeparator
(
System.FilePath
)
defaultParams
(
System.FrontendExec
)
delete
(
Data.List
)
deleteBy
(
Data.List
)
diagonal
(
Data.List
)
daysOfMonth
(
Data.Time
)
digitToInt
(
Data.Char
)
dirsInPath
(
System.Path
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
E
end
(
Curry.Span
)
extSeparator
(
System.FilePath
)
equalFilePath
(
System.FilePath
)
elemIndex
(
Data.List
)
elemIndices
(
Data.List
)
execCmd
(
System.IOExts
)
evalCmd
(
System.IOExts
)
exclusiveIO
(
System.IOExts
)
exitWith
(
System.Process
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
F
fromPosition
(
Curry.Span
)
fromSpanInfoList
(
Curry.SpanInfo
)
fromSrcSpan
(
Curry.SpanInfo
)
fromSrcSpanBoth
(
Curry.SpanInfo
)
fromSrcInfoPoints
(
Curry.SpanInfo
)
fullASTFileName
(
Curry.Files
)
findFileWithSuffix
(
System.Directory
)
find
(
Data.List
)
findIndex
(
Data.List
)
findIndices
(
Data.List
)
fromJust
(
Data.Maybe
)
fromMaybe
(
Data.Maybe
)
fromLeft
(
Data.Either
)
fromRight
(
Data.Either
)
filterM
(
Control.Monad
)
forever
(
Control.Monad
)
foldM
(
Control.Monad
)
foldM_
(
Control.Monad
)
forM
(
Control.Monad
)
forM_
(
Control.Monad
)
fileInPath
(
System.Path
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
G
getSrcSpan
(
Curry.SpanInfo
)
getSrcInfoPoints
(
Curry.SpanInfo
)
getStartPosition
(
Curry.SpanInfo
)
getEndPosition
(
Curry.SpanInfo
)
getSrcSpanEnd
(
Curry.SpanInfo
)
getFileSize
(
System.Directory
)
getModificationTime
(
System.Directory
)
getCurrentDirectory
(
System.Directory
)
getDirectoryContents
(
System.Directory
)
getHomeDirectory
(
System.Directory
)
getTemporaryDirectory
(
System.Directory
)
getAbsolutePath
(
System.Directory
)
getFileWithSuffix
(
System.Directory
)
getSearchPath
(
System.FilePath
)
getContents
(
System.IO
)
getLoadPathForModule
(
System.CurryPath
)
getPackageVersionOfModule
(
System.CurryPath
)
getPackageVersionOfDirectory
(
System.CurryPath
)
getFrontendCall
(
System.FrontendExec
)
getArgs
(
System.Environment
)
getEnv
(
System.Environment
)
getHostname
(
System.Environment
)
getProgName
(
System.Environment
)
group
(
Data.List
)
groupBy
(
Data.List
)
getClockTime
(
Data.Time
)
getLocalTime
(
Data.Time
)
getFileInPath
(
System.Path
)
getPropertyFromFile
(
Data.PropertyFile
)
getPropertiesFromFile
(
Data.PropertyFile
)
getPID
(
System.Process
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
H
hasExtension
(
System.FilePath
)
hasDrive
(
System.FilePath
)
hasTrailingPathSeparator
(
System.FilePath
)
hClose
(
System.IO
)
hFlush
(
System.IO
)
hIsEOF
(
System.IO
)
hSeek
(
System.IO
)
hWaitForInput
(
System.IO
)
hWaitForInputs
(
System.IO
)
hReady
(
System.IO
)
hGetChar
(
System.IO
)
hGetLine
(
System.IO
)
hGetContents
(
System.IO
)
hPutChar
(
System.IO
)
hPutStr
(
System.IO
)
hPutStrLn
(
System.IO
)
hPrint
(
System.IO
)
hIsReadable
(
System.IO
)
hIsWritable
(
System.IO
)
hIsTerminalDevice
(
System.IO
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
I
isSpan
(
Curry.Span
)
isNoSpan
(
Curry.Span
)
isAfter
(
Curry.Span
)
isBefore
(
Curry.Span
)
isBeforeList
(
Curry.Span
)
identLength
(
Curry.Ident
)
idName
(
Curry.Ident
)
incr
(
Curry.Position
)
isPathSeparator
(
System.FilePath
)
isSearchPathSeparator
(
System.FilePath
)
isExtSeparator
(
System.FilePath
)
isExtensionOf
(
System.FilePath
)
isDrive
(
System.FilePath
)
isValid
(
System.FilePath
)
isRelative
(
System.FilePath
)
isAbsolute
(
System.FilePath
)
isEOF
(
System.IO
)
isValidModuleName
(
System.CurryPath
)
inCurrySubdir
(
System.CurryPath
)
inCurrySubdirModule
(
System.CurryPath
)
isPosix
(
System.Environment
)
isWindows
(
System.Environment
)
intersect
(
Data.List
)
intersectBy
(
Data.List
)
intersperse
(
Data.List
)
intercalate
(
Data.List
)
inits
(
Data.List
)
isPrefixOf
(
Data.List
)
isSuffixOf
(
Data.List
)
isInfixOf
(
Data.List
)
insertBy
(
Data.List
)
init
(
Data.List
)
isAscii
(
Data.Char
)
isLatin1
(
Data.Char
)
isAsciiLower
(
Data.Char
)
isAsciiUpper
(
Data.Char
)
isControl
(
Data.Char
)
intToDigit
(
Data.Char
)
isJust
(
Data.Maybe
)
isNothing
(
Data.Maybe
)
isLeft
(
Data.Either
)
isRight
(
Data.Either
)
installDir
(
Curry.Compiler.Distribution
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
J
joinDrive
(
System.FilePath
)
joinPath
(
System.FilePath
)
joinModuleIdentifiers
(
System.CurryPath
)
join
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
L
line
(
Curry.Position
)
lookupModuleSourceInLoadPath
(
System.CurryPath
)
lookupModuleSource
(
System.CurryPath
)
last
(
Data.List
)
listToMaybe
(
Data.Maybe
)
lefts
(
Data.Either
)
liftM3
(
Control.Monad
)
liftA
(
Control.Applicative
)
liftA3
(
Control.Applicative
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
M
mIdentLength
(
Curry.Ident
)
midQualifiers
(
Curry.Ident
)
makeRelative
(
System.FilePath
)
makeValid
(
System.FilePath
)
modNameToPath
(
System.CurryPath
)
maximum
(
Data.List
)
maximumBy
(
Data.List
)
minimum
(
Data.List
)
minimumBy
(
Data.List
)
mapAccumL
(
Data.List
)
mapAccumR
(
Data.List
)
maybeToList
(
Data.Maybe
)
mapMaybe
(
Data.Maybe
)
mapAndUnzipM
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
N
normalise
(
System.FilePath
)
nub
(
Data.List
)
nubBy
(
Data.List
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
O
openFile
(
System.IO
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
P
pathSeparator
(
System.FilePath
)
pathSeparators
(
System.FilePath
)
packageSpecFile
(
System.CurryPath
)
permutations
(
Data.List
)
partition
(
Data.List
)
product
(
Data.List
)
partitionEithers
(
Data.Either
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
Q
qIdentLength
(
Curry.Ident
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
R
rowDist
(
Curry.Position
)
readShortAST
(
Curry.Files
)
readFullAST
(
Curry.Files
)
readShortASTWithParseOptions
(
Curry.Files
)
readFullASTWithParseOptions
(
Curry.Files
)
readASTFile
(
Curry.Files
)
readShortASTFileRaw
(
Curry.Files
)
removeDirectory
(
System.Directory
)
renameDirectory
(
System.Directory
)
removeFile
(
System.Directory
)
renameFile
(
System.Directory
)
replaceExtension
(
System.FilePath
)
replaceFileName
(
System.FilePath
)
replaceBaseName
(
System.FilePath
)
replaceDirectory
(
System.FilePath
)
readsUnqualifiedTerm
(
ReadShowTerm
)
readUnqualifiedTerm
(
ReadShowTerm
)
runModuleAction
(
System.CurryPath
)
runModuleActionQuiet
(
System.CurryPath
)
rcParams
(
System.FrontendExec
)
replace
(
Data.List
)
rights
(
Data.Either
)
replicateM
(
Control.Monad
)
replicateM_
(
Control.Monad
)
readCompleteFile
(
System.IOExts
)
readPropertyFile
(
Data.PropertyFile
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
S
start
(
Curry.Span
)
stripStart
(
Curry.Span
)
span2Pos
(
Curry.Span
)
spanLength
(
Curry.Span
)
setSrcSpan
(
Curry.SpanInfo
)
setSrcInfoPoints
(
Curry.SpanInfo
)
setStartPosition
(
Curry.SpanInfo
)
setEndPosition
(
Curry.SpanInfo
)
spanInfo2Pos
(
Curry.SpanInfo
)
shortASTFileName
(
Curry.Files
)
setCurrentDirectory
(
System.Directory
)
searchPathSeparator
(
System.FilePath
)
splitSearchPath
(
System.FilePath
)
splitExtension
(
System.FilePath
)
splitExtensions
(
System.FilePath
)
splitDrive
(
System.FilePath
)
splitFileName
(
System.FilePath
)
splitPath
(
System.FilePath
)
splitDirectories
(
System.FilePath
)
stdin
(
System.IO
)
stdout
(
System.IO
)
stderr
(
System.IO
)
showTerm
(
ReadShowTerm
)
splitProgramName
(
System.CurryPath
)
splitValidProgramName
(
System.CurryPath
)
splitModuleFileName
(
System.CurryPath
)
splitModuleIdentifiers
(
System.CurryPath
)
stripCurrySuffix
(
System.CurryPath
)
sysLibPath
(
System.CurryPath
)
setCurryPath
(
System.CurryPath
)
setCurryPathIfNecessary
(
System.CurryPath
)
setQuiet
(
System.FrontendExec
)
setExtended
(
System.FrontendExec
)
setCpp
(
System.FrontendExec
)
setDefinitions
(
System.FrontendExec
)
setOverlapWarn
(
System.FrontendExec
)
setFullPath
(
System.FrontendExec
)
setHtmlDir
(
System.FrontendExec
)
setOutDir
(
System.FrontendExec
)
setLogfile
(
System.FrontendExec
)
setSpecials
(
System.FrontendExec
)
setFrontendPath
(
System.FrontendExec
)
setEnv
(
System.Environment
)
splitOn
(
Data.List
)
split
(
Data.List
)
sort
(
Data.List
)
sortBy
(
Data.List
)
sum
(
Data.List
)
scanl
(
Data.List
)
scanl1
(
Data.List
)
scanr
(
Data.List
)
scanr1
(
Data.List
)
system
(
System.Process
)
sleep
(
System.Process
)
sequenceA
(
Control.Applicative
)
sequenceA_
(
Control.Applicative
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
T
takeExtension
(
System.FilePath
)
takeExtensions
(
System.FilePath
)
takeDrive
(
System.FilePath
)
takeFileName
(
System.FilePath
)
takeBaseName
(
System.FilePath
)
takeDirectory
(
System.FilePath
)
transpose
(
Data.List
)
tails
(
Data.List
)
toCalendarTime
(
Data.Time
)
toUTCTime
(
Data.Time
)
toClockTime
(
Data.Time
)
toDayString
(
Data.Time
)
toTimeString
(
Data.Time
)
toUpper
(
Data.Char
)
toLower
(
Data.Char
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
U
unqualify
(
Curry.Ident
)
unsetEnv
(
System.Environment
)
union
(
Data.List
)
unionBy
(
Data.List
)
unfoldr
(
Data.List
)
unless
(
Control.Monad
)
updateFile
(
System.IOExts
)
updatePropertyFile
(
Data.PropertyFile
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
V
vertDist
(
Curry.Span
)
validDate
(
Data.Time
)
void
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
W
when
(
Control.Applicative
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
Z
zipWithM
(
Control.Monad
)
zipWithM_
(
Control.Monad
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
\
\\
(
Data.List
)
<
>
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\