From 531b41944a1bef7d95f94bc267698b5db6777305 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 12 Dec 2016 15:27:13 +0100 Subject: Need type annotation for overloaded strings --- ymir/mlmmj-expose.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ymir') diff --git a/ymir/mlmmj-expose.hs b/ymir/mlmmj-expose.hs index 2819462e..ef8d076b 100644 --- a/ymir/mlmmj-expose.hs +++ b/ymir/mlmmj-expose.hs @@ -54,7 +54,7 @@ data SubInput = TextInput | WordInput | RegexpInput instance ToJSON FoxReplace where toJSON (FoxReplace groupSet) = object - [ "version" .= "0.15" + [ "version" .= ("0.15" :: String) , "groups" .= groupSet ] -- cgit v1.2.3