     // like updating the UI after the user has "stopped typing" (ie hasn't hit a
     // key for 1/2 a sec or so)
     public static func debounce(timeout: NSTimeInterval, block: BasicBlock) -> BasicBlock {
-        var timer : NSTimer? = nil
+        var timer: NSTimer? = nil
         let proc = Proc(block: block)
 
         return {

    // The block will be called many times - the simplest case is `until(1)` aka
    // `once`, which is only called one time.  After that, calling the block has
    // no effect.
    public static func until(times : Int, block : BasicBlock) -> BasicBlock {
        if times == 0 {
            return {}
        }


    // Same as above, but you pass the block in to the closure that is returned.
    public static func debounce(timeout: NSTimeInterval) -> ThrottledBlock {
        var timer: NSTimer? = nil

        return { block in
            if let prevTimer = timer {
