* qwr
thinks that allowing partial functions is one of the weirdest design decisions in haskell 98
<Corbin>
Partial functions arise naturally for any Turing-complete programming language.
<qwr>
i would expect those to be at least more explicit, not in the style of oh, i forget a case and found at runtime..
<Corbin>
It's hard to decide whether a function is fully defined. But yeah, it would be nice.
AeroNotix has quit [Quit: WeeChat 3.4]
<qwr>
there are many places in statically typed languages, where hard to decide means not allowed - in this case it would've meant requiring to write foo _ = error "blaah", if compiler can't decide that all values match
<qwr>
well, at least there are warnings that can be turned into errors
vicfred has joined #ocaml
tomku has quit [Ping timeout: 250 seconds]
tomku has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vicfred_ has joined #ocaml
vicfred has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
vicfred_ has quit [Quit: Leaving]
bobo_ has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
mbuf has joined #ocaml
Haudegen has joined #ocaml
zebrag has quit [Remote host closed the connection]
gravicappa has joined #ocaml
jlrnick has joined #ocaml
jlrnick has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
Serpent7776 has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
olle has joined #ocaml
<d_bot>
<Smerdyakov> Does anyone know how to set ocamlc to use clang? Reason being is that I run into this bug https://github.com/ocaml/ocaml/issues/10250 and can't update to 4.13.0 as many of my dependencies don't support it yet
jlrnick has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
<d_bot>
<octachron> There is an even simpler option: you can do an opam update and install the switch that you want. The opam repository carry globc-2.34 patches for OCaml 3.12 to 4.12 since Friday.
<d_bot>
<let Butanium = raise Not_found;;> I can't find the ocaml exercices with tryOcaml editor
<d_bot>
<let Butanium = raise Not_found;;> does anyone have the link ?