Re: Euphoria types of the POLL

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu