Sometimes it just takes a short break from the keyboard to let the stupidity evaporate.
On Wed, Aug 27, 2014 at 1:13 AM, mr wzrd <wzr...@gmail.com> wrote: > Er, I am daft. Ignored the fact that output>array expects a quotation. > > Sometimes it just takes a short break from the keyboard to regain the senses. > > On Wed, Aug 27, 2014 at 12:05 AM, Doug Coleman <doug.cole...@gmail.com> wrote: >> Check out the unit tests and pattern it after that or paste the code. It >> should be working. >> >> On Aug 26, 2014 9:00 PM, "mr wzrd" <wzr...@gmail.com> wrote: >>> >>> Generic word call does not define a method for the array class. >>> Dispatching on object: { "asdf" } >>> >>> On Tue, Aug 26, 2014 at 11:56 PM, Doug Coleman <doug.cole...@gmail.com> >>> wrote: >>> > That's not the problem. It shouldn't care what types are going to be in >>> > the >>> > array. >>> > >>> > Try a simpler example first, or experiment with { } output>sequence. >>> > >>> > On Aug 26, 2014 8:30 PM, "mr wzrd" <wzr...@gmail.com> wrote: >>> >> >>> >> output>array does not seem to like the fact that the objects on the >>> >> stack are arrays. >>> >> >>> >> >>> >> On Tue, Aug 26, 2014 at 11:15 PM, mr wzrd <wzr...@gmail.com> wrote: >>> >> > Thanks. >>> >> > >>> >> > ''Infers the number of outputs from the quotation and constructs an >>> >> > array from those outputs.'' >>> >> > >>> >> > Wonder how many other languages there are where it's possible to do >>> >> > easily do that. >>> >> > >>> >> > On Tue, Aug 26, 2014 at 11:10 PM, Doug Coleman >>> >> > <doug.cole...@gmail.com> >>> >> > wrote: >>> >> >> You can use output>array in combinators.smart. >>> >> >> >>> >> >> On Aug 26, 2014 8:09 PM, "mr wzrd" <wzr...@gmail.com> wrote: >>> >> >>> >>> >> >>> Hello list. >>> >> >>> >>> >> >>> How would one use the cleave combinator to accumulate results into >>> >> >>> a >>> >> >>> sequence instead of onto the stack? >>> >> >>> >>> >> >>> Initially I have one object on the stack and five quotations to >>> >> >>> apply >>> >> >>> to >>> >> >>> it. >>> >> >>> >>> >> >>> Makes sense to define a "5array" operation? >>> >> >>> >>> >> >>> Still, there should be a general way to get the results from >>> >> >>> n-quotations cleaved into a sequence. >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> ------------------------------------------------------------------------------ >>> >> >>> Slashdot TV. >>> >> >>> Video for Nerds. Stuff that matters. >>> >> >>> http://tv.slashdot.org/ >>> >> >>> _______________________________________________ >>> >> >>> Factor-talk mailing list >>> >> >>> Factor-talk@lists.sourceforge.net >>> >> >>> https://lists.sourceforge.net/lists/listinfo/factor-talk >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> ------------------------------------------------------------------------------ >>> >> >> Slashdot TV. >>> >> >> Video for Nerds. Stuff that matters. >>> >> >> http://tv.slashdot.org/ >>> >> >> _______________________________________________ >>> >> >> Factor-talk mailing list >>> >> >> Factor-talk@lists.sourceforge.net >>> >> >> https://lists.sourceforge.net/lists/listinfo/factor-talk >>> >> >> >>> >> >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >>> >> Slashdot TV. >>> >> Video for Nerds. Stuff that matters. >>> >> http://tv.slashdot.org/ >>> >> _______________________________________________ >>> >> Factor-talk mailing list >>> >> Factor-talk@lists.sourceforge.net >>> >> https://lists.sourceforge.net/lists/listinfo/factor-talk >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Slashdot TV. >>> > Video for Nerds. Stuff that matters. >>> > http://tv.slashdot.org/ >>> > _______________________________________________ >>> > Factor-talk mailing list >>> > Factor-talk@lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/factor-talk >>> > >>> >>> >>> ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> Factor-talk mailing list >>> Factor-talk@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/factor-talk >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Factor-talk mailing list >> Factor-talk@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/factor-talk >> ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk