This commit is contained in:
千住柱間 2025-01-30 18:04:09 +00:00
commit fad0336515

9
src/Keyboard.hs Normal file
View file

@ -0,0 +1,9 @@
import Data.Text.Lazy as TL
parseKB :: [String] -> [String]
parseKB keylist = do {-
the thing is, we need to process this as a list, maybe with Map
-}
our_keylist = TL.pack keylist
our_operator = TL.pack "-"
splited = TL.unpack $ TL.splitOn our_operator our_keylist