Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Please help me to promote REBOL

From: apwing:zonnet:nl at: 11-Nov-2003 18:34

Hi Tim, thanks for the code sample! I will get into this soon. By the way: it looks a bit similar to a DEFINE in a LET fence in SCHEME with lexical scoping. Is that right? Did you mean btw that I may place it as an example on my site? Met vriendelijke groet / with kind regards, Arie van Wingerden ----- Original Message ----- From: Tim Johnson To: [rebol-list--rebol--com] Sent: Sunday, November 09, 2003 1:05 AM Subject: [REBOL] Re: Please help me to promote REBOL That's a really pretty web site! ---------------------------------- (reb rings anyone?) ---------------------------------- For those new to rebol(and for you gurus to critique if you so wish), I'm including a subroutine that I use frequently. One of rebol's distinctive features is the variety of ways in which code can be evaluated. Coming from architectural languages like ASM and C, and using more conventional scripting languages like python, I had a hard time getting that under my belt. Still working at it actually. and the fact remains, rebol documentation doesn't really hammer down the distinctions in evaluation as much as should be done, IMHO. Following the control flow of 'fetch might be enlightening to someone new to rebol *and* it illustrates the usage of (what I call) an 'anonymous' function enjoy tim P.S. I hate pretty-print! ; ------------------------------------------------------------------------------- make object! [ default-value: none set 'fetch func[ {safe data retrieval. Handles any value} v /seed {set default value} /deep {If block, reduce} /local tmp][ either seed[default-value: v][ either value? v[ either word? v[ tmp: get v either all[deep block? tmp][reduce tmp][tmp] ][v]][default-value]]]] ; ------------------------------------------------------------------------------- * Gregg Irwin <[greggirwin--mindspring--com]> [031108 14:29]:
> Hi Arie, > > AvW> since some time I have got my REBOL promotion website > AvW> running. > > AvW> In order to serve the REBOL community best, I ask you to > AvW> check my site for correctness and completeness. If you think > AvW> it's worthwile, please link to my site. Do not hesitate to > AvW> comment, I am just a newbie :-) > > Looks good to me! You've got good coverage of lots of the resources > out there. One thing I would like to have done more of myself when > I started with REBOL, though I still can, is keep a journal as I > learned more about it; what problems I had; the breakthroughs that > came; how my thinking changed over time. Things like that. If you're > still feeling like a newbie, I think that could be helpful to others. > > Met vriendelijke groet, :) > > -- Gregg > > -- > To unsubscribe from this list, just send an email to > [rebol-request--rebol--com] with unsubscribe as the subject.
-- Tim Johnson <[tim--johnsons-web--com]>