rosetta-code: Can't use array[ ] on words that are not compiled yet.

modern-harvey2
Doug Coleman 2017-09-15 17:56:01 -05:00
parent c24680b93d
commit ea429d347d
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ IN: rosetta-code.pythagorean-triples
! your language is compared to others; you need a proper algorithm ! your language is compared to others; you need a proper algorithm
! to solve them in a timely manner. ! to solve them in a timely manner.
<<
CONSTANT: T1 { CONSTANT: T1 {
{ 1 2 2 } { 1 2 2 }
{ -2 -1 -2 } { -2 -1 -2 }
@ -45,6 +46,8 @@ CONSTANT: T3 {
{ 2 1 2 } { 2 1 2 }
{ 2 2 3 } { 2 2 3 }
} }
>>
CONSTANT: base { 3 4 5 } CONSTANT: base { 3 4 5 }