File: timer-structs.ss

package info (click to toggle)
drscheme 1%3A352-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 71,608 kB
  • ctags: 55,284
  • sloc: ansic: 278,966; cpp: 63,318; sh: 32,265; lisp: 14,530; asm: 7,327; makefile: 4,846; pascal: 4,363; perl: 2,920; java: 1,632; yacc: 755; lex: 258; sed: 93; xml: 12
file content (8 lines) | stat: -rw-r--r-- 250 bytes parent folder | download
1
2
3
4
5
6
7
8
(module timer-structs mzscheme
  (require (lib "contract.ss"))
  
  (define-struct timer (evt expire-seconds action))
  (provide/contract
   [struct timer ([evt evt?]
                  [expire-seconds number?]
                  [action (-> void)])]))