Integer sequence: Difference between revisions

added Fantom example
(added Scheme example)
(added Fantom example)
Line 152:
 
Seq.iter (printfn "%d") (integers 1)</lang>
 
=={{header|Fantom}}==
 
<lang fantom>
class Main
{
public static Void main()
{
i := 1
while (true)
{
echo (i)
i += 1
}
}
}
</lang>
 
Fantom's integers are 64-bit signed, and so the numbers will return to 0 and continue again, if you wait long enough!
 
=={{header|Forth}}==
342

edits