This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Unique where | |
-- I deal with naturals instead of integers. with a bit more effort, I could | |
-- probably have parameterized this over any type with decidable equality. | |
open import Data.Nat | |
open import Data.Product | |
open import Data.List hiding (any) | |
open import Data.List.Any | |
open import Relation.Nullary | |
open import Relation.Binary.PropositionalEquality |