|
|
|
|
|
by pka
2274 days ago
|
|
Ah, I understand now. That seems like a good idea indeed, however I'm not sure how it'd look in practice. The transition from input space to state space happens in the event handlers, which currently look like this: onClick :: Bounded a => Enum a => a -> VDOM a
If I understand correctly, you're proposing something like: onClick :: Bounded a => Enum a => a -> VDOM b
Where b can be whatever (i.e. an Int, etc)? How would a be converted into b? |
|