WIP
This commit is contained in:
parent
66b4454099
commit
fad0336515
1 changed files with 9 additions and 0 deletions
9
src/Keyboard.hs
Normal file
9
src/Keyboard.hs
Normal 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
|
||||
Loading…
Reference in a new issue