flate: initialize prefix variables with anonymous functions
flate: initialize prefix variables with anonymous functions

By using anonymous functions, the declaration of the variable and the
logic that generates the variable's data are in the same location
in the source code.

dsnet/compress,dsnet/compress