aboutsummaryrefslogtreecommitdiff
path: root/lib/class.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-01-24 13:13:03 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-01-24 13:13:26 -0800
commitf769351556cceed58ab6bf844c671114ec1862c2 (patch)
treedd7dcf811082cf4e4c4bb0b6b3cd3811cf4385e1 /lib/class.nom
parentd173e9ae88380bb1217b3f775e6c3cec71a6606c (diff)
Updated and improve syntax for some stuff. Also added string indexing
like in python, including slices.
Diffstat (limited to 'lib/class.nom')
-rw-r--r--lib/class.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class.nom b/lib/class.nom
index b871798..e65fb81 100644
--- a/lib/class.nom
+++ b/lib/class.nom
@@ -81,7 +81,7 @@ compile [object %classname %class_body] to
\%class_identifier.class = \%class_identifier;
-- Define the methods:
- \(join %methods with "\n")
+ \(%methods joined with "\n")
-- Define class methods for instantiating and accessing instances:
\%class_identifier.instance_metatable = {