Path
Path > Path
CanonicalizeErr
[PathCanonicalizeErr {}]a
Path > CanonicalizeErr
fromStr
Str -> Path
Path > fromStr
fromBytes
List U8 -> Path
Path > fromBytes
display
Path -> Str
Path > display
PathComponent
Path > PathComponent
WindowsRoot
[]
Path > WindowsRoot
withExtension
Path, Str -> Path
Path > withExtension
list
Path -> Task (List Path) ReadErr
Dir > list
deleteEmptyDir
Path -> Task {} DeleteErr
Dir > deleteEmptyDir
deleteRecursive
Dir > deleteRecursive
cwd
Task Path [CwdUnavailable]
Env > cwd
setCwd
Path -> Task {} [InvalidCwd]
Env > setCwd
exePath
Task Path [ExePathUnavailable]
Env > exePath
var
Str -> Task Str [VarNotFound]
Env > var
decode
Str -> Task val [ VarNotFound, DecodeErr DecodeError ] where val implements Decoding
Env > decode
Task (List ( Str, Str )) *
Env > list
tempDir
Task Path []
Env > tempDir
ReadErr
File > ReadErr
WriteErr
File > WriteErr
write
val, Path, fmt -> Task {} [FileWriteErr Path WriteErr] where val implements Encode.Encoding, fmt implements Encode.EncoderFormatting
File > write
writeBytes
List U8, Path -> Task {} [FileWriteErr Path WriteErr]
File > writeBytes
writeUtf8
Str, Path -> Task {} [FileWriteErr Path WriteErr]
File > writeUtf8
delete
Path -> Task {} [FileWriteErr Path WriteErr]
File > delete
readBytes
Path -> Task (List U8) [FileReadErr Path ReadErr]
File > readBytes
readUtf8
Path -> Task Str [ FileReadErr Path ReadErr, FileReadUtf8Err Path ]
File > readUtf8
writeErrToStr
WriteErr -> Str
File > writeErrToStr
readErrToStr
ReadErr -> Str
File > readErrToStr
FileMetadata
FileMetadata > FileMetadata
bytes
FileMetadata -> U64
FileMetadata > bytes
isReadonly
FileMetadata -> Bool
FileMetadata > isReadonly
type
FileMetadata -> [ File, Dir, Symlink ]
FileMetadata > type
mode
FileMetadata -> [ Unix U32, NonUnix ]
FileMetadata > mode
Request
Http > Request
Method
Http > Method
Header
Http > Header
TimeoutConfig
Http > TimeoutConfig
Response
Http > Response
Err
Http > Err
errorBodyToBytes
Http > errorBodyToBytes
defaultRequest
Http > defaultRequest
header
Str, Str -> Header
Http > header
handleStringResponse
Response -> Result Str Err
Http > handleStringResponse
errorToString
Err -> Str
Http > errorToString
send
Request -> Task Response [HttpErr Err]
Http > send
get
Str, fmt -> Task body [ HttpErr Http.Err, HttpDecodingFailed ] where body implements Decoding, fmt implements DecoderFormatting
Http > get
getUtf8
Str -> Task Str [HttpErr Http.Err]
Http > getUtf8
methodToStr
Method -> Str
Http > methodToStr
parseFormUrlEncoded
List U8 -> Result (Dict Str Str) [BadUtf8]
Http > parseFormUrlEncoded
parseMultipartFormData
{ headers : List Header, body : List U8 } -> Result (List MultipartFormData.FormData) [ InvalidMultipartFormData, ExpectedContentTypeHeader, InvalidContentTypeHeader ]
Http > parseMultipartFormData
Stderr > Err
line
Str -> Task {} [StderrErr Err]
Stderr > line
Stderr > write
Stdout > Err
Str -> Task {} [StdoutErr Err]
Stdout > line
Stdout > write
Stream
Tcp > Stream
ConnectErr
Tcp > ConnectErr
StreamErr
Tcp > StreamErr
withConnect
Str, U16, (Stream -> Task a err) -> Task a [ TcpConnectErr ConnectErr, TcpPerformErr err ]
Tcp > withConnect
readUpTo
U64, Stream -> Task (List U8) [TcpReadErr StreamErr]
Tcp > readUpTo
readExactly
U64, Stream -> Task (List U8) [ TcpReadErr StreamErr, TcpUnexpectedEOF ]
Tcp > readExactly
readUntil
U8, Stream -> Task (List U8) [ TcpReadErr StreamErr, TcpUnexpectedEOF ]
Tcp > readUntil
readLine
Stream -> Task Str [ TcpReadErr StreamErr, TcpReadBadUtf8 , TcpUnexpectedEOF ]
Tcp > readLine
List U8, Stream -> Task {} [TcpWriteErr StreamErr]
Tcp > write
Str, Stream -> Task {} [TcpWriteErr StreamErr]
Tcp > writeUtf8
connectErrToStr
ConnectErr -> Str
Tcp > connectErrToStr
streamErrToStr
StreamErr -> Str
Tcp > streamErrToStr
Url
Url > Url
reserve
Url, U64 -> Url
Url > reserve
Str -> Url
Url > fromStr
toStr
Url -> Str
Url > toStr
append
Url, Str -> Url
Url > append
appendParam
Url, Str, Str -> Url
Url > appendParam
withQuery
Url > withQuery
query
Url > query
queryParams
Url -> Dict Str Str
Url > queryParams
path
Url > path
hasQuery
Url -> Bool
Url > hasQuery
fragment
Url > fragment
withFragment
Url > withFragment
hasFragment
Url > hasFragment
Utc
Utc > Utc
now
Task Utc *
Utc > now
toIso8601Str
Utc -> Str
Utc > toIso8601Str
toMillisSinceEpoch
Utc -> I128
Utc > toMillisSinceEpoch
fromMillisSinceEpoch
I128 -> Utc
Utc > fromMillisSinceEpoch
toNanosSinceEpoch
Utc > toNanosSinceEpoch
fromNanosSinceEpoch
Utc > fromNanosSinceEpoch
deltaAsMillis
Utc, Utc -> U128
Utc > deltaAsMillis
deltaAsNanos
Utc > deltaAsNanos
millis
U64 -> Task {} *
Sleep > millis
Command
Command > Command
Output
Command > Output
new
Str -> Command
Command > new
arg
Command, Str -> Command
Command > arg
args
Command, List Str -> Command
Command > args
env
Command, Str, Str -> Command
Command > env
envs
Command, List ( Str, Str ) -> Command
Command > envs
clearEnvs
Command -> Command
Command > clearEnvs
output
Command -> Task Output *
Command > output
status
Command -> Task {} Error
Command > status
Value
SQLite3 > Value
Code
SQLite3 > Code
Error
SQLite3 > Error
Binding
SQLite3 > Binding
execute
{ path : Str, query : Str, bindings : List Binding } -> Task (List (List InternalSQL.SQLiteValue)) Error
SQLite3 > execute
errToStr
Error -> Str
SQLite3 > errToStr