mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-21 02:07:25 +03:00
Update literate test results
New search heuristic finds a slightly better zipWith, in particular.
This commit is contained in:
parent
8d7fa5c642
commit
ff48bb2310
@ -6,7 +6,7 @@ Main> > append [] ys = ys
|
||||
> append (x :: xs) ys = x :: append xs ys
|
||||
Main> > lappend [] ys = ys
|
||||
> lappend (x :: xs) ys = x :: lappend xs ys
|
||||
Main> > zipWith f [] ys = []
|
||||
Main> > zipWith f [] [] = []
|
||||
> zipWith f (x :: xs) (y :: ys) = f x y :: zipWith f xs ys
|
||||
Main> > lookup Here (ECons x es) = x
|
||||
> lookup (There p) (ECons x es) = lookup p es
|
||||
|
@ -1,8 +1,8 @@
|
||||
1/1: Building IEdit (IEdit.lidr)
|
||||
Main> > zipHere [] ys = []
|
||||
Main> > zipHere [] [] = []
|
||||
> zipHere (x :: xs) (y :: ys) = (x, y) :: zipHere xs ys
|
||||
Main> Bye for now!
|
||||
1/1: Building IEditOrg (IEditOrg.org)
|
||||
Main> #+IDRIS: zipHere [] ys = []
|
||||
Main> #+IDRIS: zipHere [] [] = []
|
||||
#+IDRIS: zipHere (x :: xs) (y :: ys) = (x, y) :: zipHere xs ys
|
||||
Main> Bye for now!
|
||||
|
@ -1,4 +1,4 @@
|
||||
1/1: Building IEdit (IEdit.md)
|
||||
Main> zipHere [] ys = []
|
||||
Main> zipHere [] [] = []
|
||||
zipHere (x :: xs) (y :: ys) = (x, y) :: zipHere xs ys
|
||||
Main> Bye for now!
|
||||
|
Loading…
Reference in New Issue
Block a user