File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Tablebot/Plugins/Roll/Dice Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ data ListValuesBase = LVBParen (Paren ListValues) | LVBList [Expr]
72
72
73
73
-- | The type for a binary operator between one or more `sub` values
74
74
data BinOp sub typ where
75
- BinOp :: Operation typ => sub -> [(typ , sub )] -> BinOp sub typ
75
+ BinOp :: ( Operation typ ) => sub -> [(typ , sub )] -> BinOp sub typ
76
76
77
77
deriving instance (Show sub , Show typ ) => Show (BinOp sub typ )
78
78
@@ -85,7 +85,7 @@ pattern SingBinOp a <-
85
85
86
86
-- | The type class that means we can get an operation on integers from a value.
87
87
class Operation a where
88
- getOperation :: a -> (forall n . Integral n => n -> n -> n )
88
+ getOperation :: a -> (forall n . ( Integral n ) => n -> n -> n )
89
89
90
90
-- | The type of the top level expression.
91
91
--
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ instance IOEvalList (MiscData ListValues) where
211
211
212
212
-- | This type class gives a function which evaluates the value to an integer
213
213
-- and a string.
214
- class ParseShow a => IOEval a where
214
+ class ( ParseShow a ) => IOEval a where
215
215
-- | Evaluate the given item to an integer, a string representation of the
216
216
-- value, and the number of RNG calls it took. If the `a` value is a dice
217
217
-- value, the values of the dice should be displayed. This function adds
You can’t perform that action at this time.
0 commit comments