new design of API
val rain = P('rain | winter) follows (0.1, 0.9, 0.3, 0.7)