flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Ping timeout: 240 seconds]
<ollehar> partial application with optional arguments?
nikki93 has quit [Remote host closed the connection]
q66 has quit [Quit: Leaving]
mort___ has quit [Ping timeout: 272 seconds]
Drup has quit [Quit: Leaving.]
watermind has quit [Remote host closed the connection]
watermind has joined #ocaml
nikki93 has joined #ocaml
arquebus has joined #ocaml
arquebus has quit [Quit: Konversation terminated!]
mfp has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 252 seconds]
nisstyre has joined #ocaml
chrisdotcode has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
weie has joined #ocaml
boogie has joined #ocaml
boogie has quit [Remote host closed the connection]
boogie has joined #ocaml
peterbb has joined #ocaml
manizzle has quit [Ping timeout: 260 seconds]
ollehar has quit [Ping timeout: 246 seconds]
ollehar has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
ollehar has quit [Ping timeout: 260 seconds]
breakds has quit [Quit: Konversation terminated!]
caseyjames has joined #ocaml
<caseyjames> Does anyone here use ctypes? I'm doing something similar to line 75, but I don't get the 'ty' business. How do I define structs made of other structs a few layers deep? https://github.com/ocamllabs/ocaml-ctypes/blob/master/tests/test_structs.ml
nikki93 has quit [Remote host closed the connection]
tane has quit [Quit: Verlassend]
nikki93 has joined #ocaml
watermind has quit [Ping timeout: 246 seconds]
watermind has joined #ocaml
ggole has joined #ocaml
derek_c has joined #ocaml
derek_c has quit [Ping timeout: 246 seconds]
nisstyre has quit [Ping timeout: 252 seconds]
nikki93 has quit [Remote host closed the connection]
nikki93 has joined #ocaml
manud has quit [Ping timeout: 240 seconds]
manizzle has joined #ocaml
nikki93 has quit [Ping timeout: 265 seconds]
ivan\ has quit [Ping timeout: 265 seconds]
manud has joined #ocaml
nisstyre has joined #ocaml
csakatoku has joined #ocaml
ivan\ has joined #ocaml
nikki93 has joined #ocaml
<adrien> morning
derek_c has joined #ocaml
mcclurmc has quit [Quit: Leaving.]
Myk267 has left #ocaml []
gour has joined #ocaml
yacks has quit [Ping timeout: 256 seconds]
w0rm_x has joined #ocaml
boogie has quit [Remote host closed the connection]
w0rm_x has quit [Client Quit]
ocp has quit [Ping timeout: 245 seconds]
ttamttam has joined #ocaml
<caseyjames> Does anyone here use ctypes? I'm doing something similar to line 75, but I don't get the 'ty' business. How do I define structs made of other structs a few layers deep? https://github.com/ocamllabs/ocaml-ctypes/blob/master/tests/test_structs.ml
yezariaely has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest42487
caseyjames has quit [Ping timeout: 250 seconds]
csakatok_ has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
csakatoku has quit [Ping timeout: 246 seconds]
Guest42487 has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Read error: Connection reset by peer]
talzeus has joined #ocaml
csakatok_ has quit [Write error: Broken pipe]
ggole has quit [Ping timeout: 249 seconds]
talzeus has quit [Ping timeout: 265 seconds]
ggole has joined #ocaml
Arsenik has joined #ocaml
weie_ has joined #ocaml
Nahra has quit [Ping timeout: 245 seconds]
weie has quit [Ping timeout: 265 seconds]
thizanne has quit [Ping timeout: 260 seconds]
thizanne has joined #ocaml
Nahra has joined #ocaml
derek_c has quit [Ping timeout: 267 seconds]
<adrien_oww> morning
derek_c has joined #ocaml
weie has joined #ocaml
w0rm_x has joined #ocaml
weie_ has quit [Ping timeout: 265 seconds]
Yoric has joined #ocaml
derek_c has quit [Ping timeout: 260 seconds]
derek_c has joined #ocaml
mika1 has joined #ocaml
cago has joined #ocaml
derek_c has quit [Ping timeout: 272 seconds]
derek_c has joined #ocaml
steshaw has quit [Ping timeout: 245 seconds]
<companion_cube> hi
zpe has joined #ocaml
w0rm_x has quit [Quit: if Φ Σ e : φ then Φ Σ τ' → σ' :: ∃]
djcoin_ has joined #ocaml
johnb__ has quit [Quit: Page closed]
ocp has joined #ocaml
<nicoo> hi
talzeus_ has joined #ocaml
AltGr has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
Kakadu has joined #ocaml
Simn has joined #ocaml
siddharthv has joined #ocaml
csakatoku has joined #ocaml
lopex has quit [Ping timeout: 245 seconds]
strmpnk has quit [Ping timeout: 245 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 265 seconds]
siddharthv has quit [Quit: leaving]
derek_c has quit [Quit: Lost terminal]
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
mfp has joined #ocaml
dsheets has joined #ocaml
tianon has quit [Ping timeout: 256 seconds]
kizzx2 has joined #ocaml
w0rm_x has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu_ has joined #ocaml
tianon has joined #ocaml
mchqwerty has joined #ocaml
Yoric has joined #ocaml
lopex has joined #ocaml
chrisdotcode has quit [Ping timeout: 260 seconds]
adrien_o1w has joined #ocaml
Drup has joined #ocaml
adrien_oww has quit [Ping timeout: 252 seconds]
wolfnn has joined #ocaml
darkf has quit [Quit: Leaving]
ttamttam has quit [Quit: ttamttam]
skchrko has joined #ocaml
kizzx2 has quit [Quit: Leaving.]
rand000 has joined #ocaml
csakatoku has joined #ocaml
Fullma has quit [Ping timeout: 246 seconds]
strmpnk has joined #ocaml
q66 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
yacks has joined #ocaml
csakatoku has quit [Remote host closed the connection]
rand000 has quit [Remote host closed the connection]
_andre has joined #ocaml
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 252 seconds]
rand000 has joined #ocaml
nojb has joined #ocaml
talzeus_ has quit [Remote host closed the connection]
talzeus_ has joined #ocaml
cdidd has quit [Quit: Leaving]
talzeus_ has quit [Ping timeout: 256 seconds]
reynir has quit [Quit: WeeChat 0.4.0]
cdidd has joined #ocaml
cdidd has quit [Remote host closed the connection]
cdidd has joined #ocaml
<Drup> AltGr: ping ?
q66 has quit [Quit: Leaving]
tane has joined #ocaml
Leonidas has quit [Ping timeout: 246 seconds]
Leonidas has joined #ocaml
ollehar has joined #ocaml
rand000 has quit [Quit: leaving]
madroach has quit [Quit: leaving]
<AltGr> Drup: sorry, yes ?
ollehar has quit [Quit: ollehar]
<Drup> AltGr: did you see my pm from yesterday ?
maufred has quit [Ping timeout: 272 seconds]
<AltGr> err yeah, didn't you see my answers ?
<Drup> no :
Simn has quit [Read error: Connection reset by peer]
maufred has joined #ocaml
Simn has joined #ocaml
Antislash has joined #ocaml
Antislash has left #ocaml []
mort___ has joined #ocaml
<Drup> AltGr: I mean, irc pm, not github ones
<AltGr> Sure
<AltGr> tu me reçois toujours pas .
<AltGr> ?
<Drup> nop
<adrien_o1w> utf8!
<AltGr> oh sorry :p
<Drup> I love irc so much ~_~
Antislash has joined #ocaml
q66 has joined #ocaml
<AltGr> Drup, I'm PMing you as Antislash (trying another client)
Drup has quit [Quit: Leaving.]
Drup has joined #ocaml
<Drup> Grmbl.
Simn has quit [Read error: Connection reset by peer]
<adrien_o1w> so you both managed to find IRC clients that don't handle private messages?
<Drup> I handle private messages perfectly well
<adrien_o1w> putting the blame entirely on AltGr; not very kind
<Drup> when irc is not a shitty protocol, which happen quite often
mort___ has quit [Quit: Leaving.]
<Drup> adrien_o1w: on irc*
<pippijn> irc is nice
<AltGr> well this account uses a gateway, which could quite possibly be broken ; but the other one uses a sane client...
<pippijn> it could use some minor improvements
<pippijn> in particular in DCC
<Drup> pippijn: like "switch to xmpp" sort of improvements ? :)
<pippijn> xmpp is nice, too
<pippijn> but xmpp has a different goal than irc
<Drup> not really.
<adrien_o1w> Drup: it looks like you're putting the blame of a bad implementation on the underlying technology; it's like saying that your code is not unreadable because of you but because OCaml is a bad language
<pippijn> it includes irc functionality
<pippijn> but it wants to be more than that
<pippijn> with buddy lists and presence notifications
<pippijn> xmpp isn't enough of an improvement over irc, though
<pippijn> I don't see the xml streaming mess as a protocol improvement
<Drup> you can't have netsplit, you have fast reconnection on connexion lost, you have delay messaging system
mcclurmc has joined #ocaml
<pippijn> you don't have built-in end to end encryption
<pippijn> to get that, you need an OTR client plugin or similar
<pippijn> SSL works the same as with IRC in that it decrypts and re-encrypts all messages on the server
<Drup> otr is in the standard, but yeah, not well implemented
<Drup> adrien_o1w: I will remind you this sentence the next time you rant about something :]
<adrien_o1w> Drup: alright, remember you cannot use it for gobject-introspection though ;-)
mort___ has joined #ocaml
<Antislash> Drup: well I tried with irssi /and/ mailed you :)
<Drup> yep, answering
<Kakadu_> I think that IRC can't deliver (later) messages to user which is offline. Am I missing something?
<adrien_o1w> nope; and it apparently doesn't like some people ;p
<Drup> it doesn't like bad connection, too. ;)
<Antislash> Drup: yeah, that's why I switched to that xmpp gateway: irc was unusable at that moment because I was behind a totally unreliable wifi
<pippijn> I'll start using xmpp when someone makes a usable linux client that supports video and voice transmission
Drup has quit [Read error: Operation timed out]
Yoric has quit [Ping timeout: 252 seconds]
mort___ has quit [Quit: Leaving.]
Antislash has quit [Quit: Konversation terminated!]
Drup has joined #ocaml
talzeus_ has joined #ocaml
q66_ has joined #ocaml
q66 has quit [Ping timeout: 252 seconds]
csakatoku has joined #ocaml
rand000 has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
Kakadu has joined #ocaml
Kakadu_ has quit [Ping timeout: 265 seconds]
zpe has quit [Ping timeout: 272 seconds]
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
nisstyre has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
amirmc has joined #ocaml
nojb has quit [Quit: nojb]
Yoric has joined #ocaml
ollehar has joined #ocaml
nojb has joined #ocaml
ocp has quit [Ping timeout: 272 seconds]
peterbb has quit [Ping timeout: 252 seconds]
Yoric has quit [Ping timeout: 245 seconds]
cago has left #ocaml []
strobegen has joined #ocaml
mika1 has quit [Quit: Leaving.]
shinnya has joined #ocaml
w0rm_x has quit [Quit: if Φ Σ e : φ then Φ Σ τ' → σ' :: ∃]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 265 seconds]
nojb has quit [Quit: nojb]
peterbb has joined #ocaml
CalimeroTeknik has joined #ocaml
<CalimeroTeknik> hello!
<CalimeroTeknik> I'm wondering what ocamlfind is trying to do: "ocamlfind: /usr/lib/ocaml/ld.conf: Permission denied"
<adrien_o1w> when doing what?
<CalimeroTeknik> I'm packaging, actually
<adrien_o1w> and you're trying to use DESTDIR? :)
<adrien_o1w> you need a couple special steps
<CalimeroTeknik> oh, no, there is an option -installdir
<adrien_o1w> no
<adrien_o1w> look at http://notk.org/~adrien/ocaml/slackbuilds/ocaml-lablgtk-react.SlackBuild ; the interesting block starts with OCAMLFIND_DESTDIR
<CalimeroTeknik> ah, was it a bad idea to use it?
<adrien_o1w> (it's for an oasis build system btw)
<CalimeroTeknik> oh. thank you!
<adrien_o1w> for some packages you might have to use both OCAMLFIND_DESTDIR and the regular DESTDIR
<CalimeroTeknik> DESTDIR doesn't seem to be used here, with zarith
Yoric has joined #ocaml
<Drup> CalimeroTeknik: for a very little moment, I actually believe you were there to try ocaml :D
<Drup> (hi ;))
<CalimeroTeknik> howdy :)
<adrien_o1w> DESTDIR will be if there are non-library files: binaries (for bin/), documentation, files in share/ ...
<CalimeroTeknik> (that time will come, Drup)
moro_home has quit [Read error: Connection reset by peer]
<CalimeroTeknik> (when I finally understand what 'monad' means, that is, and no guide seems to help me to)
<adrien_o1w> monad? this is #ocaml, not #ghc
<gour> lol
<CalimeroTeknik> is that to say ocaml doesn't have this kind of thing?
<gour> in reduced quantity
<adrien_o1w> no, that we don't write monad tutorials every week
<CalimeroTeknik> OCAMLFIND_DESTDIR="${pkgdir}/usr/lib/ocaml" make install doesn't change the fact that ocamlfind is trying to change the file in /usr… hmm
<gour> adrien_o1w: kino developer is writing new app names 'shotcut' - another example of gtk --> qt migration
<gour> *named
<Drup> CalimeroTeknik: yeah, you don't really monads to program in ocaml, contrary to haskell
<companion_cube> need? use?
<CalimeroTeknik> you don't monads/
<adrien_o1w> gour: I'm one of the first to say that the GTK+ devs are making their best to kill this toolkit; thing was and still is that it's the best compromise on portability, ease of binding, documentation, ...
<adrien_o1w> that said, I really want to get something with the EFLs
<adrien_o1w> but I believe that porting lablgtk -> ocaml-efl will not be difficult
csakatoku has joined #ocaml
<adrien_o1w> provided programs rely on the higher-level API
<adrien_o1w> lablgtk API*
<adrien_o1w> CalimeroTeknik: zarith uses oasis?
<adrien_o1w> companion_cube: the haskell community could turn "monad" into a verb ;-)
<CalimeroTeknik> grep -ri oasis on its sources gives nothing
<adrien_o1w> more than that, it's a way of life ;p
<adrien_o1w> CalimeroTeknik: stat setup.ml
<CalimeroTeknik> there is no such file in the sources
Drup has quit [Ping timeout: 245 seconds]
<CalimeroTeknik> regardless, maybe I should find an environment variable that changes the value of -ldconf
<CalimeroTeknik> it worked!
moro_home has joined #ocaml
nikki93 has joined #ocaml
Kakadu has quit [Read error: No route to host]
Kakadu_ has joined #ocaml
csakatoku has quit [Ping timeout: 245 seconds]
MoHaX has joined #ocaml
Kakadu_ has quit [Read error: Connection reset by peer]
<ollehar> is there no syntax extension that guesses the module from the type, so I could write
<ollehar> my_list:length
<ollehar> ?
<ollehar> or maybe `my_list::length`
cesar_ has joined #ocaml
cesar_ is now known as Guest98090
Guest98090 has quit [Remote host closed the connection]
<mrvn> my_list#length
<adrien_o1w> CalimeroTeknik: hmm, what did you do for the ld.conf thing? now I think I remember: you need to have mkdir -p "$OCAMLFIND_DESTDIR"
<CalimeroTeknik> that I did; no problem.
<CalimeroTeknik> easy to figure out
<CalimeroTeknik> https://aur.archlinux.org/packages/za/zarith/PKGBUILD → OCAMLFIND_LDCONF=ignore make install
<CalimeroTeknik> since I'm installing in the default system package dir
<adrien_o1w> I'm surprised you needed that
<CalimeroTeknik> no need to add any custom dir
Simn has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
boogie has joined #ocaml
tobiasBora has joined #ocaml
yezariaely has quit [Quit: Leaving.]
MoHaX has quit [Remote host closed the connection]
djcoin_ has quit [Quit: WeeChat 0.4.1]
w0rm_x has joined #ocaml
mcclurmc has quit [Quit: Leaving.]
robink has quit [Quit: No Ping reply in 180 seconds.]
robink has joined #ocaml
amirmc has quit [Quit: Leaving.]
weie has quit [Quit: Leaving...]
AltGr has left #ocaml []
mcclurmc has joined #ocaml
dsheets has quit [Ping timeout: 272 seconds]
mcclurmc has quit [Client Quit]
mcclurmc has joined #ocaml
chrisdotcode has joined #ocaml
tobiasBora has quit [Ping timeout: 240 seconds]
mcclurmc1 has joined #ocaml
mcclurmc1 has quit [Client Quit]
mcclurmc1 has joined #ocaml
mcclurmc1 is now known as snoosnoo
snoosnoo is now known as snoosnoo098324
snoosnoo098324 is now known as lksjdf
mcclurmc has quit [Ping timeout: 248 seconds]
lksjdf is now known as mcclurmc
csakatoku has joined #ocaml
mchqwerty has quit [Ping timeout: 246 seconds]
csakatoku has quit [Ping timeout: 272 seconds]
nojb has joined #ocaml
nojb has left #ocaml []
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 248 seconds]
mcclurmc has quit [Quit: Leaving.]
zacts has joined #ocaml
tobiasBora has joined #ocaml
manizzle has quit [Ping timeout: 272 seconds]
nikki93 has quit [Remote host closed the connection]
ggole has quit []
yezariaely has joined #ocaml
ulfdoz has joined #ocaml
dsheets has joined #ocaml
MoHaX has joined #ocaml
nikki93 has joined #ocaml
caseyjames has joined #ocaml
<caseyjames> Does anyone know how to go about mapping over a SQLite 3 select?
<adrien> aren't there already bindings?
manizzle has joined #ocaml
<caseyjames> the tests show it in an imperative context. I wasn't sure how to fold etc
Simn has quit [Quit: Leaving]
<flux> 1) retrieve values as a list or vector 2) fold etc?
nikki93 has quit [Remote host closed the connection]
<caseyjames> retrieve values as a list
<flux> so that's the problem?
<caseyjames> I guess I'm not seeing where the list is being created in the code.
<flux> well, once you've executed a statement (I think) you can use data_count, column_count, row_data
<flux> that uses sqlite3
<flux> it's more complicated that those, though..
<flux> tagDb.ml is the interesting part, it has a pattern for doing stuff
<caseyjames> Cool, I'll dig into that now. would row_data be run on the 'sql' from line 37?
<caseyjames> ahh I'll look at that now.
<flux> good luck :)
Arsenik has quit [Read error: Connection reset by peer]
manizzle has quit [Quit: Leaving]
manizzle has joined #ocaml
chrisdotcode has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
nikki93 has joined #ocaml
MoHaX has quit [Ping timeout: 248 seconds]
Neros has quit [Ping timeout: 272 seconds]
Kakadu has joined #ocaml
zpe has quit [Ping timeout: 265 seconds]
Kakadu has quit [Remote host closed the connection]
<caseyjames> flux: most of this code makes sense to me. What is this [|Data.TEXT key; Data.TEXT value|] -> Is sqlite returning an array for each row?
<flux> yes
<flux> and in this case I know it returns two columns
<flux> both text
<caseyjames> Oh, the formatting is strange. The parenthesis hide obscure the idea that Rc.ROW | Rc.DONE are a type. That makes more sense. Did you write this?
<flux> I wrote tagger, yes
rand000 has quit [Quit: leaving]
MoHaX has joined #ocaml
nikki93 has quit [Remote host closed the connection]
darkf has joined #ocaml
stevej has quit [Read error: Connection reset by peer]
luke_ has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
MoHaX has quit [Ping timeout: 245 seconds]
zacts has quit [Quit: leaving]
zacts has joined #ocaml
yezariaely has quit [Quit: Leaving.]
thelema has quit [Remote host closed the connection]
_andre has quit [Quit: leaving]
thelema has joined #ocaml
Neros has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
ocp has joined #ocaml
ocp has quit [Read error: Connection reset by peer]
ocp1 has joined #ocaml
mcclurmc has joined #ocaml
tane has quit [Quit: Verlassend]
tane has joined #ocaml
steshaw has joined #ocaml
Neros has quit [Read error: Connection reset by peer]
thelema has quit [Remote host closed the connection]
Neros has joined #ocaml
thelema has joined #ocaml
ollehar has joined #ocaml
stevej has joined #ocaml
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
tobiasBora has quit [Quit: Konversation terminated!]
q66_ has quit [Quit: Leaving]
ulfdoz has joined #ocaml
tani has joined #ocaml
tane has quit [Read error: Operation timed out]
gour has quit [Quit: WeeChat 0.4.1]
peterbb has quit [Ping timeout: 272 seconds]
Drup has joined #ocaml
<Drup> companion_cube: to answer your question 6 hours ago : both ? :]
<companion_cube> heh
Drup has quit [Client Quit]
Drup has joined #ocaml
Drup has quit [Client Quit]
Drup has joined #ocaml
Neros has quit [Quit: No Ping reply in 180 seconds.]
ocp1 has quit [Ping timeout: 272 seconds]
Drup has quit [Quit: Leaving.]
Drup has joined #ocaml
chrisdotcode has joined #ocaml
mcclurmc has quit [Quit: Leaving.]
strobegen has quit [Quit: Leaving.]
<j0sh> can the parser from the Stream module be used with lwt?
<j0sh> in particular i'd like to pass in a network fd (wrapped in lwt) and parse that using parser
chrisdotcode_ has joined #ocaml
chrisdotcode_ has quit [Remote host closed the connection]
chrisdotcode has quit [Ping timeout: 241 seconds]
peterbb has joined #ocaml
manizzle has quit [Ping timeout: 256 seconds]
Drup has quit [Ping timeout: 265 seconds]
Drup has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
manizzle has joined #ocaml
wolfnn has quit [Ping timeout: 246 seconds]
breakds has joined #ocaml
mcclurmc has joined #ocaml
nikki93 has joined #ocaml
Yoric has quit [Ping timeout: 245 seconds]
tani has quit [Quit: Verlassend]
cthuluh has quit [Read error: Operation timed out]