From e41fd61bdeac8779fa24050cc0d44714f7c90f1d Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 29 Apr 2017 02:09:24 +0200 Subject: hlint configuration --- src/Plugins/Monitors/UVMeter.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Plugins/Monitors/UVMeter.hs') diff --git a/src/Plugins/Monitors/UVMeter.hs b/src/Plugins/Monitors/UVMeter.hs index 5fa0b82..b0f5ac3 100644 --- a/src/Plugins/Monitors/UVMeter.hs +++ b/src/Plugins/Monitors/UVMeter.hs @@ -31,7 +31,7 @@ uvConfig = mkMConfig ["station" -- available replacements ] -data UvInfo = UV { index :: String } +newtype UvInfo = UV { index :: String } deriving (Show) uvURL :: String @@ -86,7 +86,7 @@ runUVMeter (s:_) = do type AttrName = String type AttrValue = String -data Attribute = Attribute (AttrName, AttrValue) +newtype Attribute = Attribute (AttrName, AttrValue) deriving (Show) data XML = Element String [Attribute] [XML] -- cgit v1.2.3