mayhem has left #ocaml []
lodewijk has joined #ocaml
lodewijk has quit ["BitchX for president."]
GreyLensman has joined #ocaml
monochrom has joined #ocaml
mlh has joined #ocaml
GreyLensman has quit ["Leaving"]
monochrom has quit ["hello"]
CosmicRay has joined #ocaml
Maldoror has quit [Client Quit]
Submarine has joined #ocaml
Hanji has quit ["Kentes++"]
jason_ has joined #ocaml
jason_ has quit [Client Quit]
TheDracle has quit [Read error: 113 (No route to host)]
mrvn has joined #ocaml
mrvn_ has quit [Read error: 110 (Connection timed out)]
CosmicRay has quit ["Client exiting"]
jrh has joined #ocaml
<
jrh>
some body know AML program
jrh has left #ocaml []
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
Herrchen has joined #ocaml
Submarine has quit ["Leaving"]
vezenchio has joined #ocaml
Submarine has joined #ocaml
mlh has quit ["american beauty time"]
Demitar has joined #ocaml
smimou has joined #ocaml
two-face has joined #ocaml
Submarine has quit ["Leaving"]
gim has joined #ocaml
srv has quit [Read error: 104 (Connection reset by peer)]
srv has joined #ocaml
two-face has quit [Read error: 110 (Connection timed out)]
two-face has joined #ocaml
dan2 has joined #ocaml
<
dan2>
anybody in here use libdbi ocaml
<
Demitar>
You're probably better of asking your real question anyway.
<
dan2>
Demitar: I built a custom top with the ENTIRE dba library loaded
<
dan2>
yet when i try to follow the directions to use it
<
dan2>
Module Dbi_postgres doesn't exist
<
dan2>
# module DB = Dbi_postgres;;
<
dan2>
Unbound module Dbi_postgres
<
dan2>
wtf is up with that
<
dan2>
it also says Dbi doesn't exist
<
dan2>
but all are loaded in to the top
Submarine has joined #ocaml
<
Demitar>
How did you link the toplevel?
* mrvn_
always uses ocamlopt
<
dan2>
bah, hold on
<
dan2>
ocamlfind ocamlmktop -custom -o mytop -package dbi dbi.cma -package pcre pcre.cma \
<
dan2>
-package postgres postgres.cma dbi_postgres.cmo \
<
dan2>
-package mysql mysql.cma dbi_mysql.cmo \
<
dan2>
-package perl perl4caml.cma dbi_perl.cmo \
<
dan2>
/usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a
<
Demitar>
The quick way would be:
<
Demitar>
demitar@bubbles:~$ ledit -h .ledit.ocaml -x ocaml -I +dbi -I +postgres -I +pcre
<
Demitar>
Objective Caml version 3.08.1
<
Demitar>
# #load "postgres.cma";;
<
Demitar>
# #load "pcre.cma";;
<
Demitar>
# #load "dbi.cma";;
<
Demitar>
# #load "dbi_postgres.cmo";;
<
dan2>
I've already tried this
<
dan2>
it doesn't work
<
dan2>
hmm, now it works
<
dan2>
whats different thsi time
two-face has quit [Read error: 110 (Connection timed out)]
det has quit [Read error: 110 (Connection timed out)]
det has joined #ocaml
gim has quit [Read error: 113 (No route to host)]
gim has joined #ocaml
Riastrad1 has joined #ocaml
Riastradh has quit [Read error: 110 (Connection timed out)]
two-face has joined #ocaml
gim has quit [Read error: 113 (No route to host)]
monochrom has joined #ocaml
two-face has quit [Read error: 110 (Connection timed out)]
Riastrad1 is now known as Riastradh
pango has quit [Nick collision from services.]
pango has joined #ocaml
two-face has joined #ocaml
tautologico has joined #ocaml
gim has joined #ocaml
smimou has quit ["?"]
smimou has joined #ocaml
two-face has quit [Read error: 110 (Connection timed out)]
GreyLensman has joined #ocaml
Submarine has quit ["Leaving"]
gim has quit [Read error: 110 (Connection timed out)]
Riastradh has quit [Remote closed the connection]
Riastradh has joined #ocaml
Riastradh has quit [Remote closed the connection]
Riastradh has joined #ocaml
tautologico has quit []
GreyLensman has quit ["Leaving"]
m3ga has joined #ocaml
vezenchio has quit ["smile, Rakka ..."]
m3ga has quit ["Client exiting"]
mlh has joined #ocaml
malc_ has joined #ocaml
<
drz>
how do I make an array of objects? Array.make count (new classname ()) gets me an array of references to the same instance
<
Riastradh>
Use Array.init.
gim has joined #ocaml
<
drz>
ria: cool, thanks
budjet has joined #ocaml
budjet has quit [Remote closed the connection]