Add -XNoOverloadedLists to doctest examples
Add -XNoOverloadedLists to doctest examples

Without this option, GHC 8.0.2 fails as follows:

    /tmp/dist-test.XJea/influxdb-1.6.0.9/src/Database/InfluxDB/Write.hs:126: failure in expression `:{
     writeBatch p
       [ Line "temp" (Map.singleton "city" "tokyo") (Map.fromList [("temp", FieldFloat 25.0)]) (Nothing :: Maybe UTCTime)
       , Line "temp" (Map.singleton "city" "osaka") (Map.fromList [("temp", FieldFloat 25.2)]) (Nothing :: Maybe UTCTime)
       ]
    :}'
    expected:
     but got:
              <interactive>:581:6: error:
                  • Couldn't match expected type ‘GHC.Exts.Item (f0 (Line time0))’
                                with actual type ‘Line UTCTime’
                    The type variables ‘f0’, ‘time0’ are ambiguous
                  • In the expression:
                      Line
                        "temp"
                        (Map.singleton "city" "tokyo")
                        (Map.fromList [("temp", FieldFloat 25.0)])
                        (Nothing :: Maybe UTCTime)
                    In the second argument of ‘writeBatch’, namely
                      ‘[Line
                          "temp"
                          (Map.singleton "city" "tokyo")
                          (Map.fromList [("temp", FieldFloat 25.0)])
                          (Nothing :: Maybe UTCTime),
                        Line
                          "temp"
                          (Map.singleton "city" "osaka")
                          (Map.fromList [("temp", FieldFloat 25.2)])
                          (Nothing :: Maybe UTCTime)]’
                    In the expression:
                      writeBatch
                        p
                        [Line
                           "temp"
                           (Map.singleton "city" "tokyo")
                           (Map.fromList [("temp", FieldFloat 25.0)])
                           (Nothing :: Maybe UTCTime),
                         Line
                           "temp"
                           (Map.singleton "city" "osaka")
                           (Map.fromList [("temp", FieldFloat 25.2)])
                           (Nothing :: Maybe UTCTime)]
    /tmp/dist-test.XJea/influxdb-1.6.0.9/src/Database/InfluxDB/Line.hs:98: failure in expression `BL8.putStr $ encodeLines (scaleTo Second) [l1, l1]'
    expected: cpu_usage,cpu=cpu-total idle=10.1,system=53.3,user=46.6 1497714100
              cpu_usage,cpu=cpu-total idle=10.1,system=53.3,user=46.6 1497714100
     but got:
              <interactive>:779:44: error:
                  • Couldn't match expected type ‘GHC.Exts.Item (f0 (Line time0))’
                                with actual type ‘Line UTCTime’
                    The type variables ‘f0’, ‘time0’ are ambiguous
                  • In the expression: l1
                    In the second argument of ‘encodeLines’, namely ‘[l1, l1]’
                    In the second argument of ‘($)’, namely
                      ‘encodeLines (scaleTo Second) [l1, l1]’
    /tmp/dist-test.XJea/influxdb-1.6.0.9/src/Database/InfluxDB/Line.hs:157: failure in expression `B.hPutBuilder stdout $ buildLines (scaleTo Second) [l1, l1]'
    expected: cpu_usage,cpu=cpu-total idle=10.1,system=53.3,user=46.6 1497714100
              cpu_usage,cpu=cpu-total idle=10.1,system=53.3,user=46.6 1497714100
     but got:
              <interactive>:837:53: error:
                  • Couldn't match expected type ‘GHC.Exts.Item (f0 (Line time0))’
                                with actual type ‘Line UTCTime’
                    The type variables ‘f0’, ‘time0’ are ambiguous
                  • In the expression: l1
                    In the second argument of ‘buildLines’, namely ‘[l1, l1]’
                    In the second argument of ‘($)’, namely
                      ‘buildLines (scaleTo Second) [l1, l1]’
    Examples: 199  Tried: 199  Errors: 0  Failures: 3

See https://travis-ci.org/maoe/influxdb-haskell/jobs/456820610 for
full output.

maoe/influxdb-haskell