2020-07-27 15:45:10 +03:00
|
|
|
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 []
|
2020-07-30 01:54:52 +03:00
|
|
|
append (x :: xs) (y :: ys) = x :: append xs (y :: ys)
|
2020-07-27 15:45:10 +03:00
|
|
|
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 [] ys = ys
|
2020-07-30 01:54:52 +03:00
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs ys
|
2020-07-27 15:45:10 +03:00
|
|
|
Main> lappend1 [] ys = ys
|
2020-07-30 01:54:52 +03:00
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs (x :: ys)
|
2020-07-27 15:45:10 +03:00
|
|
|
Main> lappend1 [] ys = ys
|
2020-07-30 01:54:52 +03:00
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs (x :: (x :: ys))
|
2020-07-27 15:45:10 +03:00
|
|
|
Main> lappend1 [] ys = ys
|
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs xs
|
|
|
|
Main> lappend1 [] ys = ys
|
2020-07-30 01:54:52 +03:00
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs []
|
2020-07-27 16:56:16 +03:00
|
|
|
Main> lappend1 [] ys = ys
|
2020-07-30 01:54:52 +03:00
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs (x :: xs)
|
|
|
|
Main> lappend1 [] ys = ys
|
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs [x]
|
|
|
|
Main> lappend1 [] ys = ys
|
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs (x :: (x :: xs))
|
|
|
|
Main> lappend1 [] ys = ys
|
|
|
|
lappend1 (x :: xs) ys = x :: lappend1 xs (x :: (x :: xs))
|
2020-07-27 15:45:10 +03:00
|
|
|
Main> ys
|
|
|
|
Main> []
|
|
|
|
Main> lappend2 ys ys
|
|
|
|
Main> lappend2 ys []
|
|
|
|
Main> lappend2 [] ys
|
|
|
|
Main> Bye for now!
|