[clfswm-devel] Can we use complete REPL in clfswm directly ?
z_axis
z_axis at 163.com
Sat Oct 13 08:06:16 UTC 2012
That's great! I have just tested it . I donot understand why stumpwm
cannot do it ?
在 Sat, 13 Oct 2012 14:06:00 +0800,Philippe Brochard
<pbrochard at common-lisp.net> 写道:
> z. axis writes:
>
>> Can CLFSWM REPl output multiple line result ?
>>
>> (defun div618 (p1 p2)
>> (let ((ratio '(0. 0.191 0.236 0.382 0.5 0.618 0.809 1.))
>> (price #'(lambda (r) (if (<= p1 p2) (+ p1 (* (- p2 p1) r))
>> (- p1 (* (- p1 p2) r))))))
>> (if (<= p1 p2)
>> (dolist (r (reverse ratio)) (format t "-------~3$
>> ~$-------~%" r (funcall price r)))
>> (dolist (r ratio) (format t "-------~3$ ~$-------~%" r
>> (funcall price r))))))
>>
>> The stumpwm REPL cannot output the result because div618 just return
>> nil.
>>
> Is this ok for you:
>
> http://common-lisp.net/project/clfswm/z_axis-REPL-screen.png
>
> (You can have tested by yourself also...)
>
>>
>> 在 Sat, 13 Oct 2012 05:51:45 +0800,Philippe Brochard
>> <pbrochard at common-lisp.net> 写道:
>>
>>> What do you lack in the CLFSWM REPL?
>>
>>
>> _______________________________________________
>> clfswm-devel mailing list
>> clfswm-devel at common-lisp.net
>> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel
>
> _______________________________________________
> clfswm-devel mailing list
> clfswm-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clfswm-devel
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
More information about the clfswm-devel
mailing list