From: P. <upl...@gm...> - 2011-11-10 17:30:57
|
There's no formal method to search for those, like there is for Haskell (hoogle). I've asked this in the past and either erg or qx (can't remember who) came up with this: IN: scratchpad all-words [ stack-effect present "( n seq -- elt )" = ] filter --- Data stack: { nth-unsafe pull-out-nth nth } It is ad hoc and thus will not always find what you're looking for. On Thu, Nov 10, 2011 at 12:03 PM, missingfaktor <rah...@gm... > wrote: > Does Factor have a word for searching words given a stack-effect? > > Something like: > > (( x p q -- )) words-with-stack-effect > > will list out 'bi' and other words with that effect. > > -- > Cheers, > missingfaktor <http://twitter.com/#%21/missingfaktor>. > > When you stand for what you believe in, you can change the world. > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Factor-talk mailing list > Fac...@li... > https://lists.sourceforge.net/lists/listinfo/factor-talk > > |