summaryrefslogtreecommitdiff
path: root/src/Database/InfluxDB/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Database/InfluxDB/Types.hs')
-rw-r--r--src/Database/InfluxDB/Types.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Database/InfluxDB/Types.hs b/src/Database/InfluxDB/Types.hs
index 2e99968..c2e9cdf 100644
--- a/src/Database/InfluxDB/Types.hs
+++ b/src/Database/InfluxDB/Types.hs
@@ -66,7 +66,7 @@ atomicModifyIORef' ref f = do
-----------------------------------------------------------
-- | A series consists of name, columns and points. The columns and points are
--- expressed in a separate type @SeriesData@.
+-- expressed in a separate type 'SeriesData'.
data Series = Series
{ seriesName :: {-# UNPACK #-} !Text
-- ^ Series name
@@ -105,11 +105,11 @@ instance A.FromJSON Series where
}
parseJSON _ = empty
--- | @SeriesData@ consists of columns and points.
+-- | 'SeriesData' consists of columns and points.
data SeriesData = SeriesData
{ seriesDataColumns :: Vector Column
, seriesDataPoints :: [Vector Value]
- }
+ } deriving Show
type Column = Text