vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
163 stars 44 forks source link

ocaml version compatibility #22

Closed andrewray closed 9 years ago

andrewray commented 9 years ago

Is >= 4.02 a constraint you intend for websocket going forward?

vbmithr commented 9 years ago

I'm not sure I understand the sentence. If you mean if I intend to always request the latest version of OCaml to use websockets, no. It's just that this current version uses the lwt ppx syntax, hence needs >= 4.02. Do you need backward compatibility ?

andrewray commented 9 years ago

Ah, I see; Ppx requires 4.02 or greater. I was asking because iocaml used to be compatible with all 4.x series compilers until this constraint, but it is reasonable. I'll just keep an older iocaml package working for those compilers.

vbmithr commented 9 years ago

Yeah, I'm not really a backward-compatibility kind of person. It frustrates me to have cool new features around and not allowing myself to use them because I want to preserve backward compatibility. You can probably use the former release for your older iocaml version, it should probably work well too.