unclechu / xlib-keys-hack

Keyboard behavior customization utility
GNU General Public License v3.0
9 stars 1 forks source link

Get rid of partial functions/patterns in Process.Keyboard.HandlingKeyEventFlow #29

Open unclechu opened 4 years ago

unclechu commented 4 years ago

It historically contains a lot of partial functions. Generally it has a lot of Bool checks with actions associated with them. I could define something like case-of with ViewPatterns to do both a case check and extract whatever values I need for an associated action.