1985. god, movies, humor, study
Using function pattern matching in the process methods above, I can easily either parse a pagination link…
In our case, this be achieved by checking if the value of n2 is less then 0. If it is, we simply reverse the operations on n2 and acc (e.g. we add 1 to n2 and subtract n1 from acc).