Toggle navigation
PAKCS
All operations
All constructors
Curry Homepage
PAKCS Libraries
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
\
|
!
!!
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
$
$
(
Prelude
)
$!
(
Prelude
)
$!!
(
Prelude
)
$#
(
Prelude
)
$##
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
&
&
(
Prelude
)
&&
(
Prelude
)
&>
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
*
*
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
+
+
(
Prelude
)
++
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
-
-
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
.
.
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
/
/=
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
<
<
(
Prelude
)
<.>
(
FilePath
)
</>
(
FilePath
)
<=
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
=
=:<<=
(
Prelude
)
=:<=
(
Prelude
)
=:=
(
Prelude
)
==
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
>
>
(
Prelude
)
>=
(
Prelude
)
>>
(
Prelude
)
>>-
(
Maybe
)
>>=
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
?
?
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
A
addCurrySubdir
(
Distribution
)
addDays
(
Time
)
addExtension
(
FilePath
)
addHours
(
Time
)
addMinutes
(
Time
)
addMonths
(
Time
)
addSeconds
(
Time
)
addTarget
(
Distribution
)
addTrailingPathSeparator
(
FilePath
)
addYears
(
Time
)
all
(
Prelude
)
and
(
Prelude
)
any
(
Prelude
)
anyOf
(
Prelude
)
appendFile
(
Prelude
)
apply
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
B
baseName
(
FileGoodies
)
break
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
C
calendarTimeToString
(
Time
)
callFrontend
(
Distribution
)
callFrontendWithParams
(
Distribution
)
catch
(
Prelude
)
catMaybes
(
Maybe
)
checkFirstArg
(
RunCurry
)
chr
(
Prelude
)
clockTimeToInt
(
Time
)
combine
(
FilePath
)
compare
(
Prelude
)
compareCalendarTime
(
Time
)
compareClockTime
(
Time
)
compareDate
(
Time
)
concat
(
Prelude
)
concatMap
(
Prelude
)
cond
(
Prelude
)
connectToCommand
(
IOExts
)
const
(
Prelude
)
copyFile
(
Directory
)
createDirectory
(
Directory
)
createDirectoryIfMissing
(
Directory
)
ctDay
(
Time
)
ctHour
(
Time
)
ctMin
(
Time
)
ctMonth
(
Time
)
ctSec
(
Time
)
ctTZ
(
Time
)
ctYear
(
Time
)
curry
(
Prelude
)
curryCompiler
(
Distribution
)
curryCompilerMajorVersion
(
Distribution
)
curryCompilerMinorVersion
(
Distribution
)
curryRuntime
(
Distribution
)
curryRuntimeMajorVersion
(
Distribution
)
curryRuntimeMinorVersion
(
Distribution
)
currySubdir
(
Distribution
)
cycle
(
List
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
D
daysOfMonth
(
Time
)
defaultParams
(
Distribution
)
delete
(
List
)
deleteBy
(
List
)
diagonal
(
List
)
digitToInt
(
Char
)
dirName
(
FileGoodies
)
div
(
Prelude
)
divMod
(
Prelude
)
doesDirectoryExist
(
Directory
)
doesFileExist
(
Directory
)
done
(
Prelude
)
doSolve
(
Prelude
)
drop
(
Prelude
)
dropDrive
(
FilePath
)
dropExtension
(
FilePath
)
dropExtensions
(
FilePath
)
dropFileName
(
FilePath
)
dropTrailingPathSeparator
(
FilePath
)
dropWhile
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
E
either
(
Prelude
)
elem
(
Prelude
)
elemIndex
(
List
)
elemIndices
(
List
)
ensureNotFree
(
Prelude
)
ensureSpine
(
Prelude
)
enumFrom
(
Prelude
)
enumFromThen
(
Prelude
)
enumFromThenTo
(
Prelude
)
enumFromTo
(
Prelude
)
equalFilePath
(
FilePath
)
error
(
Prelude
)
evalCmd
(
IOExts
)
exclusiveIO
(
IOExts
)
execAndDeleteCurryProgram
(
RunCurry
)
execCmd
(
IOExts
)
execCurryProgram
(
RunCurry
)
execOrJIT
(
RunCurry
)
exitWith
(
System
)
extended
(
Distribution
)
extSeparator
(
FilePath
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
F
failed
(
Prelude
)
failure
(
Prelude
)
fileSize
(
Directory
)
fileSuffix
(
FileGoodies
)
filter
(
Prelude
)
find
(
List
)
findIndex
(
List
)
findIndices
(
List
)
flip
(
Prelude
)
foldIO
(
Prelude
)
foldl
(
Prelude
)
foldl1
(
Prelude
)
foldr
(
Prelude
)
foldr1
(
Prelude
)
forIO
(
Prelude
)
forIO_
(
Prelude
)
fromJust
(
Maybe
)
fromMaybe
(
Maybe
)
fst
(
Prelude
)
fullPath
(
Distribution
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
G
getAbsolutePath
(
Directory
)
getArgs
(
System
)
getAssoc
(
IOExts
)
getChar
(
Prelude
)
getClockTime
(
Time
)
getContents
(
IO
)
getCPUTime
(
System
)
getCurrentDirectory
(
Directory
)
getDirectoryContents
(
Directory
)
getElapsedTime
(
System
)
getEnviron
(
System
)
getFileInPath
(
FileGoodies
)
getHomeDirectory
(
Directory
)
getHostname
(
System
)
getLine
(
Prelude
)
getLoadPathForModule
(
Distribution
)
getLocalTime
(
Time
)
getModificationTime
(
Directory
)
getNewProgramName
(
RunCurry
)
getPID
(
System
)
getProgName
(
System
)
getRcVar
(
Distribution
)
getRcVars
(
Distribution
)
getSearchPath
(
FilePath
)
getTemporaryDirectory
(
Directory
)
global
(
Global
)
groundNormalForm
(
Prelude
)
group
(
List
)
groupBy
(
List
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
H
hasDrive
(
FilePath
)
hasExtension
(
FilePath
)
hasTrailingPathSeparator
(
FilePath
)
hClose
(
IO
)
head
(
Prelude
)
hFlush
(
IO
)
hGetChar
(
IO
)
hGetContents
(
IO
)
hGetLine
(
IO
)
hIsEOF
(
IO
)
hIsReadable
(
IO
)
hIsTerminalDevice
(
IO
)
hIsWritable
(
IO
)
hPrint
(
IO
)
hPutChar
(
IO
)
hPutStr
(
IO
)
hPutStrLn
(
IO
)
hReady
(
IO
)
hSeek
(
IO
)
htmldir
(
Distribution
)
hWaitForInput
(
IO
)
hWaitForInputOrMsg
(
IO
)
hWaitForInputs
(
IO
)
hWaitForInputsOrMsg
(
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
id
(
Prelude
)
ifVar
(
Prelude
)
if_then_else
(
Prelude
)
inCurrySubdir
(
Distribution
)
inCurrySubdirModule
(
Distribution
)
init
(
List
)
inits
(
List
)
insertBy
(
List
)
installDir
(
Distribution
)
intercalate
(
List
)
intersect
(
List
)
intersectBy
(
List
)
intersperse
(
List
)
intToDigit
(
Char
)
ioError
(
Prelude
)
isAbsolute
(
FileGoodies
)
isAbsolute
(
FilePath
)
isAlpha
(
Char
)
isAlphaNum
(
Char
)
isAscii
(
Char
)
isAsciiLower
(
Char
)
isAsciiUpper
(
Char
)
isBinDigit
(
Char
)
isControl
(
Char
)
isDigit
(
Char
)
isDrive
(
FilePath
)
isEOF
(
IO
)
isExecutable
(
RunCurry
)
isExtSeparator
(
FilePath
)
isHashJITOption
(
RunCurry
)
isHexDigit
(
Char
)
isInfixOf
(
List
)
isJust
(
Maybe
)
isLatin1
(
Char
)
isLower
(
Char
)
isNothing
(
Maybe
)
isOctDigit
(
Char
)
isPathSeparator
(
FilePath
)
isPosix
(
System
)
isPrefixOf
(
List
)
isRelative
(
FilePath
)
isSearchPathSeparator
(
FilePath
)
isSpace
(
Char
)
isSuffixOf
(
List
)
isUpper
(
Char
)
isValid
(
FilePath
)
isWindows
(
System
)
iterate
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
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
(
FilePath
)
joinModuleIdentifiers
(
Distribution
)
joinPath
(
FilePath
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
L
last
(
List
)
length
(
Prelude
)
letrec
(
Prelude
)
liftIO
(
Prelude
)
lines
(
Prelude
)
listToMaybe
(
Maybe
)
logfile
(
Distribution
)
lookup
(
Prelude
)
lookupFileInPath
(
FileGoodies
)
lookupModuleSource
(
Distribution
)
lookupModuleSourceInLoadPath
(
Distribution
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
M
main
(
RunCurry
)
makeRelative
(
FilePath
)
makeValid
(
FilePath
)
map
(
Prelude
)
mapAccumL
(
List
)
mapAccumR
(
List
)
mapIO
(
Prelude
)
mapIO_
(
Prelude
)
mapMaybe
(
Maybe
)
mapMMaybe
(
Maybe
)
max
(
Prelude
)
maximum
(
List
)
maximumBy
(
List
)
maybe
(
Prelude
)
maybeToList
(
Maybe
)
min
(
Prelude
)
minimum
(
List
)
minimumBy
(
List
)
mod
(
Prelude
)
modifyIORef
(
IOExts
)
modNameToPath
(
Distribution
)
mplus
(
Maybe
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
N
negate
(
Prelude
)
negateFloat
(
Prelude
)
newIORef
(
IOExts
)
noHashLine
(
RunCurry
)
normalForm
(
Prelude
)
normalise
(
FilePath
)
not
(
Prelude
)
notElem
(
Prelude
)
nub
(
List
)
nubBy
(
List
)
null
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
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
(
IO
)
or
(
Prelude
)
ord
(
Prelude
)
otherwise
(
Prelude
)
overlapWarn
(
Distribution
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
P
partition
(
List
)
pathSeparator
(
FilePath
)
pathSeparatorChar
(
FileGoodies
)
pathSeparators
(
FilePath
)
permutations
(
List
)
prim_appendFile
(
Prelude
)
prim_chr
(
Prelude
)
prim_error
(
Prelude
)
prim_Int_div
(
Prelude
)
prim_Int_minus
(
Prelude
)
prim_Int_mod
(
Prelude
)
prim_Int_plus
(
Prelude
)
prim_Int_quot
(
Prelude
)
prim_Int_rem
(
Prelude
)
prim_Int_times
(
Prelude
)
prim_negateFloat
(
Prelude
)
prim_ord
(
Prelude
)
prim_putChar
(
Prelude
)
prim_readFile
(
Prelude
)
prim_readFileContents
(
Prelude
)
prim_show
(
Prelude
)
prim_writeFile
(
Prelude
)
print
(
Prelude
)
product
(
List
)
putChar
(
Prelude
)
putStr
(
Prelude
)
putStrLn
(
Prelude
)
PEVAL
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
Q
quiet
(
Distribution
)
quot
(
Prelude
)
quotRem
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
R
rcFileContents
(
Distribution
)
rcFileName
(
Distribution
)
rcParams
(
Distribution
)
readCompleteFile
(
IOExts
)
readFile
(
Prelude
)
readGlobal
(
Global
)
readHex
(
Read
)
readInt
(
Read
)
readIORef
(
IOExts
)
readNat
(
Read
)
readPropertyFile
(
PropertyFile
)
rem
(
Prelude
)
removeDirectory
(
Directory
)
removeFile
(
Directory
)
renameDirectory
(
Directory
)
renameFile
(
Directory
)
repeat
(
Prelude
)
replace
(
List
)
replaceBaseName
(
FilePath
)
replaceDirectory
(
FilePath
)
replaceExtension
(
FilePath
)
replaceFileName
(
FilePath
)
replicate
(
Prelude
)
replOpts
(
RunCurry
)
return
(
Prelude
)
reverse
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
S
safeReadGlobal
(
Global
)
saveCurryProgram
(
RunCurry
)
scanl
(
List
)
scanl1
(
List
)
scanr
(
List
)
scanr1
(
List
)
searchPathSeparator
(
FilePath
)
separatorChar
(
FileGoodies
)
seq
(
Prelude
)
sequenceIO
(
Prelude
)
sequenceIO_
(
Prelude
)
sequenceMaybe
(
Maybe
)
setAssoc
(
IOExts
)
setCurrentDirectory
(
Directory
)
setEnviron
(
System
)
setExtended
(
Distribution
)
setFullPath
(
Distribution
)
setHtmlDir
(
Distribution
)
setLogfile
(
Distribution
)
setOverlapWarn
(
Distribution
)
setQuiet
(
Distribution
)
setSpecials
(
Distribution
)
show
(
Prelude
)
showError
(
Prelude
)
sleep
(
System
)
snd
(
Prelude
)
solve
(
Prelude
)
sortBy
(
List
)
span
(
Prelude
)
specials
(
Distribution
)
split
(
List
)
splitAt
(
Prelude
)
splitBaseName
(
FileGoodies
)
splitDirectories
(
FilePath
)
splitDirectoryBaseName
(
FileGoodies
)
splitDrive
(
FilePath
)
splitExtension
(
FilePath
)
splitExtensions
(
FilePath
)
splitFileName
(
FilePath
)
splitModuleFileName
(
Distribution
)
splitModuleIdentifiers
(
Distribution
)
splitOn
(
List
)
splitPath
(
FileGoodies
)
splitPath
(
FilePath
)
splitSearchPath
(
FilePath
)
stderr
(
IO
)
stdin
(
IO
)
stdout
(
IO
)
stripCurrySuffix
(
Distribution
)
stripSpaces
(
RunCurry
)
stripSuffix
(
FileGoodies
)
success
(
Prelude
)
suffixSeparatorChar
(
FileGoodies
)
sum
(
List
)
sysLibPath
(
Distribution
)
system
(
System
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
T
tail
(
Prelude
)
tails
(
List
)
take
(
Prelude
)
takeBaseName
(
FilePath
)
takeDirectory
(
FilePath
)
takeDrive
(
FilePath
)
takeExtension
(
FilePath
)
takeExtensions
(
FilePath
)
takeFileName
(
FilePath
)
takeWhile
(
Prelude
)
toCalendarTime
(
Time
)
toClockTime
(
Time
)
toDayString
(
Time
)
toLower
(
Char
)
toTimeString
(
Time
)
toUpper
(
Char
)
toUTCTime
(
Time
)
transpose
(
List
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
U
uncurry
(
Prelude
)
unfoldr
(
List
)
union
(
List
)
unionBy
(
List
)
unknown
(
Prelude
)
unless
(
Prelude
)
unlines
(
Prelude
)
unsetEnviron
(
System
)
until
(
Prelude
)
unwords
(
Prelude
)
unzip
(
Prelude
)
unzip3
(
Prelude
)
updateFile
(
IOExts
)
updatePropertyFile
(
PropertyFile
)
usageMsg
(
RunCurry
)
userError
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
V
validDate
(
Time
)
!
$
&
*
+
-
.
/
<
=
>
?
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
(
Prelude
)
words
(
Prelude
)
writeFile
(
Prelude
)
writeGlobal
(
Global
)
writeIORef
(
IOExts
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
Z
zip
(
Prelude
)
zip3
(
Prelude
)
zipWith
(
Prelude
)
zipWith3
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
\
\\
(
List
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|
|
||
(
Prelude
)
!
$
&
*
+
-
.
/
<
=
>
?
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
Z
\
|