I have an example function in the list monad.
twoSucc :: Int -> [Int]
twoSucc i = [i+1, i+2]
Now I want write something similar with the StateT monad transformer.
twoSucc :: StateT Int [] ()
twoSucc = do
i <- get
put (i+1) -- how do I put [i+1,i+2] here?