]> gitweb.factorcode.org Git - factor.git/commitdiff
db.{tuples,types}-docs: fix an indefinite article
authorAlexander Iljin <ajsoft@yandex.ru>
Wed, 14 Feb 2018 12:59:21 +0000 (13:59 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 21 Feb 2018 23:05:20 +0000 (15:05 -0800)
Replace "a SQL" with "an SQL".

basis/db/tuples/tuples-docs.factor
basis/db/types/types-docs.factor

index f099a4b16cfa0344f6cc32e8ea22ebcef4ce11f0..a744701b567428dcf26fa409f4760239ba391842 100644 (file)
@@ -134,13 +134,13 @@ HELP: select-tuple
 { $values
      { "query/tuple" tuple }
      { "tuple/f" { $maybe tuple } } }
-{ $description "A SQL query is constructed from the slots of the exemplar tuple that are not " { $link f } ". Returns a single tuple from the database if it matches the query constructed from the exemplar tuple." } ;
+{ $description "An SQL query is constructed from the slots of the exemplar tuple that are not " { $link f } ". Returns a single tuple from the database if it matches the query constructed from the exemplar tuple." } ;
 
 HELP: select-tuples
 { $values
      { "query/tuple" tuple }
      { "tuples" "an array of tuples" } }
-{ $description "A SQL query is constructed from the slots of the exemplar tuple that are not " { $link f } ". Returns an array of multiple tuples from the database that match the query constructed from the exemplar tuple." } ;
+{ $description "An SQL query is constructed from the slots of the exemplar tuple that are not " { $link f } ". Returns an array of multiple tuples from the database that match the query constructed from the exemplar tuple." } ;
 
 HELP: count-tuples
 { $values
index 72d6c2edc2d5e355dba17942e1314e7af445cec7..4f23cfcbec0e1054636eb99a424890bb93e99f9e 100644 (file)
@@ -97,12 +97,12 @@ HELP: user-assigned-id-spec?
 
 HELP: bind#
 { $values
-     { "spec" "a SQL spec" } { "obj" object } }
+     { "spec" "an SQL spec" } { "obj" object } }
 { $description "A generic word that lets a database construct a literal binding." } ;
 
 HELP: bind%
 { $values
-     { "spec" "a SQL spec" } }
+     { "spec" "an SQL spec" } }
 { $description "A generic word that lets a database output a binding." } ;
 
 HELP: db-assigned-id-spec?
@@ -120,23 +120,23 @@ HELP: find-primary-key
 
 HELP: no-sql-type
 { $values
-     { "type" "a SQL type" } }
+     { "type" "an SQL type" } }
 { $description "Throws an error containing an SQL type that is unsupported or the result of a typo." } ;
 
 HELP: normalize-spec
 { $values
-     { "spec" "a SQL spec" } }
+     { "spec" "an SQL spec" } }
 { $description "Normalizes an SQL spec." } ;
 
 HELP: primary-key?
 { $values
-     { "spec" "a SQL spec" }
+     { "spec" "an SQL spec" }
      { "?" boolean } }
 { $description "Returns true if an SQL spec is a primary key." } ;
 
 HELP: relation?
 { $values
-     { "spec" "a SQL spec" }
+     { "spec" "an SQL spec" }
      { "?" boolean } }
 { $description "Returns true if an SQL spec is a relation." } ;