summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Runnable.hs-boot
diff options
context:
space:
mode:
authorPavan Rikhi <pavan.rikhi@gmail.com>2018-03-17 22:48:24 -0400
committerjao <jao@gnu.org>2018-11-21 21:41:35 +0000
commit4d1402a1a7d87767267d48a77998e4fb13395b31 (patch)
tree17fd6160dc1fa9c8a0676a94bcf8d19b551c655c /src/Xmobar/Runnable.hs-boot
parent9e2a5c7daddf683d4be7c318aefed3da3ea7a89a (diff)
downloadxmobar-4d1402a1a7d87767267d48a77998e4fb13395b31.tar.gz
xmobar-4d1402a1a7d87767267d48a77998e4fb13395b31.tar.bz2
Split Modules into Library & Executable Structure
Move the Main module to a new `app` directory. All other modules have been nested under the `Xmobar` name. Lots of module headers & imports were updated.
Diffstat (limited to 'src/Xmobar/Runnable.hs-boot')
-rw-r--r--src/Xmobar/Runnable.hs-boot8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Xmobar/Runnable.hs-boot b/src/Xmobar/Runnable.hs-boot
new file mode 100644
index 0000000..0f67322
--- /dev/null
+++ b/src/Xmobar/Runnable.hs-boot
@@ -0,0 +1,8 @@
+{-# LANGUAGE ExistentialQuantification #-}
+module Xmobar.Runnable where
+import Xmobar.Commands
+
+data Runnable = forall r . (Exec r,Read r,Show r) => Run r
+
+instance Read Runnable
+instance Exec Runnable