A xdg standard implementation in haskell