I was looking at https://hackage-content.haskell.org/package/text-2.1.4/docs/src/Data.Text.Lazy.Builder.Int.html#decimal and wondered how it can be efficient for Integers.
It's efficient because of rewrite rule to non-exported integer.
Is there a reason to not export integer for those who want to be explicit (and for whatever reason to not rely on RULES).
Similarly for boundedInteger
I was looking at https://hackage-content.haskell.org/package/text-2.1.4/docs/src/Data.Text.Lazy.Builder.Int.html#decimal and wondered how it can be efficient for
Integers.It's efficient because of rewrite rule to non-exported
integer.Is there a reason to not export
integerfor those who want to be explicit (and for whatever reason to not rely on RULES).Similarly for boundedInteger