[project @ 2004-06-12 12:13:12 by panne]
[ghc-base.git] / Data / Tree.hs
index 60c2548..b9d2c54 100644 (file)
@@ -97,7 +97,9 @@ unfoldTreeM f b = do
        return (Node a ts)
 
 -- | Monadic forest builder, in depth-first order
+#ifndef __NHC__
 unfoldForestM :: Monad m => (b -> m (a, [b])) -> [b] -> m (Forest a)
+#endif
 unfoldForestM f = mapM (unfoldTreeM f)
 
 -- | Monadic tree builder, in breadth-first order,