Extraction to Haskell
rename: TextOperation -> ListOperation