ec changed the topic of #elliottcable to: a π•―π–Šπ–“ 𝖔𝖋 π•―π–Šπ–™π–Šπ–—π–’π–Žπ–“π–Šπ–‰ π•―π–†π–’π–˜π–Šπ–‘π–˜ slash sΝ”ΜžuΝ•Ν™pΝ™Ν“e̜̺rΜΌΜ¦i̼̜oΜ–Μ¬rΜ™Μ™ c̝͉α»₯Μ§Ν˜αΈ·Μ‘Ν™Ε£Ν“Μ€ || #ELLIOTTCABLE is not about ELLIOTTCABLE
dsamarin has joined #elliottcable
<ec> jfhbrook: different thing >:
<ec> but I figured it out
<ec> normal variant in ML is like an enum
<ec> type family_member = Dog | Cat | Human of string
<ljharb> don't be a fish hater
<ec> polymorphic variants, though, are "open" and can be extended or limited
dsamarin has quit [Ping timeout: 260 seconds]
dsamarin has joined #elliottcable
<ec> i.e. ``[> `Dog | `Cat | `Human of string ]`` (moment of truth, IRCcloud Markdown parsing …) means, thanks to the `>`, that it can be β€œextended” with more variants
<ec> nope lmao fail
<ec> i.e. it's a type that matches β€œany polymorphic-variant type with at least these known members, but possibly more”
<ec> whereas "[< `Dog | `Cat | `Human of string ]" accepts *at least* those, but possibly more
<ec> jesus christ IRCcloud bug report time
<ljharb> why are there backticks in there
muelleme has joined #elliottcable
<ec> polymorphic variant syntax
<ec> uses `'Blah` and `'Blah of blah`, but with backticks instead of single-quotes
<ec> ```
<ec> crap wtf
<ec> let three = `Int 3
<ec> let four = `Float 4.
<ec> - : [> `Float of float | `Int of int | `Not_a_number ] list = [`Int 3; `Float 4.; `Not_a_number]
<ec> [three; four; nan];;
<ec> let nan = `Not_a_number
<ec> god damnit ircclou
<ljharb> lol
<ljharb> a single lone backtick is a really poor choice of syntax
muelleme has quit [Ping timeout: 260 seconds]
<ec> Β―\_(ツ)_/Β―
<ec> it's fuckin', what, thirty years old?
<ec> markdown definitely didn't exist then 🀣
<ec> woah
<ec> *forty-five* years
<ec> IRCv3 looks like an interesting project
<ljharb> lol
muelleme has joined #elliottcable
muelleme has quit [Ping timeout: 248 seconds]
<ec> ahh, ```[> `Figured | `It | `Out]```
<ec> thx irccloud
<ec> annoying in plaintext tho.
dsamarin has quit [Read error: Connection reset by peer]
cloudhead has joined #elliottcable
cloudhead has quit [Quit: leaving]
asecretcat has quit [Ping timeout: 260 seconds]
asecretcat has joined #elliottcable
mylesborins has quit [Quit: farewell for now]
mylesborins has joined #elliottcable
<ec> hm
<purr\ec> [System] ELLIOTTCABLE pushed 3 new commits to refresh-vim+: https://github.com/ELLIOTTCABLE/System/compare/0fbd7a64065e...e489e20f55be
<purr\ec> System/refresh-vim+ e489e20 ELLIOTTCABLE: (vim plug temp) Using local Merlin, with some of my own fixes-in-progress
<purr\ec> System/refresh-vim+ 70f5f3c ELLIOTTCABLE: (vim fix) More, broken, OCaml completion crap
<purr\ec> System/refresh-vim+ e21692e ELLIOTTCABLE: (vim fix) Trying to move forwards on OCaml completion etc
cloudhead has joined #elliottcable
fujisan has joined #elliottcable
cloudhead has quit [Quit: leaving]
muelleme has joined #elliottcable
muelleme has quit [Ping timeout: 260 seconds]
fujisan has quit [Quit: Connection closed for inactivity]