added branch sync
more or less complete file for ghc-7.8; shame it doesn't build