dom tree editor by Haskell