interface HasIO : (Type -> Type) -> Type
- Parameters: io
Constraints: Monad io
Constructor: MkHasIO
Methods:
liftIO : IO a -> io a
Implementation: HasLinearIO io => HasIO io
liftIO : HasIO io => IO a -> io a
- Totality: total
Visibility: public export interface HasLinearIO : (Type -> Type) -> Type
- Parameters: io
Constraints: Monad io
Constructor: MkHasLinearIO
Methods:
liftIO1 : (1 _ : IO a) -> io a
Implementation: HasLinearIO IO
liftIO1 : HasLinearIO io => (1 _ : IO a) -> io a
- Totality: total
Visibility: public export primIO : HasIO io => ((1 _ : %World) -> IORes a) -> io a
- Totality: total
Visibility: export primIO1 : HasLinearIO io => (1 _ : ((1 _ : %World) -> IORes a)) -> io a
- Totality: total
Visibility: export onCollectAny : HasIO io => AnyPtr -> (AnyPtr -> IO ()) -> io GCAnyPtr
- Totality: total
Visibility: export onCollect : HasIO io => Ptr t -> (Ptr t -> IO ()) -> io (GCPtr t)
- Totality: total
Visibility: export prim__getString : Ptr String -> String
putStr : HasIO io => String -> io ()
Output a string to stdout without a trailing newline.
Totality: total
Visibility: exportputStrLn : HasIO io => String -> io ()
Output a string to stdout with a trailing newline.
Totality: total
Visibility: exportgetLine : HasIO io => io String
Read one line of input from stdin, without the trailing newline.
Totality: total
Visibility: exportputChar : HasIO io => Char -> io ()
Write one single-byte character to stdout.
Totality: total
Visibility: exportputCharLn : HasIO io => Char -> io ()
Write one multi-byte character to stdout, with a trailing newline.
Totality: total
Visibility: exportgetChar : HasIO io => io Char
Read one single-byte character from stdin.
Totality: total
Visibility: exportprim__fork : (1 _ : PrimIO ()) -> PrimIO ThreadID
fork : (1 _ : IO ()) -> IO ThreadID
- Totality: total
Visibility: export prim__threadWait : (1 _ : ThreadID) -> PrimIO ()
threadWait : (1 _ : ThreadID) -> IO ()
- Totality: total
Visibility: export print : HasIO io => Show a => a -> io ()
Output something showable to stdout, without a trailing newline.
Totality: total
Visibility: exportprintLn : HasIO io => Show a => a -> io ()
Output something showable to stdout, with a trailing newline.
Totality: total
Visibility: export