Closed emil14 closed 1 month ago
component Main(start) (stop) { nodes { Match<int>, next PrintNext2Lines } :start -> (99 -> next -> match:data) -1 -> match:case[0] -> :stop match:else -> next } component PrintNext2Lines(n int) (n int) { nodes { decr Decr<int> first PrintFirstLine second PrintSecondLine } :n -> first -> decr -> second -> :n }
component Main(start) -> (stop) { nodes { Match<int>, next PrintNext2Lines } :start -> (99 -> next -> match:data) -1 -> match:case[0] -> :stop match:else -> next } component PrintNext2Lines(n int) -> (n int) { nodes { decr Decr<int> first PrintFirstLine second PrintSecondLine } :n -> first -> decr -> second -> :n }
It kind of flows... I do like it. Seems worth the extra bytes.
Today @Catya3 and I discussed this and here's what we think
Even though it makes sense, it's just gonna be a lot of arrows
Before
After