aboutsummaryrefslogtreecommitdiffhomepage
path: root/Types/Preset.hs
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-02-25 14:51:38 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-02-25 14:51:38 -0700
commit3ced073c900ae0389771b438da3d0584a6dfec63 (patch)
treece62f7d1d67e041c61c1cc4e4a87fea224846bb4 /Types/Preset.hs
parent1a48af859360e388c829f78ace708d32131d0a9b (diff)
downloadsscan-3ced073c900ae0389771b438da3d0584a6dfec63.tar.gz
types for presets
Diffstat (limited to 'Types/Preset.hs')
-rw-r--r--Types/Preset.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Types/Preset.hs b/Types/Preset.hs
new file mode 100644
index 0000000..78f0231
--- /dev/null
+++ b/Types/Preset.hs
@@ -0,0 +1,11 @@
+module Types.Preset where
+
+import qualified Data.Text as T
+
+import Types.State
+
+type PresetToggleKey = Char
+type PresetDesc = T.Text
+type PresetPreset = St -> St
+
+data Preset = Preset PresetToggleKey PresetDesc PresetPreset