silver_ has quit [Read error: Connection reset by peer]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
ale64bit has joined #ocaml
zmzm has joined #ocaml
ale64bit has quit [Ping timeout: 245 seconds]
mfp has quit [Ping timeout: 246 seconds]
zmzm has quit [Quit: zmzm]
AtumT has quit [Quit: AtumT]
zmzm has joined #ocaml
zmzm has quit [Client Quit]
zmzm has joined #ocaml
keep_learning has joined #ocaml
zmzm has quit [Quit: zmzm]
DomTorr__ has joined #ocaml
DomTorr_ has quit [Ping timeout: 258 seconds]
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 255 seconds]
Guest17069 has quit [Ping timeout: 258 seconds]
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 245 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
syb has joined #ocaml
syb has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
ggole has joined #ocaml
FreeBirdLjj has joined #ocaml
_whitelogger has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
Towel has joined #ocaml
rdivyanshu_ is now known as rdivyanshu
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
<oni-on-ion>
there is no information anywhere with how to simply make a C struct with ctypes
<oni-on-ion>
struct { unsigned char r,g,b,a; } color; <-- very simple. but i can get the values. the thing is i am trying to *set* the values. i see no way to do so? i've tried CArray
zolk3ri has joined #ocaml
ShalokShalom has joined #ocaml
Haudegen has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
<oni-on-ion>
stuck
_whitelogger has joined #ocaml
Redfoxmoon has quit [Changing host]
Redfoxmoon has joined #ocaml
ShalokShalom has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
ravenousmoose has joined #ocaml
kakadu has joined #ocaml
_whitelogger has joined #ocaml
silver has joined #ocaml
sonologico has quit [Ping timeout: 245 seconds]
powerbit has joined #ocaml
sonologico has joined #ocaml
sonologico has quit [Read error: Connection reset by peer]
sonologico has joined #ocaml
sonologico has quit [Ping timeout: 258 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfp has joined #ocaml
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]
ravenousmoose has joined #ocaml
dhil has joined #ocaml
troydm has joined #ocaml
bartholin has quit [Remote host closed the connection]
nopf has joined #ocaml
bartholin has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
ravenousmoose has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
_whitelogger has joined #ocaml
jnavila has joined #ocaml
jao has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
jnavila has joined #ocaml
dhil has quit [Ping timeout: 258 seconds]
ShalokShalom has quit [Remote host closed the connection]
gravicappa has joined #ocaml
dhil has joined #ocaml
ygrek has joined #ocaml
mal`` has quit [Quit: Leaving]
mal`` has joined #ocaml
AtumT has joined #ocaml
pierpal has quit [Ping timeout: 258 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ocaml
ale64bit has joined #ocaml
niklasl has joined #ocaml
ale64bit has quit [Ping timeout: 246 seconds]
FreeBirdLjj has joined #ocaml
ale64bit has joined #ocaml
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
weird_error has joined #ocaml
weird_error has quit [Quit: weird_error]
zolk3ri has quit [Remote host closed the connection]
zolk3ri has joined #ocaml
ale64bit has quit [Ping timeout: 245 seconds]
ziyourenxiang has quit [Ping timeout: 258 seconds]
ShalokShalom has quit [Remote host closed the connection]
<ggole>
Grid is a functor, but isn't given a functor type in the signature
<cemerick>
ggole: after defining the Grid type, I have `module Grid : functor (G : Geometry) -> Grid`
<cemerick>
But the errors are about containers' Map
FreeBirdLjj has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
FreeBirdLjj has joined #ocaml
<ggole>
I see.
Haudegen has quit [Remote host closed the connection]
Haudegen has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
<cemerick>
swapping out Containers.Map for Stdlib.Map resolves things. Seems like a file-able issue companion_cube?
<octachron>
cemerick, could you show the module type implementation in the ml file?
<cemerick>
octachron: it's basically a copy-paste of what was generated from the actual implementation, except that I just refer to Map.S instead of including the full enumeration of its members: https://gist.github.com/cemerick/0b9901dc27e16823267d5d28e46b789b
<oni-on-ion>
is there any way to create (ie. set the data) in a Ctypes struct ? been searching since last night all over the code and web
ravenousmoose has joined #ocaml
<octachron>
cemerick, and the Map.S in the implementation file was a Stdlib.Map.S and not a container?
<cemerick>
octachron: the implementation file has `open Containers` at the top, so `Map.S` there is not Stdlib. The .mli had `module IntMap : Containers.Map.S with type key = int`
<cemerick>
nope, nope, nevermind, specifying Stdlib doesn't change anything. I fooled myself through a git revert + unsaved edits.
<octachron>
Your error appear to be elsewhere. If you could link enough code to reproduce the error, it would be great.
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 258 seconds]
ShalokShalom has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
AtumT has joined #ocaml
<cemerick>
octachron: whew, I had an `open Sequence` above the `IntMap` declaration within the module _implementation_, so `IntMap` was actually `Sequence.Map` 😅 😓
<cemerick>
sorry for the noise
sonologico has quit [Remote host closed the connection]