Changes in tests/coroutine/fibonacci_1.cfa [427854b:386e710]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/coroutine/fibonacci_1.cfa
r427854b r386e710 12 12 // Last Modified On : Thu Mar 21 08:10:45 2019 13 13 // Update Count : 25 14 // 14 // 15 15 16 16 #include <fstream.hfa> … … 23 23 [fn1, fn] = [0, 1]; // precompute first two states 24 24 for () { 25 suspend ; // restart last resume25 suspend(); // restart last resume 26 26 [fn1, fn] = [fn, fn1 + fn]; // general case 27 27 } // for
Note: See TracChangeset
for help on using the changeset viewer.