Skip to content

Commit

Permalink
math.vectors: add higher-order stack effect to vif
Browse files Browse the repository at this point in the history
  • Loading branch information
jckarter committed Dec 14, 2011
1 parent 06a87c4 commit 3365e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis/math/vectors/vectors.factor
Expand Up @@ -193,7 +193,7 @@ GENERIC: v? ( mask true false -- result )
M: object v?
[ vand ] [ vandn ] bi-curry* bi vor ; inline

:: vif ( mask true-quot false-quot -- result )
:: vif ( mask true-quot: ( -- x ) false-quot: ( -- x ) -- result )
{
{ [ mask vall? ] [ true-quot call ] }
{ [ mask vnone? ] [ false-quot call ] }
Expand Down

0 comments on commit 3365e1a

Please sign in to comment.