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

« back to all changes in this revision

Viewing changes to src/Data/AVL/IndexedMap.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:
34
34
 
35
35
private
36
36
 
37
 
  fromKV : KV → Σ[ ik ∶ ∃ Key ] Value (proj₁ ik)
 
37
  fromKV : KV → Σ[ ik ∈ ∃ Key ] Value (proj₁ ik)
38
38
  fromKV (i , k , v) = ((i , k) , v)
39
39
 
40
 
  toKV : Σ[ ik ∶ ∃ Key ] Value (proj₁ ik) → KV
 
40
  toKV : Σ[ ik ∈ ∃ Key ] Value (proj₁ ik) → KV
41
41
  toKV ((i , k) , v) = (i , k , v)
42
42
 
43
43
-- The map type.