From d4be4c3989131e07b5b7aa5cffd5208997726b1e Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Thu, 4 Mar 2021 21:54:33 +0100 Subject: [PATCH] yet more improvements to readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 52e7c97..f4e532c 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,15 @@ The repl has the following syntax (It's work in progress, new capabilities will > > vector@0{x0:0, y0: 1, x:1, y:1} * method calls: ```a = vector(12, 1)``` - > > vector@0{x0:1, y0: 2, x:12, y:1} + > > vector@0{x0:0, y0: 2, x:12, y:1} * ```vector(1 2)``` works as well. The start is now the origin. commas are not mandatory. I'm planning to add a more mathematical notation for vectors: ```[1 2]``` * properties + * ```a = vector(12, 1)``` * ```a.type``` > > vector -* property lookup - ```a.x+1``` + * ```a.x+1``` > > 13 * drag vectors using the mouse pointer. You can change the vector arrows visually * lazy evaluation. The difference between ```c = a+b``` and ```c = "a+b"```