Base
in Janet
Now that doc!
exists in base
, that means we should be done with this particular discussion.
Base
in Janet
to_dict
is used in dict
, to convert struct
s (which are no longer in the language) and ns
es (now pkg
s) into dict
s.
I'm perfectly happy to say you can't dict
ify a pkg
, and ditch…
Base
in Janet
into
is used in slice
and set
:
- in
slice
it is redundant, since slices return arrays instead of seqs in Janet. - in
set
it is not enough, since Janet has no set type and we'll…
Done, as of f80aa7a8dc
. Got mixed in with other work on the same commit. Whoops!
This was either solved in my approach to giving partially applied functions better names, OR was not an issue at all; one snafu here is that base
builtin functions may not be partially…
Just did it: copied the context the function closes over into a struct, never worry about this again.
Had to do some fancy footwork with forward declarations, but it the solution works!
https…