guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Colorized REPL


From: Daniel Hartwig
Subject: Re: [PATCH] Colorized REPL
Date: Thu, 6 Dec 2012 13:30:30 +0800

On 6 December 2012 12:28, Nala Ginrut <address@hidden> wrote:
> I was aimed to patch pretty-print for coloring. But I changed my mind
> because an independent module is easy to develop and debug.

Yes, I thought as much.  Do keep the eventual integration in mind,
since I'm sure the maintainers are not interested in another
independent logic for printing scheme values :-)

> For a instance:
> ==========================~/.guile=============================
> (use-modules (ice-9 colorized))
> (add-color-scheme!
>   `(,(lambda (data) (> data 10000)) 'MY-LONG-NUMBER ,colorize 'BLUE))
> =============================end===============================

Neat.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]