Jimmy Hoffa
Jimmy Hoffa

Reputation: 5967

Haskell System is a member of unusable hidden package

System is absolutely brimming with handy useful IO stuff, but apparently it's been deprecated I am to understand (presuming this because it was moved into the deprecated haskell98 package), that said; is there any info out there about where it's components have been dispersed to?

I want to use System.timeout, but since I can't use System, I am guessing timeout has been moved to a different module. Which module was it moved to? What modules were any of the other System bits moved to?

Upvotes: 4

Views: 128

Answers (1)

Tikhon Jelvis
Tikhon Jelvis

Reputation: 68152

The old System module has been split into several hierarchical modules under the System namespace. For example, timeout is now in the System.Timeout module.

You can see all of the System.* modules--and more besides--on the documentation for base.

For specific functions, you can also always search on hoogle.

Upvotes: 6

Related Questions