~ubuntu-branches/ubuntu/raring/agda-stdlib/raring

« back to all changes in this revision

Viewing changes to src/Data/List/Countdown.agda

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-04-10 10:30:20 UTC
  • mfrom: (2.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20130410103020-bcspfz3whyy5iafu
Tags: 0.7-1
* [6d52289] Imported Upstream version 0.7
* [54104d0] Update Depends and Build-Depends for this version, compatible
  with Agda 2.3.2
* [b3ddce4] No need for the .install file to be executable (thanks lintian)
* [a9a6cb7] Standards-Version → 3.9.4, no changes required

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
  thick-injective {suc n} (suc i)  zero    zero    _ = refl
126
126
  thick-injective {suc n} (suc i)  zero    (suc k) ()
127
127
  thick-injective {suc n} (suc i)  (suc j) zero    ()
128
 
  thick-injective {suc n} (suc i)  (suc j) (suc k) eq =
129
 
    cong suc $ thick-injective i j k (drop-suc eq)
 
128
  thick-injective {suc n} (suc i)  (suc j) (suc k) {i≢j} {i≢k} eq =
 
129
    cong suc $ thick-injective i j k {i≢j ∘ cong suc} {i≢k ∘ cong suc} (drop-suc eq)
130
130
 
131
131
------------------------------------------------------------------------
132
132
-- The countdown data structure