[Haskell-cafe] Functional specification of DFS