<discocaml>
<Add to Cart> I am currently taking a class thats teaching ocaml and I would like to find a place to master the language. Where can I go for this?
<discocaml>
<NULL> If you have questions, here (or #beginners) is a good place; for general lessons, I don't know (the two links above may be answers)
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #ocaml
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #ocaml
<oriba>
yes the Whitington is a good start... the OCaml-Oreilly-Book is also good
spip has quit [Quit: Konversation terminated!]
hackhorn has joined #ocaml
sagax has quit [Remote host closed the connection]
<neiluj>
after the C stubs are built with ctypes there is an error that alloc is deprecated and ocaml_alloc should be used
<neiluj>
also, some structs have flush as a field and this clashes with ocaml_flush
<neiluj>
rings a bell?
szkl has joined #ocaml
perrierjouet has joined #ocaml
waleee has joined #ocaml
motherfsck has quit [Ping timeout: 276 seconds]
Haudegen has quit [Quit: Bin weg.]
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
neiluj has quit [Ping timeout: 246 seconds]
neiluj has joined #ocaml
Haudegen has joined #ocaml
troydm has joined #ocaml
bartholin has joined #ocaml
rf_ has quit [Quit: Leaving]
motherfsck has joined #ocaml
olle has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
trev has quit [Remote host closed the connection]
Stumpfenstiel has joined #ocaml
<discocaml>
<cemerick> sheesh, the 'What are the biggest reasons newcomers give up on OCaml?' mega-thread is now up to almost 300 messages 👀
<neiluj>
:sadparrot:
<neiluj>
got those C bindings working, parsing C with libclang was actually not too painful
<discocaml>
<geoff> generating ctypes bindings?
<neiluj>
yep!
<neiluj>
in the end I had to edit manually to remove some function which clashed with the ocaml C api
<neiluj>
now translating some old code in ocaml to try to find how to make a wrapper with a type-safe interface
<discocaml>
<geoff> ah nice. I've just manually pounded them out on the three libraries that I've bound so far (with the help of regex -- on header signatures and existing foreign ctypes foreign expressions). Even having something that generated the first pass automatically would be nice though.
gahr has quit [Read error: Connection reset by peer]
<neiluj>
now I wan't to do C++ again! especially since the latest standards have more and more functional features
<discocaml>
<geoff> Are you going to PR the changes? I'll have try that out the next time I'm starting fresh on a bindings lib
<neiluj>
yeah I'll try once I clean it up a bit, maybe in a week or two.
<discocaml>
<geoff> I've been writing some C++ lately contributing to Manifold, but not in the complicated parts. It's not so bad, but I do miss ocaml while I'm writing it.
<discocaml>
<masterbuilder> why not go for Rust, best of both worlds 🤭
<neiluj>
CAD stuff, cool stuff
olle has quit [Ping timeout: 265 seconds]
<discocaml>
<geoff> Yea, code CAD is great. Though my time spent on libraries for it has taken away from the time that I actually make models and send them to my printer 😅
<neiluj>
:)
rf has joined #ocaml
bgs has quit [Remote host closed the connection]
<discocaml>
<geoff> Something I've been wondering for a while, but haven't made a post about on discuss yet, is if functions working with GADTs having better inference/errors on partial application is possible or not. (continued in pastebin with code blocks: https://pastebin.com/yUVmjRJQ)
neiluj has quit [Quit: WeeChat 3.7.1]
bartholin has quit [Quit: Leaving]
Tuplanolla has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
Haudegen has joined #ocaml
wingsorc has joined #ocaml
Stumpfenstiel has quit [Ping timeout: 246 seconds]
John_Ivan has joined #ocaml
John_Ivan has quit [Remote host closed the connection]