From c36246fc390b140ac444720115138946d661f87c Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Wed, 6 Feb 2019 17:35:13 +0100 Subject: [PATCH] More consistent indentation in `infinite`. --- theories/infinite.v | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/theories/infinite.v b/theories/infinite.v index fe575923..3480c9f7 100644 --- a/theories/infinite.v +++ b/theories/infinite.v @@ -6,9 +6,10 @@ From stdpp Require Import pretty relations. (** The class [Infinite] axiomatizes types with infinitely many elements by giving an injection from the natural numbers into the type. It is mostly used to provide a generic [fresh] algorithm. *) -Class Infinite A := - { inject: nat → A; - inject_injective:> Inj (=) (=) inject }. +Class Infinite A := { + inject: nat → A; + inject_injective :> Inj (=) (=) inject; +}. Instance string_infinite: Infinite string := {| inject := λ x, "~" +:+ pretty x |}. Instance nat_infinite: Infinite nat := {| inject := id |}. -- GitLab