17 lines · 348 B · Text
RawDownload
module Control.App.Console import public Control.App public exportinterface Console e where  putStr : String -> App {l} e ()  getStr : App {l} e String export PrimIO e => Console e where  putStr str = primIO $ putStr str  getStr = primIO $ getLine exportputStrLn : Console e => String -> App {l} e ()putStrLn str = putStr (str ++ "\n")

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t