chars
should give a list of chars in a string
We have some things bundled under this (#91), but this is a general review of string manipulation function. Currently we have: upcase
, downcase
, strip
, words
, sentence
, trim
, split
,…
How related is this to #93? We want probably not a "turtle graphics protocol" but a Ludus I/O protocol.
This will take some real design work to get the plumbing right.
After a conversation with @matt today, we've decided NOT to go with dict-objects. The Actor Model it is! (Not to be confused with the actor/model.)
After a conversation with @matt this afternoon, we've decided to go this way! The Actor Model it is.
The comment above was written in the small hours of the morning. What we'd need is something more like this:
fn super (state, message, cb) -> {
match message with {
(:bar, caller)…
Oh, oh, and I want to add that a very interesting form of prototypical inheritance could be happily added by simply sending a state dict to the prototype function:
fn proto {
() ->…