
16 Sep
2013
16 Sep
'13
4:01 p.m.
Please, what does mean the (..) brackets when we are importing a package? For example: import Network (listenOn, accept, *PortID(..)*, Socket) cheers, m.

16 Sep
16 Sep
4:04 p.m.
On Mon, Sep 16, 2013 at 4:01 PM, Miro Karpis
Please, what does mean the (..) brackets when we are importing a package?
import Network (listenOn, accept, *PortID(..)*, Socket)
PortID is a type, for which you can list in parentheses the specific constructors you want to import or .. for all of its constructors. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
4264
Age (days ago)
4264
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brandon Allbery
-
Miro Karpis