From aa1ad21d726eb2120ba3dd694f88e9a09bfaece5 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Wed, 14 Dec 2011 11:33:17 -0800 Subject: [PATCH] fix help-lint failures --- basis/furnace/auth/providers/couchdb/couchdb-docs.factor | 8 ++++---- basis/math/vectors/vectors-docs.factor | 2 +- basis/math/vectors/vectors.factor | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/basis/furnace/auth/providers/couchdb/couchdb-docs.factor b/basis/furnace/auth/providers/couchdb/couchdb-docs.factor index be184d6af0..ec967f29d9 100644 --- a/basis/furnace/auth/providers/couchdb/couchdb-docs.factor +++ b/basis/furnace/auth/providers/couchdb/couchdb-docs.factor @@ -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" diff --git a/basis/math/vectors/vectors-docs.factor b/basis/math/vectors/vectors-docs.factor index edc76c1192..19a30bde74 100644 --- a/basis/math/vectors/vectors-docs.factor +++ b/basis/math/vectors/vectors-docs.factor @@ -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 ; diff --git a/basis/math/vectors/vectors.factor b/basis/math/vectors/vectors.factor index 986afd301a..35b69f74a2 100644 --- a/basis/math/vectors/vectors.factor +++ b/basis/math/vectors/vectors.factor @@ -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 ] }