Re: Euphoria types of the POLL

new topic     » goto parent     » topic index » view thread      » older message » newer message

Shawn wrote:
> 
> Hayden McKay wrote:
> > 
> > Could you show me how you would define a nested sequence, or an object pls
> > 
> > ie:
> >     type this(object x)   ; where x could be an atom or sequence
> >     type that(sequence s) ; where s is an array of nested sequences and
> >     atoms
> 
> For my proposed syntax you would need to have multiple arguments for type.
> What you are describing to me are objects and sequences which are already
> defined in EUPHORIA.  These would simply be object() and sequence() 
> respectively.  Why would you want to define another name for them?
> 
> Shawn Pringle

I think you missed my point here, check out my previous post, it explains better
the idea of creating objects by linking types...

Here is link to the post: http://www.openeuphoria.org/EUforum/m16476.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu