enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
<thelema>
hcarty: building a string character by character is exactly buffer's intended purpose
myu2_ has quit [Remote host closed the connection]
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
pad has joined #ocaml
pad has quit [Remote host closed the connection]
M| has quit [Ping timeout: 264 seconds]
M| has joined #ocaml
neorab has quit [Quit: WeeChat 0.3.2]
typemore has joined #ocaml
<typemore>
is ocaml itself written in ocaml?
myu2 has quit [Remote host closed the connection]
jeddhaberstro has quit [Quit: jeddhaberstro]
typemore is now known as typemore_
typemore_ is now known as typemore
prince has quit [Quit: 전 이만 갑니다.]
typemore has left #ocaml []
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
fraggle_ has quit [Ping timeout: 276 seconds]
ulfdoz has joined #ocaml
ntaylor has left #ocaml []
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
mjsor has joined #ocaml
Amorphous has quit [Ping timeout: 248 seconds]
oc13 has joined #ocaml
Amorphous has joined #ocaml
mjsor has quit [Quit: mjsor]
ulfdoz has quit [Read error: Operation timed out]
myu2 has joined #ocaml
ygrek has joined #ocaml
segmond has joined #ocaml
ttamttam has joined #ocaml
oriba has joined #ocaml
myu2 has quit [Quit: Leaving...]
oc13 has quit [Ping timeout: 260 seconds]
mjonsson has quit [Ping timeout: 252 seconds]
ftrvxmtrx has quit [Quit: Leaving]
segmond has quit [Ping timeout: 272 seconds]
albacker has joined #ocaml
Yoric has joined #ocaml
oriba has quit [Quit: Verlassend]
oc13 has joined #ocaml
ftrvxmtrx has joined #ocaml
danicampa90 has joined #ocaml
danicampa90 has quit [Client Quit]
danicampa90 has joined #ocaml
danicampa90 has quit [Remote host closed the connection]
danicampa90 has joined #ocaml
ikaros has joined #ocaml
Associat0r has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
caligula_ has quit [Read error: Connection reset by peer]
caligula_ has joined #ocaml
fschwidom has joined #ocaml
sepp2k has joined #ocaml
danicampa90 has quit [Ping timeout: 276 seconds]
danicampa90 has joined #ocaml
barismetin has joined #ocaml
_andre has joined #ocaml
avsm has joined #ocaml
f[x] has quit [Ping timeout: 265 seconds]
Yoric has quit [Read error: Connection reset by peer]
Yoric_ has joined #ocaml
Yoric_ is now known as Yoric
ttamttam has quit [Quit: Leaving.]
_unK has joined #ocaml
Yoric has quit [Quit: Yoric]
ttamttam has joined #ocaml
danicampa90 has quit [Quit: goodbye!]
barismetin has quit [Quit: Leaving...]
npouillard has quit [Ping timeout: 240 seconds]
npouillard has joined #ocaml
Yoric has joined #ocaml
caligula_ has quit [Remote host closed the connection]
caligula_ has joined #ocaml
ygrek has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ikaros has joined #ocaml
boscop has joined #ocaml
derdon has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
<hcarty>
thelema: Thanks - I've only recently had a reason to use the Buffer module
ccasin has joined #ocaml
fraggle_ has joined #ocaml
Yoric_ has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric_ is now known as Yoric
jimmyb2187 has left #ocaml []
jimmyb2187 has joined #ocaml
neorab has joined #ocaml
mlh has quit [Remote host closed the connection]
segmond has joined #ocaml
oriba has joined #ocaml
oriba_ has joined #ocaml
ttamttam has quit [Quit: Leaving.]
oriba has quit [Ping timeout: 260 seconds]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
oriba_ has left #ocaml []
derdon has quit [Ping timeout: 265 seconds]
_unK has quit [Remote host closed the connection]
Yoric has quit [Quit: Yoric]
Yoric has joined #ocaml
jeddhaberstro has joined #ocaml
valross has quit [Remote host closed the connection]
derdon has joined #ocaml
aberghage has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
Submarine has joined #ocaml
lxnay|lappie has quit [Ping timeout: 252 seconds]
fraggle_ has quit [Quit: -ENOBRAIN]
neorab has quit [Ping timeout: 276 seconds]
ikaros has quit [Quit: Leave the magic to Houdini]
fraggle_ has joined #ocaml
aberghage has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
travisbrady has joined #ocaml
neorab has joined #ocaml
Submarine has quit [Read error: Operation timed out]
sepp2k has quit [Remote host closed the connection]
aberghage has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ttamttam has joined #ocaml
albacker has quit [Disconnected by services]
avsm has quit [Quit: Leaving.]
ttamttam has quit [Ping timeout: 276 seconds]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 258 seconds]
ttamttam has joined #ocaml
Yoric has quit [Quit: Yoric]
jeddhaberstro has quit [Ping timeout: 264 seconds]
jeddhaberstro has joined #ocaml
ttamttam has quit [Ping timeout: 276 seconds]
ttamttam has joined #ocaml
segmond has quit [Quit: Leaving]
segmond has joined #ocaml
Submarine has joined #ocaml
ulfdoz has joined #ocaml
boscop_ has left #ocaml []
boscop has joined #ocaml
aberghage has quit [Ping timeout: 265 seconds]
sepp2k has joined #ocaml
_unK has joined #ocaml
avsm has joined #ocaml
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 264 seconds]
ttamttam has quit [Quit: Leaving.]
ftrvxmtrx has joined #ocaml
pad has joined #ocaml
avsm has quit [Ping timeout: 265 seconds]
lxnay has joined #ocaml
ztfw has joined #ocaml
Yoric has joined #ocaml
sepp2k has joined #ocaml
sepp2k1 has quit [Ping timeout: 252 seconds]
sepp2k has quit [Ping timeout: 265 seconds]
sepp2k has joined #ocaml
sepp2k1 has joined #ocaml
sepp2k1 has quit [Client Quit]
<hcarty>
Has a fix/workaround been found for Camomile's hard-coded data file paths?
sepp2k has quit [Ping timeout: 265 seconds]
<hcarty>
I have a Batteries-using binary I would like to copy from one system to another without rebuilding the entire toolchain, but the binary fails on the new system because the old system's Camomile directory structure does not exist.
<det>
Only difference is using "and" instead of "let" for function definition
derdon has quit [Ping timeout: 264 seconds]
_unK has quit [Read error: Connection reset by peer]
schmx has quit [Ping timeout: 264 seconds]
schmx has joined #ocaml
schmx has quit [Changing host]
schmx has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
noj has quit [Ping timeout: 248 seconds]
noj has joined #ocaml
ulfdoz has quit [Read error: Operation timed out]
<travisbrady>
I have some functions that operate on Sets that would be identical but for the fact that the sets are of different type. I know first class modules are coming in 3.12, but is there some way to solve this problem now w/o duplicating code?
<gildor>
travisbrady: use functors ?
<travisbrady>
gildor: could you be more specific? I haven't used them previously.
<gildor>
travisbrady: you first !
<gildor>
travisbrady: tell me what you want to do precisely
<travisbrady>
I have a float -> int map and I want to decrement the int and if the result of that is 0 then I want to remove it
noj has quit [Ping timeout: 240 seconds]
<travisbrady>
the duplication comes from the fact that I have two versions of the FloatMap module, one ascending and one descending in order. (ie let compare = compare vs let compare = flip compare)
<mfp>
travisbrady: something like module ExtMap(O: Map.OrderedType) = struct include Map.Make(O) let foo k m = try let n = find k m in if n > 1 then add k (n-1) m else remove k m with Not_found -> m end
<mfp>
then module FloatMap = struct type t = xxx let compare = compare end module FloatMap' = struct type t = xxx let compare = flip compare end
<mfp>
oops
<mfp>
FloatMap = ExtMap(struct ... end) of course
<travisbrady>
mfp: what is the O in the first part?
noj has joined #ocaml
<mfp>
the OrderedType
<mfp>
i.e. the module over which you functorize
<mfp>
(that is, the one holding type t and compare : t -> t -> int in this case)