Ticket #40 (closed enhancement: fixed)

Opened 9 years ago

Last modified 9 years ago

Decouple the sigINT handler

Reported by: judah Owned by:
Priority: minor Milestone: 0.4
Version: 0.3 Keywords:


Depreciate the handleSigINT setting. Instead, now that #35 is implemented, we can let the running program handle the sigINT (or let ghc-6.10's runtime do it for us).

Do provide another function:

withInterrupt :: MonadException m => InputT m ()

and move it along with handleInterrupt and Interrupt into a separate module.

Change History

Changed 9 years ago by judah

  • status changed from new to closed
  • resolution set to fixed

Done; I've removed handleSigINT completely since I'm unaware of anyone currently using that field.

I decided not to move the funtions into a separate module since they consist of less than 10 lines of code.

Note: See TracTickets for help on using tickets.