diff --git a/README.md b/README.md index 1a50019..f39c011 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ pub fn main() { "radius_squared", trick.multiply_float(radius, radius), ) - trick.expression(trick.multiply_float(radius_squared), pi) + trick.expression(trick.multiply_float(radius_squared, pi)) }) }) trick.end_module() diff --git a/TODO.md b/TODO.md index 699444d..3b58732 100644 --- a/TODO.md +++ b/TODO.md @@ -23,3 +23,4 @@ Values marked with `*` are deprioritised and may be delayed until after v1. - Fix the API for generic types - Ensure types are correct if user accidentally shadows a variable +- Prevent generation of duplicate constructors, functions, constants, and types diff --git a/src/trick.gleam b/src/trick.gleam index fc6bf4f..f085531 100644 --- a/src/trick.gleam +++ b/src/trick.gleam @@ -15,7 +15,7 @@ //// "radius_squared", //// trick.multiply_float(radius, radius), //// ) -//// trick.expression(trick.multiply_float(radius_squared), pi) +//// trick.expression(trick.multiply_float(radius_squared, pi)) //// }) //// }) //// trick.end_module()