source: project/release/3/svnwiki-edit-question/trunk/svnwiki-edit-question.scm @ 12533

Last change on this file since 12533 was 12533, checked in by azul, 11 years ago

Importing svnwiki extensions.

  • Property svn:keywords set to id
File size: 397 bytes
Line 
1; $id$
2;
3; License: GPL-3
4
5(declare (export))
6(use svnwiki-extensions-support srfi-1 format-modular)
7
8(define (edit-question-arithmetic env)
9  (let ((num0 (random 10)) (num1 (random 10)))
10    (svnwiki-edit-question
11      env
12      (format #f "~A + ~A" num0 num1)
13      (format #f "~A" (+ num0 num1)))))
14
15(svnwiki-extension-define 'edit-question 'edit-question-arithmetic edit-question-arithmetic)
Note: See TracBrowser for help on using the repository browser.