adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
kleisli has quit [Ping timeout: 268 seconds]
spew has quit [Quit: Connection closed for inactivity]
smazga has quit [Quit: leaving]
rosterok has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
kleisli has joined #ocaml
nullifidian_ has joined #ocaml
kleisli has quit [Client Quit]
kleisli has joined #ocaml
nullifidian has quit [Ping timeout: 268 seconds]
nicolaus has joined #ocaml
<nicolaus> Hi, good day, are there any guides/documentation on how to connect to a postgresql with ocaml code?
<nicolaus> I am doing it via localhost for now
sarna has quit [Quit: bye]
sarna has joined #ocaml
gahr has quit [Read error: Connection reset by peer]
gahr has joined #ocaml
keep-learning[m] has quit [Ping timeout: 264 seconds]
flux has quit [Ping timeout: 264 seconds]
FreeBirdLjj has joined #ocaml
olle has quit [Ping timeout: 265 seconds]
Haudegen has joined #ocaml
olle has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
keep_learning has quit [Remote host closed the connection]
mahmudov has quit [Remote host closed the connection]
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
mfp has quit [Ping timeout: 248 seconds]
FreeBird_ has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
wingsorc has quit [Ping timeout: 260 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 268 seconds]
mbuf has joined #ocaml
kamog has joined #ocaml
kleisli has quit [Ping timeout: 240 seconds]
porchetta has quit [Ping timeout: 240 seconds]
porchetta has joined #ocaml
kleisli has joined #ocaml
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
rosterok has quit [Quit: Connection closed for inactivity]
dborisog has joined #ocaml
oni-on-ion has quit [Ping timeout: 260 seconds]
jao has quit [Ping timeout: 265 seconds]
gravicappa has joined #ocaml
<nicolaus> Hi, has anyone tried PGOCaml? I have installed all the necessary libraries but still not able to compile code with PGOcaml in it
kjak has quit [Ping timeout: 268 seconds]
vicfred has joined #ocaml
<kleisli> hey all, i'm getting the error "fatal error: gmp.h: No such file or directory" when installing the cryptokit package through opam. i'm on debian and i have libgmp-dev installed. have verified that gmp.h is in /usr/include/x86_64-linux-gnu/. any ideas why this might be?
sailor177354 has joined #ocaml
narimiran has joined #ocaml
ollehar has joined #ocaml
sailor177354 has quit [Quit: Leaving]
jnavila has joined #ocaml
kleisli has quit [Ping timeout: 240 seconds]
vicfred has quit [Ping timeout: 265 seconds]
vicfred has joined #ocaml
ygrek_ has joined #ocaml
Serpent7776 has joined #ocaml
ggole has joined #ocaml
ziyourenxiang has quit [Quit: Leaving]
rcabaco has joined #ocaml
<Leonidas> nicolaus: you need to have postgres running to use pgocaml, since it needs to talk to postgres to determine the schema
bytesighs has quit []
bytesighs has joined #ocaml
mbuf has quit [Quit: Leaving]
<Leonidas> hmm, Alcotest_lwt.run seems to be gone? Or am I doing something wrong?
<madroach> Leonidas: the Lwt interface did change a while ago. Maybe it was now released?
Serpent7776 has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
jeroud has quit []
Serpent7776 has quit [Remote host closed the connection]
mfp has joined #ocaml
jeroud has joined #ocaml
Serpent7776 has joined #ocaml
Serpent7776 has quit [Ping timeout: 272 seconds]
Serpent7776 has joined #ocaml
jyc_ has quit []
jyc_ has joined #ocaml
dhil has joined #ocaml
<nicolaus> Leonidas: It is not seen by the ocaml compiler yet because I get unbound module PGOcaml
<nicolaus> I also have postgres already installed and running
<nicolaus> on localhost
rgrinberg has quit []
rgrinberg has joined #ocaml
kakadu has joined #ocaml
kakadu_ has quit [Ping timeout: 260 seconds]
bitonic has quit []
bitonic has joined #ocaml
<dborisog> nicolaus: I ocsigen-start uses PGOcaml, if you have ocsigen-start working, then the sample queries are compiles and likely executed properly. Meaning, if you have ocsigen-start working and your project not-working because of problems with PGOcaml, it likely means you have a bug or incompleteness in the code.
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 268 seconds]
<dborisog> My initial problem with PGOcaml SQL queries was syntax problems with arguments I passing from function to "SQL script". Please have a look at working example that takes on argument.
<dborisog> let country_info ccode =
<dborisog> [%pgsql dbh "
<dborisog> full_transaction_block (fun dbh ->
<dborisog> SELECT c.code, c.name
<dborisog> FROM stateruler.country c
<dborisog> WHERE c.code = $ccode" ])
FreeBird_ has quit [Ping timeout: 265 seconds]
FreeBirdLjj has joined #ocaml
kakadu has joined #ocaml
kakadu_ has quit [Ping timeout: 272 seconds]
kakadu has quit [Remote host closed the connection]
kakadu has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
kakadu has quit [Ping timeout: 240 seconds]
kakadu_ has joined #ocaml
kakadu_ has quit [Ping timeout: 265 seconds]
Haudegen has quit [Quit: Bin weg.]
dhil has joined #ocaml
lynn has quit []
lynn has joined #ocaml
<prsafont[m]> madroach alcotest 1.0 is not out yetAFAIK
<nicolaus> dorisborg: can i see your opam list? I just want to check the versions of the libraries including ocaml and pgocaml
<nicolaus> thank you btw
kakadu_ has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
<dborisog> nicolaus: ocaml-base-compiler.4.07.1; pgocaml 3.2; ocsigen-start 2.4.0; ocsigen-toolkit 2.3.2
spew has joined #ocaml
Haudegen has joined #ocaml
nicolaus has quit [Quit: Lost terminal]
<dborisog> If I remember correctly, this thread was instrumental for ocsigen-start initialization. In my project, I reused its DB mechanics.
spew has quit [Client Quit]
spew has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
angerman has quit []
angerman has joined #ocaml
oni-on-ion has joined #ocaml
decentpenguin has joined #ocaml
tane has joined #ocaml
kleisli has joined #ocaml
sailor177354 has joined #ocaml
sailor177355 has joined #ocaml
sailor177354 has quit [Ping timeout: 268 seconds]
Serpent7776 has quit [Quit: Leaving]
rgrinberg has quit [Excess Flood]
rgrinberg has joined #ocaml
wildsebastian has quit []
wildsebastian has joined #ocaml
sailor177354 has joined #ocaml
sailor177355 has quit [Ping timeout: 240 seconds]
sailor177355 has joined #ocaml
sailor177354 has quit [Ping timeout: 265 seconds]
dhil has joined #ocaml
smazga has joined #ocaml
decentpenguin has quit [Quit: decentpenguin]
ollehar has quit [Ping timeout: 240 seconds]
Haudegen has quit [Quit: Bin weg.]
Guest80 has joined #ocaml
Guest80 has quit [Client Quit]
Steganos has joined #ocaml
Steganos has left #ocaml [#ocaml]
zolk3ri has joined #ocaml
vicfred has quit [Quit: Leaving]
nullifidian__ has joined #ocaml
nullifidian_ has quit [Ping timeout: 265 seconds]
Haudegen has joined #ocaml
sagax has quit [Remote host closed the connection]
kakadu_ has quit [Remote host closed the connection]
jao has quit [Ping timeout: 268 seconds]
kjak has joined #ocaml
kjak_ has joined #ocaml
kjak_ has left #ocaml [#ocaml]
ggole has quit [Quit: Leaving]
Hrundi_V_Bakshi has joined #ocaml
kakadu has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
sailor177355 has quit [Ping timeout: 268 seconds]
sailor177355 has joined #ocaml
andreas303 has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 256 seconds]
tsuyoshi has quit [Quit: bye]
dborisog has quit [Ping timeout: 265 seconds]
wingsorc has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
wingsorc has quit [Read error: Connection reset by peer]
kamog has quit [Remote host closed the connection]
sailor177355 has quit [Quit: Leaving]
sagax has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
wingsorc has joined #ocaml
andreas303 has joined #ocaml
gravicappa has quit [Ping timeout: 240 seconds]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
mahmudov has joined #ocaml
kakadu has quit [Remote host closed the connection]
serge has quit [Remote host closed the connection]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
vicfred has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
tane has quit [Quit: Leaving]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml