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

« back to all changes in this revision

Viewing changes to src/Relation/Binary/List/NonStrictLex.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:
25
25
 
26
26
open import Relation.Binary.List.Pointwise as Pointwise using ([])
27
27
 
28
 
private
29
 
 module Dummy {A : Set} where
 
28
module _ {A : Set} where
30
29
 
31
30
  Lex : (P : Set) → (_≈_ _≤_ : Rel A zero) → Rel (List A) zero
32
31
  Lex P _≈_ _≤_ = Strict.Lex P _≈_ (Conv._<_ _≈_ _≤_)
157
156
    Strict.<-isStrictTotalOrder
158
157
      (Conv.isTotalOrder⟶isStrictTotalOrder _ _ dec tot)
159
158
 
160
 
open Dummy public
161
 
 
162
159
-- "Packages" (e.g. preorders) can also be handled.
163
160
 
164
161
≤-preorder : Poset _ _ _ → Preorder _ _ _