Skip to content

Commit dd1a06f

Browse files
committed
update thoughts
1 parent ca4427c commit dd1a06f

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

thoughts

+9-19
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,29 @@
33
#
44
#
55

6-
-- local * and local ^
7-
8-
-- seems like running in moon messes up require order
9-
106
- don't reuse _, put a local on it, so we don't keep around trash
117

128
-- swithc X with Func
139

14-
- or= and=
15-
1610
- error with stray comma at end of line
1711

1812
* multiline comments
1913
* table slices (almost)
2014

2115
* combine for and if line decorators
2216

23-
* export later? nah
24-
25-
x = 232
26-
export x
27-
28-
2917
* allow return anywhere in block
3018

31-
* any/every keywords for comprehensions? (what about iterators)
19+
-- all function literals have a string that is their function definition
3220

33-
* let array items in table be defined without {} when indented (no, too similar to arguments)
21+
-- super should work here:
3422

35-
-- for searching? for returning to accumulator early?
36-
x = for thing in *things
37-
if is_important thing
38-
break thing
23+
thing = Thing!
24+
thing.method = ->
25+
super 1,2,3
3926

40-
-- all function literals have a string that is their function definition
27+
-- goes to
4128

29+
thing.method = function(self) do
30+
self.__class:method(1,2,3)
31+
end

0 commit comments

Comments
 (0)