aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-11-30 08:15:36 -0800
committercolin <colin@cicadas.surf>2023-11-30 08:15:36 -0800
commita7f9f52a100b8ba8ef87b93ce6e227f9238e2902 (patch)
treebd908174c308349904f3a6b4d8709a4b1a05200e /README.org
parente75bc51f983d37ce9014957835615813b9e26e7c (diff)
typo; wording
Diffstat (limited to 'README.org')
-rw-r--r--README.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.org b/README.org
index a81b26d..1f84171 100644
--- a/README.org
+++ b/README.org
@@ -2,9 +2,9 @@
Terrafirma is a small system for defining data type validators that produce nice error messages on invalid data.
-Terrafirma's main export is the =DEFVALIDATOR= macro. This macro defines a validator function. The body of the validator function evalutes in a special context. Within this context, the symbol =VALIDATE= is a macro that can be used to check predicates and singal a =VALIDATION-ERROR= upon failure: baslically just a wrapper around =ASSERT=.
+Terrafirma's main export is the =DEFVALIDATOR= macro. This macro defines a validator function. The body of the validator function evalutes in a special context. Within this context, the symbol =VALIDATE= is a macro that can be used to check predicates and singal a =VALIDATION-ERROR= upon failure: basically just a wrapper around =ASSERT=.
-The real "magic" happens when validation functions are defined in terms of other validation functions. In that case, error messages are nested to produce high-specific locations for your validation error.
+The real "magic" happens when validation functions are defined in terms of other validation functions. In that case, validation errors are nested to produce highly-specific messages for your validation error.
Here is an example: