Skip to content

Instantly share code, notes, and snippets.

@tibbe
Created April 13, 2010 14:15
Show Gist options
  • Save tibbe/364665 to your computer and use it in GitHub Desktop.
Save tibbe/364665 to your computer and use it in GitHub Desktop.
type TimeoutQueue = Q.PSQ TimeoutCallback
type TimeoutEdit = TimeoutQueue -> TimeoutQueue
applyTimeoutEdits :: TimeoutQueue -> [TimeoutEdit] -> TimeoutQueue
applyTimeoutEdits = foldr ($!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment