tvl-depot/scratch/brilliant
William Carroll d45685e245 Apply a series of transformation to a QWERTY keyboard
TL;DR:
- Accept input from the CLI
- Add a project README.md
2020-08-05 23:36:04 +01:00
..
.ghci Create small command line program that parses arguments 2020-08-04 16:36:31 +01:00
App.hs Apply a series of transformation to a QWERTY keyboard 2020-08-05 23:36:04 +01:00
Keyboard.hs Support App.transform 2020-08-05 23:21:08 +01:00
Main.hs Apply a series of transformation to a QWERTY keyboard 2020-08-05 23:36:04 +01:00
README.md Apply a series of transformation to a QWERTY keyboard 2020-08-05 23:36:04 +01:00
shell.nix Add some the scaffolding for testing 2020-08-05 21:37:08 +01:00
Spec.hs Apply a series of transformation to a QWERTY keyboard 2020-08-05 23:36:04 +01:00
Transforms.hs Support App.transform 2020-08-05 23:21:08 +01:00
Utils.hs Support App.transform 2020-08-05 23:21:08 +01:00

Transform QWERTY

Apply a series of transforms to a QWERTY keyboard.

Usage

To run the program, enter the following:

$ runhaskell Main.hs --help
Usage: Main.hs (-t|--transforms ARG)
  Transform a QWERTY keyboard using a string of commands

Available options:
  -t,--transforms ARG      String of transforms where (e.g. "HHVS12VHVHS3")
  -h,--help                Show this help text

For example:

$ runhaskell Main.hs --transforms=HHVS12VHVHS3
[N][M][,][.][/][Z][X][C][V][B]
[H][J][K][L][;][A][S][D][F][G]
[Y][U][I][O][P][Q][W][E][R][T]
[6][7][8][9][0][1][2][3][4][5]

Environment

You'll need runhaskell, so call nix-shell from this project's root directory.