[REBOL] Re: Please help me to promote REBOL
From: tim:johnsons-web at: 8-Nov-2003 15:05
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> http://home.zonnet.nl/rebolution 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]>
http://www.alaska-internet-solutions.com