Skip to content

CreateFile

[Source]

Open a File for read/write, creating if it doesn't exist, preserving the contents if it does exist.

primitive val CreateFile

Constructors

create

[Source]

new val create()
: CreateFile val^

Returns


Public Functions

apply

[Source]

fun box apply(
  from: FilePath val)
: (File ref | FileOK val | FileError val | 
    FileEOF val | FileBadFileNumber val | FileExists val | 
    FilePermissionDenied val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: CreateFile val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: CreateFile val)
: Bool val

Parameters

Returns