Re: Need help with a macro

2009-11-15 Thread Andy Wingo
Hello, On Sun 15 Nov 2009 17:33, Josef Wolf writes: > Hello, > > I am trying to work through the little schemer book. In order to make it > easier to go through the examples, I've come up with the following macro: > > ;;; Helper to visualize > > (define-macro (disp exp) > (display exp)

Re: Guile/Tk?

2009-11-15 Thread Andy Wingo
On Sun 15 Nov 2009 17:19, Josef Wolf writes: > Hello, > > I would like to try some GUI stuff with guile. Since I have some experience > with Tk (with perl and ruby), I tried Tk following > http://www.galassi.org/mark/mydocs/guile-programmer_2.html: > > (require 'Gwish) >From http://www.galassi.

Re: Guile/Tk?

2009-11-15 Thread Neil Jerram
Josef Wolf writes: > Hello, > > I would like to try some GUI stuff with guile. Since I have some experience > with Tk (with perl and ruby), I tried Tk following > http://www.galassi.org/mark/mydocs/guile-programmer_2.html: > > (require 'Gwish) > > (use-library tcl) > (use-interface tcl) > (

Re: Need help with a macro

2009-11-15 Thread Neil Jerram
Josef Wolf writes: > Hello, > > I am trying to work through the little schemer book. In order to make it > easier to go through the examples, I've come up with the following macro: > > ;;; Helper to visualize > > (define-macro (disp exp) > (display exp) (newline) > `(display ,exp) >

Need help with a macro

2009-11-15 Thread Josef Wolf
Hello, I am trying to work through the little schemer book. In order to make it easier to go through the examples, I've come up with the following macro: ;;; Helper to visualize (define-macro (disp exp) (display exp) (newline) `(display ,exp) ; (newline) (newline) ) This wor

Guile/Tk?

2009-11-15 Thread Josef Wolf
Hello, I would like to try some GUI stuff with guile. Since I have some experience with Tk (with perl and ruby), I tried Tk following http://www.galassi.org/mark/mydocs/guile-programmer_2.html: (require 'Gwish) (use-library tcl) (use-interface tcl) (use-interface tclhack) (tk-main-loop)