Re: Euphoria typing discipline

new topic     » goto parent     » topic index » view thread      » older message » newer message
smudger said...

Using the definitions here:

http://en.wikipedia.org/wiki/Type_system

How is Euphoria typed?

Euphoria uses both static and dynamic types.

Some aspects of euphoria are strongly typed (think about trying to get a truth value when comparing a sequence and an atom), and others are weakly typed (an atom converted to an integer and vice versa).

I suppose that a euphoria atom is a union type of euphoria integers and doubles, and of course an object can be anything.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu