{-# LANGUAGE TemplateHaskell #-}

module Types where

import Control.Lens

data SumConfig = SumConfig
  { _limit :: Integer
  }

data SumState = SumState
  { _currentsum :: Integer
  , _currentcount :: Integer
  }

$(makeLenses ''SumConfig)
$(makeLenses ''SumState)
