gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.1 http://bit.ly/nNVIVH
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
ulfdoz_ is now known as ulfdoz
mjonsson has joined #ocaml
smerz has quit [Remote host closed the connection]
<pippijn> why are custom operators &&~ and ||~ of the same precedence, but && and || are not?
<pippijn> http://paste.xinu.at/M4amx0/ocaml <- like this
<thelema> pippijn: Map.choose is for when you need a single element to start folding
<thelema> or for fold-like operations where you start with any element of the map, and do something to eliminate a bunch of other elements
<thelema> and then take another element, etc.
<thelema> pippijn: functional doesn't work well with hash
<pippijn> thelema: that's true
<pippijn> I guess I'll just make a build-once hash table that hides the mutating operations
<thelema> hmm, I'm not sure about ||~ and &&~; according to this they should be different precedence: http://caml.inria.fr/pub/docs/manual-ocaml/expr.html
<thelema> ah, n/m, it's because |... and &... have same precedence
<pippijn> oh
<pippijn> oh yeah.. =… <… >… |… &… $…
<pippijn> not nice
<pippijn> thelema: actually I knew that, but I am still wondering why
<thelema> pippijn: because that's how xavier decided it long ago, I think. I don't see any particular reason for it.
diego_diego has quit [Quit: diego_diego]
struktured has quit [Ping timeout: 248 seconds]
mjonsson has quit [Remote host closed the connection]
mudbutt has joined #ocaml
saml has joined #ocaml
<saml> hey, what's difference between class c = fun x -> object end;; and let c = fun x -> object end;; ?
<saml> is there reference for keywords like class, sig, mutable, .. etc?
<thelema> saml: one defines a class that can be inherited from, while the other defines an immediate object
<thelema> saml: I refer to this a lot: http://caml.inria.fr/pub/docs/manual-ocaml/index.html
<saml> thelema, ah thanks. i was reading manual too
<saml> is that the recommended primary source for beginners?
<saml> the manual, i mean. i like the tempo of manual.. but sometimes i want to dig deeper
<thelema> primary source is only the source code, which is not for beginners
<thelema> but the manual does hold pretty much every ocaml secret, you just have to read it correctly
<saml> source code of compiler?
<thelema> yes
<saml> is it that easy to read?
<thelema> well written, but not that heavily documented internally
<saml> i see.
<thelema> it's much smaller a source code than many similar compilers
<thelema> so it's definitely grokable if you have the background for it
<thelema> yes, the oreilly book is fine, it's just not a key reference.
<saml> ah thank you
<saml> is there package manager for ocaml? or do I install 3rd party libraries manually?
<thelema> odb and godi
BiDOrD has joined #ocaml
fraggle_laptop has quit [Remote host closed the connection]
<saml> hrm.. will odb replace godi once it is released?
<thelema> odb is released, but has much less grand visions than godi
<thelema> ignore all the huge "alpha" warnings on oasis-db
BiDOrD_ has quit [Ping timeout: 272 seconds]
<thelema> oasis-db is one package source for odb; odb can work from local files and remote "package" files
The_third_bug has quit [Ping timeout: 256 seconds]
oriba_ has quit [Quit: oriba_]
The_third_bug has joined #ocaml
saml has quit [Quit: Leaving]
MaskRay_ has joined #ocaml
MaskRay_ is now known as MaskRay
mcclurmc has quit [Ping timeout: 240 seconds]
mudbutt has quit [Remote host closed the connection]
sgnb has joined #ocaml
larhat has joined #ocaml
larhat has quit [Client Quit]
Tobu has quit [Ping timeout: 260 seconds]
Tobu has joined #ocaml
tmaeda has quit [Ping timeout: 248 seconds]
johnnowak has joined #ocaml
tmaeda has joined #ocaml
johnnowak has left #ocaml []
julien_t has quit [Ping timeout: 245 seconds]
Tobu has quit [Ping timeout: 260 seconds]
hto has joined #ocaml
Tobu has joined #ocaml
Zedrikov has joined #ocaml
ftrvxmtrx_ has joined #ocaml
roha has joined #ocaml
Cyanure has joined #ocaml
tufisi has joined #ocaml
err404 has joined #ocaml
avsm has joined #ocaml
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
ivan\ has joined #ocaml
tmaeda has quit [Quit: Quit Nadoka 0.8.1+git]
tmaeda has joined #ocaml
tufisi has quit [Ping timeout: 245 seconds]
roha has quit [Ping timeout: 248 seconds]
hiptobecubic has joined #ocaml
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
roha has joined #ocaml
ggherdov has joined #ocaml
hiptobecubic has quit [Ping timeout: 245 seconds]
err404 has quit [Remote host closed the connection]
Hussaind has joined #ocaml
itewsh has joined #ocaml
arquebus has joined #ocaml
iZsh has quit [Read error: Operation timed out]
avsm has quit [Quit: Leaving.]
iZsh has joined #ocaml
hiptobecubic has joined #ocaml
roha has quit [Ping timeout: 260 seconds]
tufisi has joined #ocaml
arquebus has quit [Remote host closed the connection]
ftrvxmtrx_ has quit [Ping timeout: 240 seconds]
err404 has joined #ocaml
djcoin has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
ftrvxmtrx_ has joined #ocaml
hiptobecubic has quit [Ping timeout: 245 seconds]
eni has joined #ocaml
Tobu has quit [Ping timeout: 260 seconds]
itewsh has quit [Quit: o/]
MaskRay has quit [Read error: Connection reset by peer]
MaskRay has joined #ocaml
eni has quit [Ping timeout: 260 seconds]
hiptobecubic has joined #ocaml
gnuvince has quit [Ping timeout: 244 seconds]
Kakadu has joined #ocaml
MaskRay has quit [Ping timeout: 252 seconds]
avsm has joined #ocaml
MaskRay has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
avsm has quit [Read error: No route to host]
avsm has joined #ocaml
mcclurmc_ has joined #ocaml
gnuvince has joined #ocaml
testcocoon has joined #ocaml
smerz has joined #ocaml
hiptobecubic has quit [Ping timeout: 245 seconds]
hiptobecubic has joined #ocaml
ggherdov has left #ocaml []
saml has joined #ocaml
mattrepl has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
testcocoon has joined #ocaml
mattrepl has quit [Quit: mattrepl]
sander_ has joined #ocaml
smondet has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
iago has joined #ocaml
mattrepl has joined #ocaml
testcocoon has joined #ocaml
mattrepl has quit [Quit: mattrepl]
djcoin has quit [Quit: WeeChat 0.3.2]
ggherdov has joined #ocaml
ggherdov has left #ocaml []
Pacane has quit [Remote host closed the connection]
Tobu has joined #ocaml
<jaxtr> ahh it's a wonderful day
<Qrntz> indeed
letrec has joined #ocaml
foocraft is now known as els
MaskRay has quit [Quit: leaving]
ulfdoz has quit [Ping timeout: 265 seconds]
letrec has quit [Quit: Konversation terminated!]
roha has joined #ocaml
iago has quit [Ping timeout: 260 seconds]
clog has quit [^C]
clog has joined #ocaml
ftrvxmtrx_ has quit [Read error: Connection reset by peer]
ftrvxmtrx_ has joined #ocaml
Cyanure has joined #ocaml
Transformer has joined #ocaml
Transformer has quit [Excess Flood]
larhat has joined #ocaml
hiptobecubic has quit [Ping timeout: 245 seconds]
ftrvxmtrx__ has joined #ocaml
Hussaind has quit [Quit: Konversation terminated!]
ftrvxmtrx_ has quit [Read error: Operation timed out]
Anonyme53710 has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
larhat has quit [Read error: Connection timed out]
larhat has joined #ocaml
cyphase has quit [Ping timeout: 246 seconds]
larhat has quit [Ping timeout: 244 seconds]
tchell has quit [Ping timeout: 244 seconds]
mehitabel has quit [Ping timeout: 240 seconds]
cyphase has joined #ocaml
err404 has quit [Remote host closed the connection]
avsm has quit [Quit: Leaving.]
err404 has joined #ocaml
Zedrikov has quit [Read error: Connection reset by peer]
hiptobecubic has joined #ocaml
Zedrikov has joined #ocaml
Zedrikov has quit [Remote host closed the connection]
misreckoning has joined #ocaml
misreckoning has left #ocaml []
zorun has quit [Quit: leaving]
zorun has joined #ocaml
snearch has joined #ocaml
tchell has joined #ocaml
mehitabel has joined #ocaml
avsm has joined #ocaml
zorun has quit [Quit: leaving]
zorun has joined #ocaml
The_third_bug has quit [Ping timeout: 246 seconds]
The_third_bug has joined #ocaml
mattrepl has joined #ocaml
r126f has quit [Ping timeout: 240 seconds]
r126f has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
bkheops has joined #ocaml
gnuvince has quit [Ping timeout: 256 seconds]
iago has joined #ocaml
roha has quit [Ping timeout: 248 seconds]
zaltekk has quit [Ping timeout: 240 seconds]
roha has joined #ocaml
dsheets has quit [Read error: Connection reset by peer]
dsheets has joined #ocaml
saml has quit [Quit: Leaving]
larhat has joined #ocaml
sivoais has joined #ocaml
gnuvince has joined #ocaml
smondet has quit [Remote host closed the connection]
snearch has quit [Quit: Verlassend]
oriba has joined #ocaml
larhat has quit [Read error: Connection timed out]
hiptobecubic has quit [Ping timeout: 260 seconds]
thelema_ has joined #ocaml
_xizor has joined #ocaml
pheredhel` has joined #ocaml
Anonyme53710 has quit [Ping timeout: 260 seconds]
sivoais has quit [Quit: Lost terminal]
tlockney_ has joined #ocaml
silver has quit [*.net *.split]
bobry has quit [*.net *.split]
krktz has quit [*.net *.split]
tlockney has quit [*.net *.split]
adrien has quit [*.net *.split]
pheredhel has quit [*.net *.split]
mattrepl has quit [*.net *.split]
avsm has quit [*.net *.split]
thelema has quit [*.net *.split]
hcarty has quit [*.net *.split]
joewilliams has quit [*.net *.split]
TaXules_ has quit [*.net *.split]
`micro has quit [*.net *.split]
gnuvince has quit [*.net *.split]
dsheets has quit [*.net *.split]
TDJACR has quit [*.net *.split]
ski has quit [*.net *.split]
IbnFirnas has quit [*.net *.split]
Tianon has quit [*.net *.split]
j2d2j2d2 has quit [*.net *.split]
nimred has quit [*.net *.split]
ccasin has quit [*.net *.split]
jonafan has quit [*.net *.split]
srcerer has quit [*.net *.split]
sander_ has quit [*.net *.split]
haelix has quit [*.net *.split]
Hodapp has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
companion_cube has quit [*.net *.split]
deavid has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
patronus has quit [*.net *.split]
roha has quit [*.net *.split]
cyphase has quit [*.net *.split]
svenl has quit [*.net *.split]
GPHemsley has quit [*.net *.split]
els has quit [*.net *.split]
othiym23 has quit [*.net *.split]
noamsml has quit [*.net *.split]
pou has quit [*.net *.split]
ousado has quit [*.net *.split]
mcclurmc_ is now known as mcclurmc
TaXules has joined #ocaml
MaskRay has joined #ocaml
Drakken has joined #ocaml
silver has joined #ocaml
Guest91324 has joined #ocaml
gnuvince has joined #ocaml
dsheets has joined #ocaml
avsm has joined #ocaml
j2d2j2d2 has joined #ocaml
TDJACR has joined #ocaml
ski has joined #ocaml
hcarty has joined #ocaml
bobry has joined #ocaml
IbnFirnas has joined #ocaml
Tianon has joined #ocaml
krktz has joined #ocaml
adrien has joined #ocaml
srcerer has joined #ocaml
jonafan has joined #ocaml
ccasin has joined #ocaml
nimred has joined #ocaml
mcclurmc is now known as 31NAA87MH
sander_ has joined #ocaml
haelix has joined #ocaml
Hodapp has joined #ocaml
hnrgrgr has joined #ocaml
companion_cube has joined #ocaml
deavid has joined #ocaml
Asmadeus has joined #ocaml
patronus has joined #ocaml
mattrepl has joined #ocaml
MaskRay is now known as Guest78347
srcerer has quit [Ping timeout: 245 seconds]
joewilliams has joined #ocaml
roha has joined #ocaml
cyphase has joined #ocaml
svenl has joined #ocaml
GPHemsley has joined #ocaml
els has joined #ocaml
othiym23 has joined #ocaml
noamsml has joined #ocaml
pou has joined #ocaml
ousado has joined #ocaml
roha has quit [Ping timeout: 276 seconds]
cyphase has quit [Max SendQ exceeded]
_xizor has quit [Ping timeout: 260 seconds]
smerz has quit [Read error: Connection reset by peer]
cyphase has joined #ocaml
sander_ has quit [Quit: Leaving]
srcerer has joined #ocaml
Zedrikov has joined #ocaml
els has quit [Ping timeout: 276 seconds]
els has joined #ocaml
mattrepl has quit [Quit: mattrepl]
patronus_ has joined #ocaml
haelix_ has joined #ocaml
hnrgrgr_ has joined #ocaml
deavidsedice has joined #ocaml
err404 has quit [Remote host closed the connection]
Hodapp_ has joined #ocaml
Asmadeus_ has joined #ocaml
Guest78347 has quit [Changing host]
Guest78347 has joined #ocaml
Asmadeus has quit [Disconnected by services]
Asmadeus_ is now known as Asmadeus
companio1_square has joined #ocaml
<Drakken> good evening camlrs :)
<Qrntz> good evening Drakken
Cyanure has quit [Read error: Connection reset by peer]
<Drakken> Does anyone know what's the best/simplest way to add functions modularly to a mutual recursion? The best I can think of is continuation passing.
haelix has quit [*.net *.split]
Hodapp has quit [*.net *.split]
hnrgrgr has quit [*.net *.split]
companion_cube has quit [*.net *.split]
deavid has quit [*.net *.split]
patronus has quit [*.net *.split]
letrec has joined #ocaml
caligula_ has joined #ocaml
gildor has joined #ocaml
TaXules_ has joined #ocaml
tlockney has joined #ocaml
thelema has joined #ocaml
r126f has quit [Ping timeout: 260 seconds]
caligula has quit [Remote host closed the connection]
gildor_ has quit [Ping timeout: 260 seconds]
TaXules has quit [Ping timeout: 260 seconds]
tlockney_ has quit [Ping timeout: 260 seconds]
r126f has joined #ocaml
deavid has joined #ocaml
maufred has joined #ocaml
bkheops has quit [Remote host closed the connection]
rossberg_ has joined #ocaml
Guest78347 has quit [Quit: Changing server]
fds_ has joined #ocaml
pollux_ has joined #ocaml
olasd_ has joined #ocaml
olasd_ has quit [Changing host]
olasd_ has joined #ocaml
olasd_ has quit [Client Quit]
jlouis_ has joined #ocaml
NaCl_ has joined #ocaml
habnabit has joined #ocaml
olasd_ has joined #ocaml
olasd_ has quit [Changing host]
olasd_ has joined #ocaml
olasd has quit [Disconnected by services]
olasd_ is now known as olasd
mal``` has joined #ocaml
ivan\_ has joined #ocaml
ivan\ has quit [Ping timeout: 272 seconds]
mal`` has quit [Ping timeout: 272 seconds]
thelema_ has quit [Ping timeout: 272 seconds]
maufred_ has quit [Ping timeout: 272 seconds]
pollux has quit [Ping timeout: 272 seconds]
fds has quit [Ping timeout: 272 seconds]
deavidsedice has quit [Ping timeout: 272 seconds]
rossberg has quit [Ping timeout: 272 seconds]
_habnabit has quit [Ping timeout: 272 seconds]
NaCl has quit [Ping timeout: 272 seconds]
jlouis has quit [Ping timeout: 272 seconds]
mal``` is now known as mal``
pollux_ is now known as pollux
ivan\_ is now known as ivan\
habnabit is now known as _habnabit
sivoais has joined #ocaml