You need to use prettyprint also and ``.`` it after make-tuple.

> On Nov 1, 2016, at 3:10 PM, Alexander Ilin <ajs...@yandex.ru> wrote:
> 
> Hello!
> 
>  I've created an example code for the `make-tuple` word, but I can't make it 
> through `help-lint`. Could someone give me a hint on what's going on?
> 
>  Here's my help text:
> { $examples
>    { $example
>        "USING: combinators.tuple math ;"
>        "IN: scratchpad"
>        "TUPLE: demo x y z ;"
>        "5 demo {"
>        "   { \"x\" [ 10 + ] }"
>        "   { \"y\" [ 100 / ] }"
>        "} make-tuple"
>        "T{ demo f 15 1/20 f }"
>    }
> }
> 
>  `help-lint` complains:
> Quotation's stack effect does not match call site
> quot      [ 5 demo ~array~ make-tuple ]
> call-site ( -- )
> 
> ---=====--- 
> Александр
> 
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to