Hokkaido, Japan
WIP
Nix is a great tool to build package and environment in purely functional way, and I enjoy using it.
From NACAMURA Mitsuhiro to ~m15a/public-inbox
First mail! -- NACAMURA Mitsuhiro
From NACAMURA Mitsuhiro to ~sircmpwn/sr.ht-discuss
> The ticket that somehow referenced my ticket is > <https://todo.sr.ht/~tsdh/highlight-parentheses.el/6> Same here. One of my tickets is referenced from that ticket: https://todo.sr.ht/~m15a/fnldoc/6
From NACAMURA Mitsuhiro to ~technomancy/fennel
On PUC Lua 5.1, os.exit doesn't accept boolean. --- On Mon, Mar 4, 2024 at 4:44 AM Phil Hagelberg <phil@hagelb.org> wrote: > I didn't actually know that the os.exit function accepts a boolean; I > thought it could only be called with a number. My bad. On Lua 5.1 it fails. LuaJIT, which extends os.exit according to Lua 5.2, and Lua >=5.2 are ok. cli.fnl | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.fnl b/cli.fnl index 069a2f0..504fb6c 100644 [message trimmed]
From NACAMURA Mitsuhiro to ~technomancy/fennel
> I've applied the patch and pushed it out.
Thank you for merging, and sorry for messing up the commit log with my
dirty reply text.
I'll write up replies after `---` next time!
From NACAMURA Mitsuhiro to ~technomancy/fennel
On Sun, Mar 3, 2024 at 2:48 AM Phil Hagelberg <phil@hagelb.org> wrote:
> > +(fn check-files [filenames]
> > + (let [ok? (accumulate [ok? true _ filename (pairs filenames)]
> > + (and ok? (check-file filename)))]
> > + (if ok?
> > + (do
> > + (io.stderr:write "All files are formatted.\n")
> > + (os.exit true))
> > + (os.exit false))))
> I think the `accumulate' is probably not necessary, since the failing
> branch exits already. Why not just a normal `each' over `check-file'
> similar to the `fix' loop? Moving the `os.exit' into `check-file' would
[message trimmed]
From NACAMURA Mitsuhiro to ~technomancy/fennel
--- Hello! This patch enables fnlfmt CLI to only check files are formatted. I make this change as it could be convenient when using fnlfmt in CI. README.md | 1 + cli.fnl | 27 +++++++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c69fdff..f1433fe 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Format your Fennel! [message trimmed]
From NACAMURA Mitsuhiro to ~sircmpwn/email-test-drive
--- m15a | 1 + 1 file changed, 1 insertion(+) create mode 100644 m15a diff --git a/m15a b/m15a new file mode 100644 index 0000000..6d0ecfd --- /dev/null +++ b/m15a @@ -0,0 +1 @@ -- 2.42.0 I'm about to try git send-email[message trimmed]