(options: NumberOptionsReq)
| 3203 | } |
| 3204 | |
| 3205 | const handleRenderFloat = (options: NumberOptionsReq) => { |
| 3206 | return (state: NumberState, action: Action<NumberState, number>) => { |
| 3207 | return Action.$match(action, { |
| 3208 | Beep: () => Effect.succeed(renderBeep), |
| 3209 | NextFrame: ({ state }) => renderNumberNextFrame(state, options), |
| 3210 | Submit: () => renderNumberSubmission(state, options) |
| 3211 | }) |
| 3212 | } |
| 3213 | } |
| 3214 | |
| 3215 | const handleProcessFloat = (options: NumberOptionsReq) => { |
| 3216 | return (input: Terminal.UserInput, state: NumberState) => { |