]> gitweb.factorcode.org Git - factor.git/commitdiff
fix help-lint failures
authorJoe Groff <arcata@gmail.com>
Wed, 14 Dec 2011 19:33:17 +0000 (11:33 -0800)
committerJoe Groff <arcata@gmail.com>
Wed, 14 Dec 2011 19:33:17 +0000 (11:33 -0800)
basis/furnace/auth/providers/couchdb/couchdb-docs.factor
basis/math/vectors/vectors-docs.factor
basis/math/vectors/vectors.factor

index be184d6af0d3e676592f69d3addb24e8a9e7e211..ec967f29d91ca7e4564bdb1d2e7a1ff081b25731 100644 (file)
@@ -24,17 +24,17 @@ HELP: couchdb-auth-provider
 } ;
 
 ARTICLE: "furnace.auth.providers.couchdb" "CouchDB Authentication Provider"
-    { $nl } "The " { $vocab-link "furnace.auth.providers.couchdb" } " vocabulary implements an authentication provider "
+    "The " { $vocab-link "furnace.auth.providers.couchdb" } " vocabulary implements an authentication provider "
     "which looks up authentication requests in a CouchDB. It is necessary to create a view "
     "associating usernames with user documents before using this vocabulary; see documentation "
     "for " { $link couchdb-auth-provider } "."
-    { $nl }
+    $nl
     "Although this implementation guarantees that users with duplicate IDs/emails"
     " cannot be created in a single CouchDB database, it provides so such guarentee if you are clustering "
     "multiple DBs. In this case, you are responsible for ensuring the uniqueness of users across "
     "databases."
-    { $nl }
+    $nl
     "Password hashes are base64 encoded."
  ;
 
-ABOUT: "furnace.auth.providers.couchdb"
\ No newline at end of file
+ABOUT: "furnace.auth.providers.couchdb"
index edc76c1192e892e45a9348211a60c49f08927ecb..19a30bde749d684763a5041391b531794c7b3276 100644 (file)
@@ -122,7 +122,7 @@ ARTICLE: "math-vectors-misc" "Miscellaneous vector functions"
 } ;
 
 ARTICLE: "math-vectors-simd-logic" "Componentwise logic with SIMD vectors"
-"Processor SIMD units supported by the " { $vocab-link "math.vectors.simd" } " vocabulary represent boolean values as bitmasks, where a true result's binary representation is all ones and a false representation is all zeroes. This is the format in which results from comparison words such as " { $link v= } " return their results and in which logic and test words such as " { $link vand } " and " { $link vall? } " take their inputs when working with SIMD types. For a float vector, false will manifest itself as " { $snippet "0.0" } " and true as a " { $link POSTPONE: NAN: } " literal with a string of set bits in its payload:"
+"Processor SIMD units supported by the " { $vocab-link "math.vectors.simd" } " vocabulary represent boolean values as bitmasks, where a true result's binary representation is all ones and a false representation is all zeroes. This is the format in which results from comparison words such as " { $link v= } " return their results and in which logic and test words such as " { $link vand } " and " { $link vall? } " take their inputs when working with SIMD types. For a float vector, false will manifest itself as " { $snippet "0.0" } " and true as a " { $link POSTPONE: NAN: } " literal with a string of on bits in its payload:"
 { $example
 """USING: math.vectors math.vectors.simd prettyprint ;
 
index 986afd301aac7d8205f78b52d92089fe0cbcb88e..35b69f74a2a3c09527a91a54670d533ce0fd8c31 100644 (file)
@@ -193,7 +193,7 @@ GENERIC: v? ( mask true false -- result )
 M: object v? 
     [ vand ] [ vandn ] bi-curry* bi vor ; inline
 
-:: vif ( mask true-quot: ( -- x ) false-quot: ( -- x ) -- result )
+:: vif ( mask true-quot: ( -- vector ) false-quot: ( -- vector ) -- result )
     {
         { [ mask vall?  ] [ true-quot  call ] }
         { [ mask vnone? ] [ false-quot call ] }