-- | Mark a NodeState as non-terminal.
nonTerminal :: NodeState -> NodeState
nonTerminal nodeState = clearBit nodeState terminalBit
nonTerminal :: NodeState -> NodeState
nonTerminal nodeState = clearBit nodeState terminalBit
nonTerminal nodeState = clearBit nodeState terminalBit