It's not a necessary change, but instead of creating the intermediate list, you could just do something like `:optselected opt:checked` inside the `whamlet` quasiquote.