mrsolo has quit [Read error: 104 (Connection reset by peer)]
<Schmurtz>
when somebody will compile it...
Smerdyakov has joined #ocaml
vezenchio has quit ["\o/ in mochintin namocniuh \o/"]
Skal has quit [Remote closed the connection]
UziMonkey has quit [Remote closed the connection]
znutar has quit [Read error: 110 (Connection timed out)]
kinners has joined #ocaml
UziMonkey has joined #ocaml
noj has quit [brown.freenode.net irc.freenode.net]
threeve has quit []
o[WildChild]o has joined #ocaml
kinners has quit ["leaving"]
<Revision17>
is there any easy (maybe predone?) way to merge hash tables?
<Revision17>
hmm, I guess folding one into the other wouldn't be hard
<Smerdyakov>
I think hash tables are pretty deficient in general, in terms of enough functions to do things nicely with them.
<Smerdyakov>
I often use exceptions to build efficient operations out of fold.
<Revision17>
it'd be kinda cool if there were an efficient immutable hash table class in the standard library
<Smerdyakov>
I don't think anyone knows a way to create such an implementation.
<Smerdyakov>
Map provides the same ADT, too.
<Smerdyakov>
s/too/though
<Amorphous>
Revision17: what's wrong with Hashtbl.iter (....Hashtbl.add table2....) table
<Revision17>
with this being used for as the function passed to fold it worked well: let hash_join key value init = Hashtbl.add init key value; init;;
* Revision17
is still new to functional programming
<Smerdyakov>
Revision17, silly to use fold for that.... the folding doesn't change your accumulator.
<Revision17>
this is going to be used in a ocamlyacc parser; each level returns a hashtable to the previous level, and this seemed like the best way to avoid using side effects; there's probably a better way to do this though
<Smerdyakov>
You can't use hash tables without side effects.
Smerdyakov has quit []
o[WildChild]o has left #ocaml []
ionOS_ has joined #ocaml
ionOS_ has left #ocaml []
monochrom has quit ["good morning, sweet dream"]
Revision17 has quit [Connection timed out]
Revision17 has joined #ocaml
Revision17 has quit [Connection timed out]
UziMonkey has quit ["Leaving"]
pango_ has joined #ocaml
pango has quit [Read error: 110 (Connection timed out)]
BenoitXVI has joined #ocaml
petter_ has joined #ocaml
pango_ has quit [Remote closed the connection]
__DL__ has joined #ocaml
pango has joined #ocaml
kothog has quit [Read error: 110 (Connection timed out)]
UziMonkey has joined #ocaml
JohGro has joined #ocaml
Snark has joined #ocaml
<haakonn>
doesn't Map count as a hash table? and isn't that a side-effect-less module?
<mflux>
even though the standard graphics library is, well, somewhat poor for real-world stuff, it's great to have it because it's so simple to visualize algorithms ;)
<Pita>
Have you tried using BerkeleyDB with Ocaml?
<Pita>
I really like Lisp
<Pita>
but i got frustrated when it's hard to find modules and supports
<Pita>
What's a very good reading for starting caml very quickly?
<mflux>
many nice tutorials should be easily found with google