migrate LinearFunction from beers-law-lab to dot