Attaching default Maybe transformer manually.

state $ L.splitAt count -- do not work on ghc 7.4.1
StateT $ Just . L.splitAt count -- works anywhere