| Age | Commit message (Collapse) | Author | Lines |
|
I didn't like that you couldn't keep mixing and matching, so I made it
so you can.
In the process, I also implemented even?, odd?, filter, mapcat, flat,
and concat.
Some of them didn't end up needing to exist, and the entire :toast.
namespace does need to be cleaned up.
Then again, it's not like I'm selling this like an alternative stdlib.
I should really try and port all of clojure.core though, it'd be funny.
|
|
There's still some improvements to be made, but this is cleaner.
We lose global caps defaults, but those made no sense to begin with.
We do also lose caps overrides, I'll add them back in if I need them.
In the process, we gain `every?` and `executable?`.
There's also a misc comp print vim.inspect to vim.print change.
|
|
Thank you Olical for updating fennel!
Move to `(set (. t k) v)` for overwriting non-insertion list elements.
Also don't bother specifying a `k` for the insertion case, seeing as we
know for a fact it's just the final element.
|
|
Yeah I'm lazy but these are my dotfiles.
A quick summary:
* plugins.lsp.attach is now ported
* toast.core is reorganized
* new nil? and number? checks
* new assoc function
* new toast.table.unpack function (cross lua compat)
* toast.macros.tbl now uses assoc instead of from-pairs and group
* apparently I had forgotten to add {pre,post,init}.fnl before, so
that's done now
Still todo: ftplugin, colors.
|
|
Until now you couldn't do `(tbl 1 2)`.
Now you can.
|
|
One file isn't done, and there's also the question of ftplugin and co.
One step at a time though, eh?
|