companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 5.2.0 released: https://ocaml.org/releases/5.2.0 | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
tri has joined #ocaml
alfiee has quit [Ping timeout: 246 seconds]
tri has quit [Remote host closed the connection]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tri has joined #ocaml
tri has quit [Ping timeout: 268 seconds]
Tuplanolla has quit [Quit: Leaving.]
Mister_Magister has quit [Quit: bye]
Mister_Magister has joined #ocaml
tri has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Haudegen has quit [Quit: Bin weg.]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 265 seconds]
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 252 seconds]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #ocaml
tri has joined #ocaml
alfiee has joined #ocaml
quernd has quit [Quit: Ping timeout (120 seconds)]
quernd has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
tri has quit [Remote host closed the connection]
tri has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
Inline has quit [Ping timeout: 252 seconds]
Inline has joined #ocaml
hsw_ has quit [Quit: Leaving]
hsw has joined #ocaml
nirvdrum74 has joined #ocaml
nirvdrum7 has quit [Read error: Connection reset by peer]
nirvdrum74 is now known as nirvdrum7
hsw has quit [Quit: Leaving]
agentcasey has quit [Quit: ZNC 1.10.x-git-27-bfd731cf - https://znc.in]
hsw has joined #ocaml
agentcasey has joined #ocaml
alfiee has joined #ocaml
hsw has quit [Client Quit]
hsw has joined #ocaml
hsw has quit [Remote host closed the connection]
hsw has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
hsw has quit [Client Quit]
hsw has joined #ocaml
Inline has quit [Quit: Leaving]
Inline has joined #ocaml
tri has quit [Remote host closed the connection]
tri has joined #ocaml
tri has quit [Ping timeout: 268 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
quernd has quit [Read error: Connection reset by peer]
quernd1 has joined #ocaml
tri has joined #ocaml
tri has quit [Ping timeout: 268 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 248 seconds]
Inline has quit [Ping timeout: 248 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 244 seconds]
Serpent7776 has joined #ocaml
alfiee has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
alfiee has quit [Ping timeout: 260 seconds]
tri has joined #ocaml
myrkraverk_ has joined #ocaml
tri has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
myrkraverk has quit [Ping timeout: 252 seconds]
dhil has joined #ocaml
Haudegen has joined #ocaml
olle has joined #ocaml
bartholin has quit [Quit: Leaving]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
<discocaml> <lukstafi> Via the annoucement of `ocamlmig`, I discovered https://ocaml.org/p/ppx_partial/latest, abstraction syntax like they have in Scala -- cool, no? But no other project is using it.
alfiee has quit [Ping timeout: 252 seconds]
myrkraverk has joined #ocaml
myrkraverk_ has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 244 seconds]
myrkraverk_ has joined #ocaml
myrkraverk has quit [Ping timeout: 268 seconds]
tri has joined #ocaml
tri has quit [Ping timeout: 246 seconds]
rgrinberg has joined #ocaml
alfiee has joined #ocaml
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiee has quit [Ping timeout: 276 seconds]
mange has quit [Quit: Zzz...]
tri has joined #ocaml
tri has quit [Ping timeout: 265 seconds]
<discocaml> <gooby_diatonic> It's cool but it's probably a whole global program transformation for something small, so it's probably not that useful in practice
<discocaml> <gooby_diatonic> If it were added to the language itself on the other hand, that would be much cooler
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
alfiee has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
alfiee has quit [Ping timeout: 245 seconds]
tri has joined #ocaml
tri has quit [Ping timeout: 244 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Inline has joined #ocaml
Inline has quit [Quit: Leaving]
Inline has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 246 seconds]
tri has joined #ocaml
tri has quit [Ping timeout: 276 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
<discocaml> <passerby0296> Guys, is there a way to rewrite this function without using “failwith”?
<discocaml> <passerby0296>
<discocaml> <passerby0296> let rec build_app_l = function
<discocaml> <passerby0296> | [] -> failwith "Error while building application"
<discocaml> <passerby0296> | [ h ] -> h
<discocaml> <passerby0296> | h1 :: h2 :: tl -> build_app_l (EApplication (h1, h2) :: tl)
<discocaml> <passerby0296> ;;
<discocaml> <passerby0296>
<discocaml> <passerby0296> I have over 5k lines of code and I really don’t want to wrap all of them in monads just because of this function
<olle> result type?
<olle> or wrap another function around it that returns result type
<olle> or just build_app_l_opt
Haudegen has quit [Quit: Bin weg.]
Inline has quit [Quit: Leaving]
olle has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
Inline has joined #ocaml
alfiee has quit [Ping timeout: 244 seconds]
JuanDaugherty has joined #ocaml
tri has joined #ocaml
tri has quit [Ping timeout: 252 seconds]
<discocaml> <noahtheduke> i wrote some additional documentation for ocaml stdlib and i'd like to generate the files locally to check they look good. is there a way to do that locally?
dhil has quit [Ping timeout: 244 seconds]
Inline has quit [Quit: Leaving]
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
alfiee has joined #ocaml
Inline has joined #ocaml
alfiee has quit [Ping timeout: 246 seconds]
euphores has quit [Quit: Leaving.]
<discocaml> <yawaramin> yes, see the instructions here https://github.com/ocaml/ocaml/tree/trunk/manual
malte has quit [Remote host closed the connection]
euphores has joined #ocaml
<discocaml> <noahtheduke> ah thank you
Haudegen has joined #ocaml
Inline has quit [Quit: Leaving]
alfiee has joined #ocaml
Inline has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
Inline_ has joined #ocaml
Inline has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
tri has joined #ocaml
tri has quit [Ping timeout: 248 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
<discocaml> <octachron> For the stdlib, the manpage documentation is always built inside `api_docgen/ocamldoc/build/man`. If man pages are not your preferred documentation format, you can build the html one with `make -C api_docgen ocamldoc-html`
rgrinberg has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Inline_ is now known as Inline
malte has joined #ocaml
tri has joined #ocaml
tri has quit [Ping timeout: 248 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mange has joined #ocaml
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
Serpent7776 has quit [Ping timeout: 252 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 260 seconds]
Tuplanolla has joined #ocaml
rgrinberg has joined #ocaml
tri has joined #ocaml
rgrinberg has quit [Read error: Connection reset by peer]
rgrinberg has joined #ocaml
tri has quit [Ping timeout: 252 seconds]
bartholin has quit [Quit: Leaving]
myrkraverk__ has joined #ocaml
myrkraverk_ has quit [Ping timeout: 244 seconds]
alfiee has joined #ocaml
alfiee has quit [Ping timeout: 252 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #ocaml
Inline has quit [Client Quit]
Inline has joined #ocaml