Strict field for JsonRpcClient data type (#95)

Bump stack LTS version
This commit is contained in:
Alexander Krupenkin 2019-09-16 13:00:04 +03:00
parent 7cad74b399
commit b1ac6014c8
No known key found for this signature in database
GPG Key ID: 0D0A7FA67911873E
4 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@ The Haskell Ethereum API which implements the [Generic JSON RPC](https://github.
[![Build Status](https://travis-ci.org/airalab/hs-web3.svg?branch=master)](https://travis-ci.org/airalab/hs-web3)
[![Hackage Matrix](https://matrix.hackage.haskell.org/api/v2/packages/web3/badge)](https://matrix.hackage.haskell.org/package/web3)
[![Hackage](https://img.shields.io/hackage/v/web3.svg)](http://hackage.haskell.org/package/web3)
[![LTS-13](http://stackage.org/package/web3/badge/lts-13)](http://stackage.org/lts-13/package/web3)
[![LTS-14](http://stackage.org/package/web3/badge/lts-14)](http://stackage.org/lts-14/package/web3)
[![nightly](http://stackage.org/package/web3/badge/nightly)](http://stackage.org/nightly/package/web3)
[![Code Triagers](https://www.codetriage.com/airalab/hs-web3/badges/users.svg)](https://www.codetriage.com/airalab/hs-web3)
![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)

View File

@ -1,7 +1,6 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
-- |
-- Module : Network.Ethereum.Api.Provider

View File

@ -88,8 +88,8 @@ type JsonRpcM m = (MonadIO m, MonadThrow m, MonadState JsonRpcClient m)
-- | JSON-RPC client state vars.
data JsonRpcClient = JsonRpcClient
{ _jsonRpcManager :: Manager -- ^ HTTP connection manager.
, _jsonRpcServer :: String -- ^ Remote server URI.
{ _jsonRpcManager :: !Manager -- ^ HTTP connection manager.
, _jsonRpcServer :: !String -- ^ Remote server URI.
}
$(makeLenses ''JsonRpcClient)

View File

@ -1,5 +1,5 @@
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
resolver: lts-13.21
resolver: lts-14.6
# User packages to be built.
packages: