[Haskell-cafe] Where is `newTVarIO` defined ?
haskell at benmachine.co.uk
Tue Nov 24 18:38:59 EST 2009
On Tue, Nov 24, 2009 at 11:11 PM, zaxis <z_axis at 163.com> wrote:
> I cannot hoogle it. It appears in Pugs:
> run' ("-d":rest) = do
> info <- fmap Just (io $ newTVarIO Map.empty)
> let ?debugInfo = info
> run' rest
> fac n = foldr (*) 1 [1..n]
> View this message in context: http://old.nabble.com/Where-is-%60newTVarIO%60-defined---tp26504967p26504967.html
> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
The docs for it are in GHC.Conc but you probably wouldn't import it from there.
More information about the Haskell-Cafe