Consider the following example:
instance HyperView TestView es where
data Action TestView = Test Int Int
view :: View TestView ()
view = dropdown (\x -> Test x 1) 0 none
In this case, toActionInput will evaluate undefined in toAction (act undefined), which only seems to work if the supplied argument is the last one for the given action, i.e., \x -> Test 1 x works but \x -> Test x 1 does not.
Consider the following example:
In this case,
toActionInputwill evaluate undefined intoAction (act undefined), which only seems to work if the supplied argument is the last one for the given action, i.e.,\x -> Test 1 xworks but\x -> Test x 1does not.