Idris2/tests/idris2/interactive015/expected
Edwin Brady 7083f7ac13 Add a 'reject' count to :gd
This gives the number of implementations to reject before accepting one.
It's intended as a reasonably cheap way of giving multiple results from
interactive editing (e.g. the vim mode, which goes via the REPL and
--client rather than the IDE mode)
2020-07-27 14:56:16 +01:00

36 lines
1016 B
Plaintext

1/1: Building IEdit (IEdit.idr)
Main> my_cong x x Refl = Refl
Main> No more results
Main> append [] ys = ys
append (x :: xs) ys = x :: append xs ys
Main> append [] ys = ys
append (x :: xs) [] = x :: append xs []
append (x :: xs) (y :: ys) = x :: append xs (x :: ys)
Main> lappend [] ys = ys
lappend (x :: xs) ys = x :: lappend xs ys
Main> lappend [] ys = ys
lappend (x :: xs) ys = x :: lappend ys xs
Main> lappend [] ys = ys
lappend (x :: xs) ys = lappend xs (x :: ys)
Main> lappend1 xs ys = ys
Main> lappend1 xs ys = xs
Main> lappend1 xs ys = []
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = xs
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = ys
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = []
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = x :: lappend1 xs xs
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = x :: lappend1 xs ys
Main> lappend1 [] ys = ys
lappend1 (x :: xs) ys = x :: lappend1 xs ys
Main> ys
Main> []
Main> lappend2 ys ys
Main> lappend2 ys []
Main> lappend2 [] ys
Main> Bye for now!