diff options
author | 2018-03-22 13:42:59 -0400 | |
---|---|---|
committer | 2018-03-23 12:45:19 -0400 | |
commit | 6f1b2c301b6edcc65713edf497c19dea21fa88d6 (patch) | |
tree | 66d50665c81e16ec6c225faa9bbb53d37825ab30 /src/Experiments | |
parent | 8998ef42029de709e1a16c9d06d2d01a8f8c2554 (diff) |
Add a comment explaining default inhabitants
Diffstat (limited to 'src/Experiments')
-rw-r--r-- | src/Experiments/SimplyTypedArithmetic.v | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Experiments/SimplyTypedArithmetic.v b/src/Experiments/SimplyTypedArithmetic.v index 5805741d6..f3c734998 100644 --- a/src/Experiments/SimplyTypedArithmetic.v +++ b/src/Experiments/SimplyTypedArithmetic.v @@ -4069,6 +4069,11 @@ Module Compilers. End ZRange. Module DefaultValue. + (** This module provides "default" inhabitants for the + interpretation of PHOAS types and for the PHOAS [expr] type. + These values are used for things like [nth_default] and in + other places where we need to provide a dummy value in cases + that will never actually be reached in correctly used code. *) Module type. Module primitive. Definition default {t : type.primitive} : type.interp t |