On Mon, Nov 17, 2008 at 4:26 PM, Jose A. Ortega Ruiz <[EMAIL PROTECTED]> wrote:
> Yes... except maybe when there're words before the opening brace?:
>
>     a swap {
>             10
>             20
>     } ! <- here (like C)
>            } ! <- or here?

The correct indentation is "like C".

The following is not idiomatic Factor, and people should not indent
their code like this:

{ 10 20
    40 50 }

For word definitions, we do write

: foo ( ... )
    a b
    c d ;

>
> Similar problems seem to exist for multiline []... What would be the
> correct indentation?
>
> (I'll see to fix this as soon as possible).
>
> Thanks!
> jao
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to