<dh`>
those seem to be mostly workarounds for missing language features in java
<dh`>
(there's a truism to that effect about design patterns)
ygrek has quit [Remote host closed the connection]
aztex has quit [Quit: Client closed]
<companion_cube>
@smondet yeah, then use Caml for 10 years and realize that OOP is genuinely useful for the 5% where objects are good :D
rgrinberg has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
aztex has joined #ocaml
aztex has quit [Client Quit]
Tuplanolla has quit [Quit: Leaving.]
alexherbo2 has quit [Remote host closed the connection]
Haudegen has joined #ocaml
<discocaml>
<deepspacejohn> it recently occurred to me, is oop used for anything at all in the stdlib?
<companion_cube>
I don't think so?
<discocaml>
<yawaramin> well, there's the `Oo` module
<companion_cube>
I've never used that one :DD
<companion_cube>
but really that's a support module, nothing in the stdlib _relies_ on OO
<companion_cube>
maybe for bootstrapping reasons, I'm not entirely sure
Haudegen has quit [Quit: Bin weg.]
dmoerner has quit [Ping timeout: 272 seconds]
dmoerner has joined #ocaml
spynxic has quit [Ping timeout: 244 seconds]
spynx has joined #ocaml
spynx has quit [Ping timeout: 260 seconds]
myrkraverk__ has quit [Read error: Connection reset by peer]
myrkraverk__ has joined #ocaml
spynxic has joined #ocaml
spynxic has quit [Ping timeout: 276 seconds]
spynxic has joined #ocaml
matsurago has joined #ocaml
<matsurago>
hi, just wanted to try OCaml on Windows, but I had to interrupt 'opam init' at some point. After restart, the init command doesn't understand it was interrupted and proceeds to next step (which ofc fails). Any advice how to restart opam init from scratch?
dmoerner has quit [Ping timeout: 252 seconds]
dmoerner has joined #ocaml
Guest41 has joined #ocaml
esum has quit [Ping timeout: 246 seconds]
<Guest41>
Hi, I have learned about variant types and they seem useful for picking "one out of" a bunch of values. e.g. `type weekday = Monday | Tuesday | ...`. Is there a built-in feature that allows me to create variables that pick _multiple_ out of a bunch of values (without making some sort of Set of weekdays, etc.).?
<dh`>
there is not, afaik
<dh`>
you could make a sum of all the legal combinations but that is nasty to write down and nasty to work with
<dh`>
there might be some kind of ppx thing to generate that for you but probably you just want a Set
<dh`>
matsurago: easiest is to just delete whatever the windows equivalent of ~/.opam is and start over
<Guest41>
Good to know, thanks!
buoy49__ has quit [Ping timeout: 248 seconds]
Boarders_____ has quit [Read error: Connection reset by peer]
jyc has quit [Read error: Connection reset by peer]
nirvdrum1 has joined #ocaml
Boarders_____ has joined #ocaml
jyc has joined #ocaml
delyan_ has quit [Ping timeout: 246 seconds]
grobe0ba has quit [Ping timeout: 246 seconds]
delyan_ has joined #ocaml
buoy49__ has joined #ocaml
nirvdrum has quit [Ping timeout: 246 seconds]
Ekho has quit [Ping timeout: 246 seconds]
nirvdrum1 is now known as nirvdrum
esum has joined #ocaml
grobe0ba has joined #ocaml
pi3ce has joined #ocaml
pi3ce has quit [Client Quit]
Guest41 has quit [Quit: Client closed]
pi3ce has joined #ocaml
Ekho- has joined #ocaml
<matsurago>
dh`: thanks, I think I found an 'opam' folder inside AppData/Local, hope this is it