[Agda] Preorder.setoid ?

Sergei Meshveliani mechvel at botik.ru
Mon Sep 16 17:22:51 CEST 2013


Dear Standard library developers,

lib-0.7  has  record Preorder  ...

1) Intuitively, a  Preorder  is also a  Setoid.
2) record Preorder  has all parts of Setoid.
3) Programmers would often like to extract  Setoid  from  Preorder
   (ToTalOrder, DecTotalOrder, ...). 

So, has it sense to add to  `record Preorder'   the lines   

  setoid : Setoid c ℓ₁  
  setoid = record{ Carrier       = Carrier  
                 ; _≈_           = _≈_ 
                 ; isEquivalence = isEquivalence } 
?

Regards,

------
Sergei






More information about the Agda mailing list