so far, only with stride 1.

// slice demo
var x = (1,2,3,4,5,6,7,8,9);
var y = x :>> (int ^2*int^5*int^2);
println$ y;
var sslice = y . 1;
println$ sslice;
///
>flx slice
((1, 2), (3, 4, 5, 6, 7), (8, 9))
(3, 4, 5, 6, 7)
////

Note the compiler complains about a bad coercion but does it anyhow.
If I use the type int ^ (2 + 5  +2) at present the code doesn't work.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to