User avatar
mio @mio@shrimp.mio19.uk
11mo
@liamoc The current code formatting of holbert-ng looks unfamiliar to me. What do you think of the code formatting style provided by npx rescript format -all command?
1
0
0
0
User avatar
Liam O'Connor @liamoc@types.pl
11mo
@mio i didn't know it existed, so perhaps that answers your question.
1
0
1
0
User avatar
mio @mio@shrimp.mio19.uk
11mo
@liamoc I formatted holbert-ng using it github.com/liamoc/holbert-ng/pull/1 What do you think of this formatting?
1
0
1
0
User avatar
mio @mio@shrimp.mio19.uk
10mo
@liamoc It is unfortunately unstable. Formatting the same code twice produces a different result than formatting it once github.com/liamoc/holbert-ng/pull/2/commits/1f4f7f7477192a56c00461b0e2edb08c54ea19d6
1
0
0
0
User avatar
Liam O'Connor @liamoc@types.pl
10mo
@mio oh how annoying. Is this a known problem?
1
0
0
0
User avatar
mio @mio@shrimp.mio19.uk
10mo
@liamoc It isn't too problematic in practice as long as we always format the code with this tool. The code becomes stable after second formatting
1
0
0
0
User avatar
Liam O'Connor @liamoc@types.pl
10mo
@mio so f.f is idempotent but f is not. How odd
1
0
1
0
User avatar
mio @mio@shrimp.mio19.uk
10mo
@liamoc they rewrote it in rust. Hopefully it is idempotent this time. github.com/rescript-lang/rescript/releases/tag/v12.0.0-beta.2
1
0
1
0

User avatar
mio @mio@shrimp.mio19.uk
6mo
@liamoc Rescript12 code style slightly is different from rescript11 :( github.com/liamoc/holbert-ng/pull/19/files
1
0
0
0
User avatar
Liam O'Connor @liamoc@types.pl
6mo
@mio what a pain.. i hope rescript doesn't shift too much under us in future..
1
0
1
0
User avatar
mio @mio@shrimp.mio19.uk
2mo
@liamoc Rescript just started developing next major versions and deprecating things. I am trying to get some software from 2022 unrelated to rescript to run. It cannot compile anymore. Rescript feels similar. It seems that many software just like to shift constantly😿I don't like them
0
0
0
0