Thank you for the reply, and for the code suggestions!
 
08.10.2017, 07:13, "CW Alston" <cwalsto...@gmail.com>:
-for `last3` :
IN: scratchpad { 1 2 3 4 5 6 } 3 tail spill-seq ! or something like it
 
In fact, here's a non-MACRO:-way to do the same:
: last3 ( seq -- X Y Z )
3 cut* nip first3 ; inline
 
! ---------------------
-for `6array` :
IN: scratchpad 5 6 7 8 9 10  6 narray
 
Thanks, I forgot all about `narray`!
 
! -----------------
<iota> is undefined in Factor Version 0.98; should use `iota`.
I didn't find <iota> anywhere in `sequences` or its child-vocabs.
(I'm running factor-macosx-x86-64-2017-05-14-20-08.dmg):
 

I'm on the bleeding edge, you see. They've renamed `iota` to `<iota>` and `iota-tuple` to `iota`.
 
---=====---
Александр
 
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to