ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
234 stars 25 forks source link

Complex numbers #384

Open bencz opened 6 years ago

bencz commented 6 years ago

Necessary to use in #382 https://rosettacode.org/wiki/Arithmetic/Complex

bencz commented 6 years ago

I will work on this issue

arakov commented 6 years ago

greate 👍

arakov commented 6 years ago

We may use a numeric constant for this like in Julia - 2.3im.

See reddit sample - https://www.reddit.com/r/elena_lang/comments/6e0hgk/explicit_literal_constants/