Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

math.vectors: add higher-order stack effect to vif

  • Loading branch information...
commit 3365e1adbb82aa3db2930b41104180e0b54ac530 1 parent 06a87c4
Joe Groff jckarter authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  basis/math/vectors/vectors.factor
2  basis/math/vectors/vectors.factor
View
@@ -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 ] }
Please sign in to comment.
Something went wrong with that request. Please try again.