snapframework/snap — comment on commit 0d7576855c9a398c922f2f082d04f92ed7beaa92
File: src/Snap/Snaplet/HeistNoClass.hs line 227
By mightybyte:

mempty is not the same thing as emptyTemplateState. emptyTemplateState was renamed to defaultHeistState to better reflect that.