cedric
04/03/2017, 9:25 PMInt
but actually, it needs a config file to return that value, so it’s not pure. In order to be pure, that function needs to be passed a Config parameter so it can return an Int
from it. Hence the return type becomes Reader[C, Int]