Newsgroups: comp.lang.lisp
From: Rainer Joswig <jos...@lisp.de>
Date: Sun, 30 Jan 2005 05:42:17 +0100
Local: Sat, Jan 29 2005 11:42 pm
Subject: Re: Functional Geometry for fishes
In article <ct0po8$57...@newsreader2.netcologne.de>,
Frank Buss <f...@frank-buss.de> wrote: > I never really understood how to use higher order functions as combinators, A picture of playing around with the code in LispWorks CLIM > until I read the article from Peter Henderson about Functional Geometry. > Now it is easy for me to use it in Lisp: > http://www.frank-buss.de/lisp/functional.html on my iMac G5: http://lispm.dyndns.org/lisp/pics/fg.jpg Note that you can have commands to manipulate pictures The code looks like this: (define-presentation-type picture ()) (define-presentation-method presentation-typep (object (type picture)) ;;; Plotting (defun clim-plot (p &optional (stream *standard-output*)) (defun clim-plot-in-window (p &optional (stream *standard-output*)) (defun clim-plot-to-postscript (p &optional (pathname "/Users/joswig/Desktop/test-clim.ps")) (clim-demo::define-lisp-listener-command (clim-demo::save-picture-as-postscript :name t) (clim-demo::define-lisp-listener-command (clim-demo::com-beside :name t) (clim-demo::define-lisp-listener-command (clim-demo::com-above :name t) (clim-demo::define-lisp-listener-command (clim-demo::com-rot :name t) (clim-demo::define-lisp-listener-command (clim-demo::com-cycle :name t) (clim-demo::define-lisp-listener-command (clim-demo::com-quartet :name t) (define-presentation-to-command-translator rot (define-presentation-to-command-translator cycle (define-drag-and-drop-translator besides You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||