diff options
Diffstat (limited to 'src/Runnable.hs')
-rw-r--r-- | src/Runnable.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runnable.hs b/src/Runnable.hs index 84d9b77..04272f5 100644 --- a/src/Runnable.hs +++ b/src/Runnable.hs @@ -46,7 +46,7 @@ class ReadAsAnyOf ts ex where instance ReadAsAnyOf () ex where readAsAnyOf ~() = mzero -instance (Show t, Read t, Exec t, ReadAsAnyOf ts Runnable) => ReadAsAnyOf (t,ts) Runnable where +instance (Read t, Exec t, ReadAsAnyOf ts Runnable) => ReadAsAnyOf (t,ts) Runnable where readAsAnyOf ~(t,ts) = r t `mplus` readAsAnyOf ts where r ty = do { m <- readPrec; return (Run (m `asTypeOf` ty)) } |