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

Re: shared-text substrings

This page is part of the web mail archives of SRFI 13 from before July 7th, 2015. The new archives for SRFI 13 contain all messages, not just those from before July 7th, 2015.

Shriram Krishnamurthi <shriram@xxxxxxxxxxx> writes:

> Now I use the PLT Scheme XML collection, and couldn't be happier.
> Here's a random excerpt from a program/document:
> `(p ((align "CENTER"))
> 	(table ((style "font-size: x-large"))
> 	       (tr ()
> 		   (td ((align "RIGHT")) "Talks ")
> 		   (td ((align "CENTER")) " = ") ...

It's even nicer when your Scheme dialect has keywords:

`(p align: "CENTER"
	(table style: "font-size: x-large"
		   (td align: "RIGHT" "Talks ")
		   (td align: "CENTER" " = ") ...

	--Per Bothner
per@xxxxxxxxxxx   http://www.bothner.com/~per/