71104 / lambda

The Lambda Programming Language
MIT License
19 stars 2 forks source link

Add `complex` constructor #102

Closed 71104 closed 8 years ago

71104 commented 8 years ago

Add the ability to construct complex numbers from pairs of real numbers using the complex keyword.

For example:

complex 3 4  # 3+4i

complex is a keyword because it's the name of a type.

71104 commented 8 years ago

No longer an issue because #92 makes this very easy:

3 + 4i