This comment is reply for 6364 ytakenaka: sbcl依存のthreadパッケージを利...(出力の一時停止と再開). Go to thread root.
ytakenaka #6365(2008/05/28 08:10 GMT) [ diff ] Rating0/0=0.00
threadを扱うときに変数の入り方がわかりにくかったですね。 q<return>すると resの中には'common-lisp-user::q と入力さ れていました。こんなことあるんですね。
1 2 3 4 5 6 7 8 9 10 11
0a1,4 > (defpackage :dokaku179 > (:use :common-lisp :sb-thread)) > (in-package :dokaku179) > 8c12,14 < (lambda()(setf ,res (read *standard-input*))))) --- > (lambda()(progn > (in-package :dokaku179) > (setf ,res (read *standard-input*))))))
Rating0/0=0.00-0+
[ reply ]
ytakenaka
#6365()
[
diff
]
Rating0/0=0.00
0a1,4 > (defpackage :dokaku179 > (:use :common-lisp :sb-thread)) > (in-package :dokaku179) > 8c12,14 < (lambda()(setf ,res (read *standard-input*))))) --- > (lambda()(progn > (in-package :dokaku179) > (setf ,res (read *standard-input*))))))Rating0/0=0.00-0+