1. 6
    Read and Transform Values from a State ADT’s State
    3m 47s

Read and Transform Values from a State ADT’s State

Share this video with your friends

Send Tweet

Many times we need to access and transform state, either in part or in full, to be used when calculating other state transitions. We will look at how we can leverage the get function on the State ADT to read and modify portions of our application state, putting the result in the Resultant portion. We will create two transactions: one to select a card from a list of cards and another to access the hint portion of our state.