I don't know much about computer science, but I think REBOL's blocks share
some things in common with Smalltalk:

http://web.cecs.pdx.edu/~harry/musings/SmalltalkOverview.html#Blocks

REBOL's cool twist is that a block can hold code or data and treat them both
equally/interchangeably, and can be accessed in a uniform manner (a data
collection).

In LISPy languages, the term 'thunk' might be the appropriate comparison.

http://stackoverflow.com/questions/925365/what-is-a-thunk-as-used-in-scheme-or-in-general

-- Ed

On Mon, Aug 23, 2010 at 10:09 AM, Arie van Wingerden <[email protected]>wrote:

> No. In Lisp the x would be evaluated as being a function with arg y.
> In Rebol x is (generally speaking) not a function.
>
> Do you have a short example to show your confusion?
>
> 2010/8/23 Emeka <[email protected]>
>
> > Arie,
> >
> > But when you apply func to [x y] it seems to me that it starts to behave
> > like Lisp.
> >
> > Am I wrong?
> >
> > Emeka
> >
> > On Mon, Aug 23, 2010 at 1:51 PM, Arie van Wingerden <[email protected]
> > >wrote:
> >
> > > Hi,
> > > the answer of Henrik is fine.
> > > To answer the "Lisp" part: in Rebol [x y] does not mean:
> > >   - apply function x to argument y
> > > which in the Lisp list (x y) would be the case.
> > > [] in Rebol is just data.
> > > Regards,
> > >   Arie
> > >
> > > 2010/8/22 Emeka <[email protected]>
> > >
> > > > Hello All,
> > > >
> > > > Is [] a cousin of LISP list () (serving the purpose of procedure call
> > and
> > > > data structure)
> > > >
> > > >
> > > > Regards,
> > > > Emeka
> > > >
> > > > On Sun, Aug 22, 2010 at 6:09 PM, Izkata <[email protected]> wrote:
> > > >
> > > > > If you open the file in a text editor, you'll see that it does
> > contain
> > > > > "AfricanChild" on one line.
> > > > >
> > > > > All that's needed is a newline in the middle:
> > > > >
> > > > > write kool "African"
> > > > > write/append kool newline
> > > > > write/append kool "Child"
> > > > >
> > > > > Alternatively, 'write has another refinement that could help here:
> > > > >
> > > > > write/lines kool "African"
> > > > > write/lines/append kool "Child"
> > > > >
> > > > > The /lines refinement works similar to read/lines - this would
> result
> > > in
> > > > > the
> > > > > same as the above:
> > > > >
> > > > > write/lines kool [ "African" "Child" ]
> > > > >
> > > > >
> > > > >
> > > > > On Sun, Aug 22, 2010 at 11:46 AM, Emeka <[email protected]>
> > wrote:
> > > > >
> > > > > > Hello All,
> > > > > >
> > > > > > I have the below;
> > > > > >
> > > > > > kool: %gin.txt
> > > > > >
> > > > > > write kool "African"
> > > > > > write/append kool "Child"
> > > > > >
> > > > > > Now, I would want to read the file , and print first "African",
> and
> > > > > second
> > > > > > "Child"
> > > > > >
> > > > > > I tried
> > > > > >  read/lines kool
> > > > > > == [ "AfricanChild"]
> > > > > >
> > > > > > I was looking for something like  [ "African"   "Child"]
> > > > > >
> > > > > > Regards,
> > > > > > Emeka
> > > > > >
> > > > > >
> > > > > > --
> > > > > > To unsubscribe from the list, just send an email to
> > > > > > lists at rebol.com with unsubscribe as the subject.
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > $BAU$G$FL4(B
> > > > >
> > > > > --
> > > > > To unsubscribe from the list, just send an email to
> > > > > lists at rebol.com with unsubscribe as the subject.
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe from the list, just send an email to
> > > > lists at rebol.com with unsubscribe as the subject.
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe from the list, just send an email to
> > > lists at rebol.com with unsubscribe as the subject.
> > >
> > >
> >
> >
> > --
> > To unsubscribe from the list, just send an email to
> > lists at rebol.com with unsubscribe as the subject.
> >
> >
>
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>


-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to