Fix build due to missing scanl'

This was sitting in my working tree, and I forgot to commit it. Oops.

This is not exported by Data.List, since it's only needed by 'inits'

Signed-off-by: Austin Seipp <austin@well-typed.com>