Folks, I'm trying to build a search space for future analysis. Does this look valid to you? transition(State) -> [{[Move] ++ Moves, Cost + Cost1} || {State1, Move, Cost} <- move(State), {Moves, Cost1} <- transition(State1)]. Thanks, Joel -- http://wagerlabs.com/