On Tue, 2012-12-04 at 16:20 -0600, Yanbin Zhang wrote: > Hi, > > > In the example of the README file, the module is spelled as > "colorised". I guess it should be "colorized". > Ah~thanks! > > I tried the example but I got: > scheme@(guile-user)> (use-modules (oop goops) (rnrs) (ice-9 > colorized)) > While compiling expression: > ERROR: In procedure module-lookup: Unbound variable: <record-type> > Can you provide more information? You may post a trace result like that: ===============cut================= ,tr (use-modules (ice-9 colorized)) ===============end=================
And Guile-2.0.5 is old, maybe bugs there. I use the latest Guile, and I suggest you update to Guile-2.0.7. > I am using Guile 2.0.5 > > > This is definitely a cool feature if I can get it working. But myself > is quite new to Guile and does not know my way around very well. > Thanks. > > > Yanbin > > > > On Tue, Dec 4, 2012 at 12:42 AM, nalaginrut <nalagin...@gmail.com> > wrote: > hi folks! > Here is the project to colorize Guile REPL: > https://github.com/NalaGinrut/guile-colorized > Play it according to README. > Attached a screen shot for the effect. > Enjoy it! > > And it uses 'before-print-hook', Daniel posted a patch to add > REPL > optional printer in another thread. > I'll update my project for this after that patch is accepted, > and format > a patch. > > PS: Though I've tested it, but maybe bugs remain. > Both bug-report/patches/suggestion are welcome, thanks! > > Happy hacking! > > > > > > -- > Yanbin Zhang > --------------------------------------------- > Research Assistant > Department of Petroleum Engineering > Texas A&M University > 3116 TAMU - 702 RICH > College Station, TX, 77843 > > >