You can see some curry declared and then defined as part of bootstrap in:

https://github.com/factor/factor/blob/master/core/bootstrap/primitives.factor#L289



On Wed, Aug 18, 2021 at 3:01 PM George Cherevichenko <
george.chereviche...@gmail.com> wrote:

> Hi
> Where are definitions of "curry" and "compose"? I can't find them in
> kernel.factor
> Is it a trick of compiler? For example, "dip" is defined as
> : dip ( x quot -- x ) swap [ call ] dip ;
> "because the compiler special-cases them".
> What is "namespaces:set" in compiler.factor?
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to