fix missing singletons haskell template (builds on 7.8.2)

Seem odd to me, how did you compile without importing Singletons ?
I needed to fix it in order to compile on 7.8.2