Work some more on lattices 2
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -422,7 +422,7 @@ only thing we needed is to be able to check and see if two elements are
|
||||
equal or not; this is called _decidable equality_. Since that's the only
|
||||
thing we used, this means that we can define an "above/below" lattice like this
|
||||
for any type for which we can check if two elements are equal. In Agda, I encoded
|
||||
this using a parameterized module:
|
||||
this using a [parameterized module](https://agda.readthedocs.io/en/latest/language/module-system.html#parameterised-modules):
|
||||
|
||||
{{< codelines "Agda" "agda-spa/Lattice/AboveBelow.agda" 5 8 >}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user