title: How can I poll files, sockets or handles to become readable/writable in Haskell?
body: <p>How could I watch several files/sockets from Haskell and wait for these to become readable/writable?</p>
  
  <p>Is there anything like the select/epoll/... in Haskell? Or I am forced to spawn one thread per file/socket and always use the blocking resource from within that thread?</p>