|
From: Ken A. <kan...@bb...> - 2002-09-06 17:18:07
|
At 12:27 AM 9/6/2002, david may wrote:
>A wiki would be nice. I'd like Snippets of code and best practices
>for entry level schemers. Like the one you just posted;-)
Yes, that would be a nice. I've been planning to write a couple of
examples of using Jscheme ...
>The first task is to write something parse up the input
>Any pointers some good teaching on that?
Can you give more of a specification? Do you want to tokenize some data?
There are several nice ways to do that.
>davud
>
> >>>>> "Ken" == Ken Anderson <kan...@bb...> writes:
>
> Ken> Hi David, Tim has done a lot of nice web stuff for his
> Ken> course. We played with a wiki about a year ago, and i
> Ken> thought it was great. We should have an ongoing Wiki for
> Ken> Jscheme. Jscheme is great for writing web pages. There is a
> Ken> (<> ...) in elf/html-gen.scm.
>
> Ken> THere is also the {[]} syntax which is generally about as
> Ken> easy to use.
>
> Ken> I've be displaying histograms that grovel over 100,000 items
> Ken> with less than 12 lines of code:
>
> Ken> (define (histogram-table name rows) {<table border=1> <tr><td
> Ken> align=right>Count</td> <td align=left>[name]</td></tr> [(map
> Ken> (lambda (row) { <tr><td align=right>[(car row)]</td> <td
> Ken> align=left>[(cadr row)]</td></tr>}) rows)] </table>})
>
> Ken> (define (histogram what items) (let ((what (default what
> Ken> 'none))) (sort (map* (project length (unique what)) (group-by
> Ken> what items)) (comparator > car))))
>
> Ken> k
>
> Ken> At 06:53 PM 9/5/2002, david may wrote:
> >> Not much activity on this list lately .. perhaps I accidentally
> >> unsubscribed??
> >>
> >> Anyhow I am "on the bench" right now and playing around with
> >> wikis. I was exploring a jsp wiki and as usual my first 10
> >> minutes with JSP are "hey this is cool" and then it degenerates
> >> into a $@%# mess. Seems to me like jscheme would be a good
> >> choice to do a wiki in.. So I am going to look into it a
> >> little. Anybody else interested in this?
> >>
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This sf.net email is sponsored by: OSDN - Tired of that same
> >> old cell phone? Get a new here for FREE!
> >> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> >> _______________________________________________ Jscheme-devel
> >> mailing list Jsc...@li...
> >> https://lists.sourceforge.net/lists/listinfo/jscheme-devel
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone? Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>Jscheme-devel mailing list
>Jsc...@li...
>https://lists.sourceforge.net/lists/listinfo/jscheme-devel
|