8 lines · 439 B · Text
RawDownload
1/1: Building CaseBlock (CaseBlock.idr)Main> Main.foo : (x : Nat) -> (case x of { 0 => Nat -> Nat ; S k => Nat })Main> Prelude.elem : Eq a => a -> List a -> Boolelem x [] = Falseelem x (y :: ys) = if x == y then True else elem x ysMain> PrimIO.io_bind : (1 act : IO a) -> (1 k : (a -> IO b)) -> IO bio_bind (MkIO fn) = \1 k => MkIO (\1 w => (case fn w of { MkIORes x' w' => case k x' of { MkIO res => res w' } }))Main> Bye for now!

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