Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.1.1 released: https://ocaml.org/releases/5.1.1 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
mange has joined #ocaml
azimut has joined #ocaml
jabuxas_ has quit [Ping timeout: 256 seconds]
habnabit_ has joined #ocaml
<discocaml> <mirazzzzzz> Hello, we are looking for employees for a cryptocurrency project:
<discocaml> <mirazzzzzz>
<discocaml> <mirazzzzzz> * Beta tester ($45/hour)
<discocaml> <mirazzzzzz> * Moderator ($500/week)
<discocaml> <mirazzzzzz> * Community Manager ($1000/week)
<discocaml> <mirazzzzzz> * NFT-artist (negotiable)
<discocaml> <mirazzzzzz> * Advertisers (negotiable)
<discocaml> <mirazzzzzz> * Web Developer (negotiable)
<discocaml> <mirazzzzzz> * Investors
<discocaml> <mirazzzzzz>
<discocaml> <mirazzzzzz> If you are interested in collaborating, please send me a DM
<discocaml> <Ada> wasn’t this guy in here yesterday
<discocaml> <lhommemagique> yup
mange has left #ocaml [Killed buffer]
mange has joined #ocaml
torretto has quit [Remote host closed the connection]
torretto has joined #ocaml
myrkraverk__ has joined #ocaml
lobo_ has joined #ocaml
kurfen has joined #ocaml
czy` has joined #ocaml
reynir1 has joined #ocaml
mange has quit [Ping timeout: 264 seconds]
trillion_exabyte has quit [Ping timeout: 264 seconds]
kurfen_ has quit [Ping timeout: 264 seconds]
greenbagels has quit [Ping timeout: 264 seconds]
myrkraverk_ has quit [Ping timeout: 264 seconds]
czy has quit [Ping timeout: 264 seconds]
lobo has quit [Ping timeout: 264 seconds]
reynir has quit [Ping timeout: 264 seconds]
companion_cube has quit [Ping timeout: 264 seconds]
trillion_exabyte has joined #ocaml
companion_cube has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jabuxas has quit [Ping timeout: 264 seconds]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 255 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Square3 has quit [Ping timeout: 260 seconds]
kurfen has quit [Ping timeout: 255 seconds]
gentauro has quit [Ping timeout: 255 seconds]
lobo_ has quit [Ping timeout: 255 seconds]
lobo_ has joined #ocaml
gentauro has joined #ocaml
kurfen has joined #ocaml
rgrinberg has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
<toastal> With compiler plugins removed, how does one get back the functionality of `ocaml-m17n` in 2024? I was looking to use it to do some teaching, but English & Latin scripts are not the students’ first language.
<toastal> It would be helpful towards their accessibility if ASCII limitations were lifted.
<toastal> For reference, the m17n’s Microsoft GitHub project: https://github.com/whitequark/ocaml-m17n
Serpent7776 has joined #ocaml
dnh has joined #ocaml
raskol has quit [Ping timeout: 260 seconds]
azimut has joined #ocaml
bartholin has joined #ocaml
<octachron> toastal, which script would you need support for?
<octachron> At some point in the future, it should be relatively easy to extend language support by writing a custom driver for compiler-libs.
<octachron> While we are not yet here, if you have a pedagogical use case in mind, I could have a look at writing a compiler variant with the missing bit and lexer support.
mro has joined #ocaml
<toastal> Thai script, which is not bicameral
<octachron> So the support for "casing alternative marker" from m17n is mandatory. Noted.
<toastal> Yes. Even PureScript, Haskell, etc. which can tolerate Greek, Cyrillic, et al. have no way of handling the majority of scripts (which are not bicameral). But these languages I believe are ultimately too complicated for beginners.
<toastal> The proposed sigil was a concise solution to the problem
<toastal> (albeit *possibly* conflicting with prefix operators)
<octachron> Or code using the fact that "x@l" is currently valid.
bartholin has quit [Quit: Leaving]
<octachron> Anyway, I will try to have a look at an opam switch variant equivalent to m17n this week.
motherfsck has quit [Ping timeout: 252 seconds]
<toastal> octachron: that would be awesome!
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olle has joined #ocaml
reynir1 is now known as reynir
mima has joined #ocaml
mima has left #ocaml [#ocaml]
bibi__ has joined #ocaml
bibi_ has quit [Ping timeout: 268 seconds]
motherfsck has joined #ocaml
motherfsck has quit [Ping timeout: 255 seconds]
jabuxas has joined #ocaml
motherfsck has joined #ocaml
waleee has joined #ocaml
motherfsck has quit [Ping timeout: 264 seconds]
motherfsck has joined #ocaml
fweht has joined #ocaml
motherfsck has quit [Ping timeout: 264 seconds]
motherfsck has joined #ocaml
bibi__ has quit [Quit: Konversation terminated!]
Anarchos has joined #ocaml
czy` has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.2.50)]
czy has joined #ocaml
alexherbo2 has joined #ocaml
Square3 has joined #ocaml
<discocaml> <idontwantausernamefeckoff> i know dev is english centric but still shocking to me how rare that type of support is
<discocaml> <octachron> It is bit more than being english centric, unicode is both recent, complicated, and still a work-in-progress. Unicode properties tables are megabytes of pure data that are better kept updated outside of the compiler release cycle for instance.
average has joined #ocaml
<discocaml> <octachron> That's why my current plan for full internationalization support is to have the core compiler support minimal utf8+unicode and have extended version of the compiler that switches the lexer, the module name normalization functions and the user display function to ones that support full internationalization.
<discocaml> <bluddy5> Unicode has gotten ridiculously bloated
<discocaml> <idontwantausernamefeckoff> you’re telling me you’re not enthused by seven modifiers each on 500 emoji
<discocaml> <idontwantausernamefeckoff> or characters that are both visually identical to ascii and allowed in urls
<discocaml> <octachron> From my point of view those are fine, once one integrate the rule that if you are not doing the graphical rendering you don't try to parse user input, you only transport them as black boxes. Ok, it would be nice to be able to compute a graphical length of a string, and I am still waiting for support for the hieroglyphic control characters anywhere, but surely that will happen some day?
<discocaml> <idontwantausernamefeckoff> any questionable unicode decision is sort of outweighed by the fact that browsers and the like ever importing this huge, intentionally all-encompassing character set didn't check it over first
Anarchos has quit [Quit: Vision[]: i've been blurred!]
bibi_ has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
<discocaml> <darrenldl> would it be reasonable to have a pinned post on discuss.ocaml.org that discourages use of ocamlwiki.com?
berberman has quit [Quit: ZNC 1.8.2 - https://znc.in]
berberman has joined #ocaml
Square3 has quit [Ping timeout: 264 seconds]
mro has quit [Quit: Leaving]
Serpent7776 has quit [Ping timeout: 255 seconds]
<discocaml> <idontwantausernamefeckoff> i have never heard of that site before
alexherbo2 has joined #ocaml
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
raskol has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Remote host closed the connection]
<discocaml> <functionalprogramming> Do expect tests need to be inline? or can they be in a test directory?
<discocaml> <regularspatula> They can be in a test directory or separate library too
<discocaml> <regularspatula> (If you’re not testing internal implementation at least)
<discocaml> <functionalprogramming> right
<discocaml> <functionalprogramming> okay, so i cant use a test stanza, it has to be library
<discocaml> <regularspatula> Separate library is what I do
<discocaml> <functionalprogramming> how do i get the inline_tests_runner script?
<discocaml> <regularspatula> I generally do not use it directly…rather use dune to run tests
<discocaml> <functionalprogramming> ah cool! runtest works on the library stanza
<discocaml> <functionalprogramming> didnt expect it to
<discocaml> <functionalprogramming> sorry to bother you, but do you know a convenient way to replace the file with the expect output file?
<discocaml> <regularspatula> Use dune promote
<discocaml> <functionalprogramming> thanks
<discocaml> <functionalprogramming> god this is so nice
<discocaml> <regularspatula> You can also use auto promote with watch mode if you are still exploratory
<discocaml> <regularspatula> (Or adventurous)
<discocaml> <functionalprogramming> hehe
<discocaml> <functionalprogramming> thanks
<discocaml> <regularspatula> No problem
<discocaml> <functionalprogramming> it is curious how promote is not even mentioned on the ppx_expect readme
rgrinberg has joined #ocaml
<discocaml> <regularspatula> Oh is it not…hmm that’s odd
<discocaml> <regularspatula> Btw there is a thing in dune docs about ppx_inline_test dependency not allowed to be a with-test dependency. But if you put the inline tests in another library than it can be in my experience
jabuxas has quit [Ping timeout: 264 seconds]
<discocaml> <christopherfujino> does anyone talk about reasonml here, or is it forbidden?
szkl has quit [Quit: Connection closed for inactivity]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<discocaml> <undu> It's not forbidden, just not much interest
<discocaml> <christopherfujino> interesting
<discocaml> <christopherfujino> i'm not interested in using it, but i'm curious if it's more effective in adopting new users than regular ocaml
<discocaml> <christopherfujino> i guess they have their own discord server though
<discocaml> <idontwantausernamefeckoff> when i started learning ocaml reason seemed like a dying project
<discocaml> <bluddy5> Reason started out on a massive upward trajectory. When we started this discord, they were outnumbering us 3 to 1 (which was great -- people were being introduced into the ecosystem). They then lost a critical component of the ecosystem (Bucklescript), and that caused many people and companies to lose confidence in the language. At this point OCaml has more online people than the Reason server, which tells you a lot.
<discocaml> <functionalprogramming> so you have the tests, and you have the library with the inline tests, and you depend on that library in your tests?
<discocaml> <Et7f3 (@me on reply)> Melange try to give confidence back (and reason is first class citizens)
jabuxas has joined #ocaml
<discocaml> <bluddy5> Correct. But it'll be tough. Once you've betrayed people's trust, it's very hard to get it back.
bartholin has joined #ocaml
torretto has quit [Ping timeout: 255 seconds]
alexherbo2 has joined #ocaml
torretto has joined #ocaml
<discocaml> <regularspatula> I will generally have “real library” like A then another library Test_A. Then Test_A requires A. A knows nothing about Test_A
<discocaml> <idontwantausernamefeckoff> i never quite understood reason
raskol has quit [Ping timeout: 255 seconds]
<discocaml> <idontwantausernamefeckoff> the syntax isn't that scary and if i'm going to learn a new way of programming (as ocaml was since the only functional code i'd written before that was array processing in javascript) i would rather learn a new syntax to go along with the new concepts
<discocaml> <idontwantausernamefeckoff> anyway curly spaces isn't any more readable than parentheses and `then`-style statements. i like typescript and i've still written a lot of ruby that i find more readable
<discocaml> <regularspatula> (Adjust capitalization as required for lib/module/etc). I the test lib I will have a mix of ppx_expext, ppx_inline_test and quick check tests. Then a separate dir for cram tests usually
fweht has quit [Quit: Connection closed for inactivity]
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
jutty has joined #ocaml
raskol has joined #ocaml
rgrinberg has joined #ocaml
bartholin has quit [Quit: Leaving]
jutty has quit [Ping timeout: 255 seconds]
azimut has quit [Ping timeout: 255 seconds]
mange has joined #ocaml
jutty has joined #ocaml
alexherbo2 has quit [Remote host closed the connection]
mizlan has joined #ocaml
<mizlan> What is the difference between @[<b> and @[<hov> ? The docs say the former is "demonstrating indentation" but I don't get what that means
<mizlan> Since you can put indentation on <hov>
<mizlan> in Format module btw^
a51 has joined #ocaml
<octachron> with b boxes, the formatting engine also breaks line when this lead to a change in indentation
mizlan has quit [Ping timeout: 255 seconds]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mizlan has joined #ocaml
<companion_cube> Hu, I didn't even know about b boxes :o
Tuplanolla has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cr1901 has quit [Quit: Leaving]
mizlan has quit [Ping timeout: 268 seconds]
cr1901 has joined #ocaml