Encode UndoList submodule.
Provides JSON encoders for Timelines and UndoList Messages.
Encode an undolist of JSON values. Best paired with the map function from UndoList.
map
encodeUndoList stateEncoder = UndoList.map stateEncoder >> undolist
Encode an UndoList Msg of JSON values. Best paired with the mapMsg function from UndoList.
mapMsg
encodeMsg msgEncoder = UndoList.mapMsg msgEncoder >> msg
Encode an undolist of JSON values. Best paired with the
mapfunction from UndoList.