Skip to content

Commit d95f430

Browse files
committed
[54] Remove redudant typeclass constraint
1 parent 4f8d806 commit d95f430

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/src/System/Etc/Internal/Config.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ _getConfigValueWith parser keys0 (Config configValue0) =
6666
in loop keys0 configValue0
6767

6868
_getSelectedConfigSource
69-
:: (MonadThrow m, Typeable result, IConfigSource result) => [Text] -> Config -> m result
69+
:: (MonadThrow m, IConfigSource result) => [Text] -> Config -> m result
7070
_getSelectedConfigSource keys0 (Config configValue0) =
7171
let loop keys configValue = case (keys, configValue) of
7272
([], ConfigValue sources) -> case Set.maxView sources of

etc/src/System/Etc/Internal/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ class IConfig config where
284284
-> config
285285
-> m (Set SomeConfigSource)
286286
getSelectedConfigSource
287-
:: (MonadThrow m, Typeable source, IConfigSource source)
287+
:: (MonadThrow m, IConfigSource source)
288288
=> [Text]
289289
-> config
290290
-> m source

0 commit comments

Comments
 (0)