<bluestorm_>
i tried to look quickly some of the doc
<bluestorm_>
and i didn't see any string escaping mechanism
olegfink has quit [Read error: 104 (Connection reset by peer)]
<bluestorm_>
but there should be some
olegfink has joined #ocaml
the_dormant_ has joined #ocaml
<flux>
well, atleast the postgresql-specific ocaml module has a quoting mechanism
<flux>
I don't recall if it was database connection-specific though, which might be a problem
the_dormant has quit [Read error: 110 (Connection timed out)]
tty56_ has quit [Read error: 104 (Connection reset by peer)]
rwmjones has joined #ocaml
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
descender has joined #ocaml
vital303 has joined #ocaml
vital303 has left #ocaml []
rwmjones has quit ["Closed connection"]
ygrek_ has joined #ocaml
ygrek has quit [Remote closed the connection]
<pango>
escaping sucks, placeholders is the way to go ;)
<Smerdyakov>
pango, why?
<Smerdyakov>
Oh, you don't mean "escaping" in the sense of quote/antiquote?
<pango>
I guess that's what bluestorm_ meant
<ulfdoz>
I think he means to use prepared statements and replace placeholders for arguments with checked data. This is pretty standard...
<Smerdyakov>
I know what they both mean, having implemented a domain-specific language that supports SQL via quoting and implements it in the compiler via prepared statements. :)
_JusSx_ has quit [Read error: 104 (Connection reset by peer)]
mikeX has joined #ocaml
ygrek_ has quit [Remote closed the connection]
sioraiocht has joined #ocaml
MarcWebe1 has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
MarcWeber has quit [Read error: 110 (Connection timed out)]
MarcWebe1 has quit ["leaving"]
slipstream has joined #ocaml
vital304 has joined #ocaml
vital304 has left #ocaml []
slipstream-- has quit [Read error: 110 (Connection timed out)]
<flux>
pango, yes, but you need to have working escaping in order to implement working queries
jao has joined #ocaml
the_dormant_ has quit []
benny_ has joined #ocaml
jeffs has joined #ocaml
noteventime has joined #ocaml
<jeffs>
learning camlp4 is painful
benny has quit [Read error: 110 (Connection timed out)]
the_dormant has joined #ocaml
ygrek has joined #ocaml
eumenides has quit [Read error: 104 (Connection reset by peer)]
<ygrek>
Hello, is there a way to print easily any expression? Without defining the function fiirst? Some generic function exist?
<ygrek>
The way toplevel does it
<mbishop>
G'Caml can do that, I believe
<mbishop>
Built-in ML value printer Gprint.print prints your ML value as if you were in toplevel. You no longer need to define trivial but boring printers by yourself.
<mbishop>
that's from the G'Caml website
<ygrek>
and no way in ocaml?
* ygrek
searches gcaml website
<mbishop>
nnot sure? perhaps what they suggest, and write your own?
ygrek has quit [Remote closed the connection]
eumenides has joined #ocaml
malc_ has joined #ocaml
ygrek has joined #ocaml
<ygrek>
Is there something I can do with "The external function `ml_gsl_strerror' is not available" when I do #load "gsl/gsl.cma" ;;
<ygrek>
?
<ygrek>
I am on windows
<ygrek>
mingw port with cygwin
<ygrek>
compiled gsl and ocamlgsl from sources
<Smerdyakov>
You probably need to build a toplevel with the right C objects linked.
<ygrek>
recompile ocaml from sources with libmlgsl.a..?
<ygrek>
I'll try..
kelaouchi has quit [kubrick.freenode.net irc.freenode.net]
hcarty has quit [kubrick.freenode.net irc.freenode.net]
danly has quit [kubrick.freenode.net irc.freenode.net]
kelaouchi has joined #ocaml
hcarty has joined #ocaml
danly has joined #ocaml
hcarty_ has joined #ocaml
danly_ has joined #ocaml
hcarty has quit [kubrick.freenode.net irc.freenode.net]
danly has quit [kubrick.freenode.net irc.freenode.net]
kelaouchi has quit [kubrick.freenode.net irc.freenode.net]
kelaouchi has joined #ocaml
JeffSmac has joined #ocaml
kelaouchi has quit [kubrick.freenode.net irc.freenode.net]
love-pingoo has quit ["home-cinéma"]
JeffSmac has quit [Client Quit]
kelaouchi has joined #ocaml
vital303 has joined #ocaml
mikeX_ has joined #ocaml
<noteventime>
Anyone read / saw that Python compiler that used OCaml as a target language?
mikeX has quit [Read error: 110 (Connection timed out)]
Submarine has quit ["Leaving"]
m3ga has quit ["disappearing into the sunset"]
tty56 has joined #ocaml
tty56 has quit [Client Quit]
tty56 has joined #ocaml
jeffs has left #ocaml []
the_dormant has quit ["Au revoir"]
screwt8 has quit [Read error: 104 (Connection reset by peer)]
danly_ is now known as danly
love-pingoo has joined #ocaml
zmdkrbou has quit [Remote closed the connection]
zmdkrbou has joined #ocaml
screwt8 has joined #ocaml
mikeX has joined #ocaml
ygrek has quit [Remote closed the connection]
smimou has quit ["bli"]
mikeX_ has quit [Read error: 110 (Connection timed out)]
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
descender has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
malc_ has quit ["leaving"]
mikeX_ has joined #ocaml
vital303 has quit ["Leaving."]
mikeX has quit [Read error: 110 (Connection timed out)]
mikeX has joined #ocaml
mikeX__ has joined #ocaml
mikeX_ has quit [Read error: 110 (Connection timed out)]
mikeX has quit [Read error: 110 (Connection timed out)]
mnemonic has quit ["leaving"]
bluestorm_ has quit [Remote closed the connection]