Re: A bit further toward the flamewar

2011-10-13 Thread d...@mac.com
I use procedure properties for this purpose. I assign a predicate that matches the return values as a property. Predicates are, of course, the types in Scheme. Sent from my iPad On Oct 13, 2011, at 5:42 PM, Linas Vepstas wrote: > Any clue on how to indicate that func returns type 'X' ?

Re: What does #-3# mean?

2010-08-24 Thread d...@mac.com
I recall that the reader can be hash-extended to read these forms in a hacky way. Extend on '-'. I don't recall exactly anymore. I long ago patched the reader to read these natively. Perhaps there is some enthusiasm for making these readable in the main line? Cheers, Dan On Aug 24, 2010, at

Re: My Project: Guile Hypertext Preprocessor

2010-08-12 Thread d...@mac.com
Guile is not its REPL. Look at '-s', '-e'. With that resolved, I wonder whether there are still useful HTML pages where the static template is large compared to the language fragment. PHP is a product of its time. Cheers, Dan On Aug 12, 2010, at 2:49 PM, Luiji Maryo wrote: > Hm...I've just

Re: Converting s-expressions to XML

2010-06-17 Thread d...@mac.com
Here's an excerpt from my sexp to XML interface for Proverb: Generating XML in Scheme Proverb lets you generate and present XML-valued objects from Scheme with little fuss. The most crude interface is the procedure make-raw . This procedure is called with a valid XML fragment as a string an