14 lines · 501 B · Text
RawDownload
1/1: Building IEdit (IEdit.idr)Main> my_cong x x Refl = ReflMain> my_curry f x y = f (x, y)Main> my_uncurry f x = f (fst x) (snd x)Main> append [] ys = ysappend (x :: xs) ys = x :: append xs ysMain> lappend [] ys = yslappend (x :: xs) ys = x :: lappend xs ysMain> zipWith f [] ys = []zipWith f (x :: xs) (y :: ys) = f x y :: zipWith f xs ysMain> lookup Here (ECons x es) = xlookup (There p) (ECons x es) = lookup p esMain> Main.my_uncurry : (a -> b -> c) -> (a, b) -> cMain> 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