diff --git a/spec.txt b/spec.txt index 4d9e079..fa405f6 100644 --- a/spec.txt +++ b/spec.txt @@ -200,6 +200,7 @@ Function definition: foreign func powf(x: f32, y: f32) -> f32 // no implementation TODO: function overloading? Probably requires selecting a specific overload using `as` operator to save to a value (but not on call site) +TODO: alternative - Rust-like traits? More powerful, but complicates the language ======== TYPE OF TYPES ========