Date: 2008-07-29 05:40 pm (UTC)
Насчёт комбинатора я не уверен, но можно сделать таблицу для конечного автомата:
while (!state.isFinal()) {
  Pair<State, Runnable> todo = Map<State, Pair<State, Runnable>){{...}}.get(state);
  todo.y().run();
  state = todo.x();
}

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

July 2025

S M T W T F S
  12345
6789 1011 12
131415 1617 1819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 22nd, 2025 11:43 am
Powered by Dreamwidth Studios