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/
Tuplanolla has quit [Quit: Leaving.]
gzar has quit [Quit: WeeChat 4.2.2]
motherfsck has quit [Quit: quit]
waleee has quit [Ping timeout: 260 seconds]
ansiwen has quit [Quit: ZNC 1.7.1 - https://znc.in]
ansiwen has joined #ocaml
<discocaml> <struktured> Debating on writing a tui, wanted to try minttea but it's not async/core compatible yet. Lambda term was popular a while ago but seems to be in maintenance mode. I haven't tried Nottui yet but wondering if I should consider it. Ncurses is too low level for my tastes and want to avoid C bindings where possible. Any other suggestions I'm missing here? Thanks
<discocaml> <darrenldl> nottui+notty been okay for the tool i'm working on (docfd), but you'll likely need to roll your own widgets for line wrapping textbox etc
<discocaml> <struktured> Thanks for the suggestion, will give it a trial. I found the minttea demo more impressive than the nottui so it biased my initial search
<discocaml> <darrenldl> is minttea tied to riot?
<discocaml> <struktured> yes, which is why I can't use it with janestreet core. Riot has a core library too and the name conflicts (with the opam released versions, at least)
<discocaml> <darrenldl> for nottui i'm vendoring its stepping function so i can have a eio yield between each step, so not fully ideal in principle, but not noticeable from user perspective
<discocaml> <struktured> if it works, it works. In my case I kind of care about update speed, but honestly I just want a good developer experience
<discocaml> <darrenldl> minttea demos look nice indeed and seems to have a richer set of widgets
<discocaml> <darrenldl> yeah idk, what kind of tui are you making?
<discocaml> <struktured> a live order book representation, for starters, but will add more tui interfaces if I like the library I'm using enough
<discocaml> <darrenldl> seems viable in either
<discocaml> <darrenldl> i guess it boils down to if you like reactivity or transition function style of updating the tui
<discocaml> <struktured> agreed, although the minttea version would be super easy- it's just a small mod of their table example.
<discocaml> <struktured> Lambda term is probably cooler to me but the riot version has some practicality I appreciate, and eio is nice
<discocaml> <struktured> I will study nottui a bit, thanks again for the suggestions
tri has joined #ocaml
<discocaml> <struktured> just googled docfd btw, looks pretty nifty
<discocaml> <darrenldl> thanks haha
<discocaml> <darrenldl> been handy for work : v
<discocaml> <struktured> way more complicated tui than what I'm trying to do, proves out nottui for sure
<discocaml> <darrenldl> fwiw, i had plan to roll the widgets i wrote for docfd into a lib on top of lwd, notty and nottui, but uh no time or motivation
<discocaml> <darrenldl> and not that many tui people around, but if enough interest that could be a motivation for my holiday project : v
<discocaml> <struktured> either that or some other tui will arise on your plate and then you have to make a library
<discocaml> <darrenldl> : D
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 268 seconds]
Serpent7776 has joined #ocaml
deadmarshal_ has quit [Quit: IRCNow and Forever!]
deadmarshal_ has joined #ocaml
pi3ce has joined #ocaml
bartholin has joined #ocaml
jabuxas has joined #ocaml
tri has joined #ocaml
tri has quit [Ping timeout: 264 seconds]
nongeek has joined #ocaml
<nongeek> Hi all
<nongeek> What is the main usage of Ocaml?
<discocaml> <leviroth> Writing computer programs
<nongeek> :)
<nongeek> Why not other languages?
<Franciman> i personally use it when commended by authorities
<Franciman> otherwise i prefer standard ml or haskell
<Franciman> its main features, from my point of view are: great functional programming
<Franciman> while supporting mutability without too many issues
<Franciman> then there is the new effect system i don't know about
<discocaml> <leviroth> ^ the best "Why ocaml" post ever written, two short paragraphs buried in a forum thread.
jabuxas has quit [Ping timeout: 260 seconds]
<discocaml> <limp.biskit> ocaml web dev is getting quite good nowadays
<discocaml> <limp.biskit> im not sure its a 'main usage' yet though
waleee has joined #ocaml
<nongeek> Franciman: Why job positions are few?
Anarchos has joined #ocaml
<discocaml> <deepspacejohn> Is very good at writing compilers.
<discocaml> <deepspacejohn> It’s*
nongeek has quit [Quit: Leaving]
mbuf has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
ania123 has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
<discocaml> <limp.biskit> is standard ml still used?
Serpent7776 has quit [Ping timeout: 260 seconds]
jabuxas has joined #ocaml
szkl has quit [Quit: Connection closed for inactivity]
jabuxas has quit [Ping timeout: 255 seconds]
jabuxas has joined #ocaml
Tuplanolla has joined #ocaml
<discocaml> <contextfreebeer> Yeah
<discocaml> <contextfreebeer> It depends on what you mean exactly though
ania123 has quit [Quit: Client closed]
motherfsck has joined #ocaml
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #ocaml
gzar has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
szkl has joined #ocaml
mbuf has quit [Quit: Leaving]
waleee has joined #ocaml
jabuxas has quit [Ping timeout: 256 seconds]
pi3ce has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ns12 has quit [Quit: bye]
ns12 has joined #ocaml
Serpent7776 has joined #ocaml
wingsorc has joined #ocaml
Serpent7776 has quit [Ping timeout: 256 seconds]
bartholin has quit [Quit: Leaving]
Tuplanolla has quit [Quit: Leaving.]
cr1901 has quit [Remote host closed the connection]
sroso has joined #ocaml
cr1901 has joined #ocaml
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #ocaml
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #ocaml