adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.00.1 http://bit.ly/UHeZyT | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
tac has joined #ocaml
dwmw2_SAT is now known as dwmw2
dwmw2 is now known as dwmw2_gone
RagingDave has quit [Quit: Ex-Chat]
alej has joined #ocaml
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
emmanuelux has quit [Remote host closed the connection]
silkwood has quit [Ping timeout: 248 seconds]
ski has quit [Ping timeout: 257 seconds]
tac has quit [Ping timeout: 245 seconds]
LukeSun has joined #ocaml
yacks has joined #ocaml
dwmw2_gone is now known as dwmw2_SAT
madroach has quit [Ping timeout: 248 seconds]
madroach has joined #ocaml
tac has joined #ocaml
weie has joined #ocaml
adotbrown has quit [Ping timeout: 245 seconds]
Playground has joined #ocaml
hongboz has joined #ocaml
tac has quit [Ping timeout: 245 seconds]
Playground is now known as lolcathost
adotbrown has joined #ocaml
<ben_zen> question-I have ocaml installed via macports on OS X, and it appears that the Thread module is broken; how can I fix this?
_tca has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 256 seconds]
lusory has joined #ocaml
ManAmongHippos has joined #ocaml
weie_ has joined #ocaml
weie has quit [Ping timeout: 252 seconds]
silkwood has joined #ocaml
yacks has joined #ocaml
areece has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
weie has joined #ocaml
weie_ has quit [Ping timeout: 252 seconds]
travisbrady has quit [Quit: travisbrady]
areece has joined #ocaml
tac has joined #ocaml
hongboz has quit [Ping timeout: 252 seconds]
tac-tics has joined #ocaml
tac has quit [Ping timeout: 245 seconds]
yacks has quit [Ping timeout: 248 seconds]
yacks has joined #ocaml
yacks has quit [Ping timeout: 246 seconds]
Cyanure has joined #ocaml
yacks has joined #ocaml
ski has joined #ocaml
weie has quit [Quit: Leaving...]
mye has joined #ocaml
adotbrown has quit [Ping timeout: 252 seconds]
Snark has joined #ocaml
silkwood has quit [Quit: Ex-Chat]
tac-tics has quit [Quit: Page closed]
cdidd has joined #ocaml
weie has joined #ocaml
lolcathost is now known as ahokaomaeha
mye has quit [Quit: mye]
mcclurmc has joined #ocaml
ulfdoz has joined #ocaml
mye has joined #ocaml
adotbrown has joined #ocaml
Kakadu has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
ManAmongHippos has quit [Quit: ManAmongHippos]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
ttamttam has joined #ocaml
adotbrown has quit [Ping timeout: 246 seconds]
AltGr has joined #ocaml
ftrvxmtrx_ has joined #ocaml
mye has quit [Quit: mye]
mye has joined #ocaml
cago has joined #ocaml
mika1 has joined #ocaml
mye_ has joined #ocaml
andreypopp has joined #ocaml
mye has quit [Ping timeout: 264 seconds]
mye_ is now known as mye
gour has joined #ocaml
areece has quit [Read error: Operation timed out]
areece has joined #ocaml
djcoin has joined #ocaml
chambart has joined #ocaml
thomasga has joined #ocaml
spearalot has joined #ocaml
tane has joined #ocaml
Yoric has joined #ocaml
hkBst has quit [Read error: Connection reset by peer]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
ontologiae has joined #ocaml
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
hkBst has quit [Read error: Connection reset by peer]
ahokaomaeha has joined #ocaml
hkBst has joined #ocaml
andreypopp has quit [Quit: sleep]
LukeSun has quit [Quit: Leaving.]
rixed has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
andreypopp has joined #ocaml
fraggle_ has joined #ocaml
dsheets1 has quit [Ping timeout: 245 seconds]
Submarine has joined #ocaml
RagingDave has joined #ocaml
dsheets has joined #ocaml
_andre has joined #ocaml
dsheets has quit [Ping timeout: 244 seconds]
cyball has joined #ocaml
jave_ has quit [Quit: ZNC - http://znc.in]
jave has joined #ocaml
Yoric has quit [Ping timeout: 252 seconds]
elixey has quit [Remote host closed the connection]
thomasga1 has joined #ocaml
thomasga has quit [Ping timeout: 245 seconds]
gour has quit [Disconnected by services]
gour_ has joined #ocaml
elixey has joined #ocaml
ttamttam has quit [Quit: ttamttam]
mye has quit [Quit: mye]
mcclurmc has quit [Ping timeout: 264 seconds]
mcclurmc has joined #ocaml
Cyanure has quit [Remote host closed the connection]
Submarine has quit [Quit: Leaving]
Snark has quit [Quit: Quitte]
andreypopp has quit [Quit: sleep]
darkf has quit [Quit: Leaving]
andreypopp has joined #ocaml
yacks has quit [Ping timeout: 252 seconds]
spearalot has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
Cyanure has joined #ocaml
RagingDave has quit [Quit: Ex-Chat]
yacks has joined #ocaml
andreypopp has quit [Quit: sleep]
leoncamel has joined #ocaml
Cyanure has quit [Remote host closed the connection]
Kakadu has quit []
q66 has joined #ocaml
mcclurmc has quit [Ping timeout: 244 seconds]
mye has joined #ocaml
mcclurmc has joined #ocaml
hkBst has quit [Read error: Connection reset by peer]
hkBst has joined #ocaml
hkBst has quit [Changing host]
hkBst has joined #ocaml
travisbrady has joined #ocaml
andreypopp has joined #ocaml
smondet has joined #ocaml
travisbrady has quit [Quit: travisbrady]
travisbrady has joined #ocaml
lusory has quit [Read error: Connection reset by peer]
ttamttam has joined #ocaml
ftrvxmtrx_ has quit [Quit: Leaving]
weie_ has joined #ocaml
dezzy has quit [Quit: I'll be back...]
weie has quit [Ping timeout: 252 seconds]
leoncamel has quit [Ping timeout: 244 seconds]
elixey has quit [Ping timeout: 276 seconds]
travisbrady has quit [Quit: travisbrady]
travisbrady has joined #ocaml
dezzy has joined #ocaml
dezzy has quit [Client Quit]
tane has quit [Quit: Verlassend]
mye has quit [Quit: mye]
travisbrady has quit [Quit: travisbrady]
cyball has quit [Remote host closed the connection]
ocp has joined #ocaml
hkBst_ has joined #ocaml
hkBst_ has quit [Changing host]
hkBst_ has joined #ocaml
hkBst has quit [Read error: Connection reset by peer]
ahokaomaeha has quit [Quit: When I come back, please tell me in what new ways you have decided to be completely wrong.]
tane has joined #ocaml
f[x] has quit [Quit: Leaving]
djcoin has quit [Ping timeout: 252 seconds]
mika1 has quit [Quit: Leaving.]
travisbrady has joined #ocaml
cago has left #ocaml []
hkBst_ has quit [Quit: Konversation terminated!]
andreypopp has quit [Quit: sleep]
djcoin has joined #ocaml
RagingDave has joined #ocaml
djcoin has quit [Quit: WeeChat 0.3.9.2]
dwmw2_SAT is now known as dwmw2_gone
ocp has quit [Ping timeout: 245 seconds]
Kakadu has joined #ocaml
tac has joined #ocaml
ontologiae has quit [Ping timeout: 255 seconds]
mye has joined #ocaml
osa1 has joined #ocaml
andreypopp has joined #ocaml
dezzy has joined #ocaml
chambart has quit [Ping timeout: 246 seconds]
dezzy has quit [Changing host]
dezzy has joined #ocaml
AltGr has quit [Quit: Konversation terminated!]
andreypopp has quit [Quit: sleep]
osa1 has quit [Quit: Konversation terminated!]
osa1 has joined #ocaml
osa1 has quit [Client Quit]
xaimus has quit [Ping timeout: 246 seconds]
xaimus has joined #ocaml
thomasga1 has quit [Quit: Leaving.]
osa1 has joined #ocaml
mcclurmc has quit [Ping timeout: 255 seconds]
answer_42 has joined #ocaml
oriba has joined #ocaml
<thelema> ben_zen: recompile ocaml yourself?
cyball has joined #ocaml
dsheets has joined #ocaml
mcclurmc has joined #ocaml
ManAmongHippos has joined #ocaml
tac has quit [Ping timeout: 245 seconds]
tac has joined #ocaml
ManAmongHippos has quit [Quit: ManAmongHippos]
<ben_zen> thelema: I think I found it, actually. I was foolish and thought I could load the Thread module into the toplevel; I'm going to try bytecode-compiling with -thread instead.
<thelema> ah. You should be able to use ocamlfind to use Thread in the toplevel
ocp has joined #ocaml
<adrien> #use "topfind";;
<adrien> and then it says:
<adrien> #thread;; to enable threads
thelema_ has joined #ocaml
<thelema> but compiling is generally better
<ben_zen> yeah, since this isn't intended to be used from the toplevel anyways.
thelema has quit [Ping timeout: 248 seconds]
caligula_ has joined #ocaml
Yoric has joined #ocaml
cyball has quit [*.net *.split]
cdidd has quit [*.net *.split]
caligula has quit [*.net *.split]
hto has quit [Read error: Connection reset by peer]
TDJACR has quit [Read error: Connection reset by peer]
ttamttam has left #ocaml []
TDJACR has joined #ocaml
_andre has quit [Quit: leaving]
cdidd has joined #ocaml
RagingDave has quit [Quit: Ex-Chat]
cyball has joined #ocaml
tac has quit [Ping timeout: 245 seconds]
tac has joined #ocaml
jamii has joined #ocaml
dabd has joined #ocaml
dabd has quit [Read error: Connection reset by peer]
dabd has joined #ocaml
nimred has quit [Quit: leaving]
noobdude has joined #ocaml
<noobdude> guys, quick question.
<noobdude> do all record type instances go to a global namespace if so why?
<thelema_> no, they're local to the module they're defined in
<noobdude> ok , they are not like typeclasses in haskell
<thelema_> nope
<noobdude> where you can have only one of them , visible everywhere
<noobdude> but some folks use the example of record types in ocaml to bash ocaml ,saying that it is ant-modular
<noobdude> i am not much acquainted with ocaml
<noobdude> but know a bit of haskell
<tac> are you talking about Haskellers? Or someone else?
<thelema_> within one module, two records can't use the same field name
<noobdude> yeah , martin odersky to be specific
<noobdude> i was listening to his scala 2.10 presentation
<noobdude> where he glorified , FP a lot and then bashed haskell and ocaml
<noobdude> and glorified SML being only language taking modularity seriously
<noobdude> i think , he is spreading FUD
<noobdude> like in haskell Monads are polymorphic
<thelema_> odd; maybe he's referring to some new work that's going on to try to make it easier to refer to record fields from other namespaces
<thelema_> but that isn't decreasing modularity, it's making it easier to program within a strongly modular system
<noobdude> but he bashes , monads as inferior solution for effect typing
<adrien> thelema_: I doubt he follows ocaml *that* closely
<noobdude> saying it is monomorphic
<thelema_> adrien: fair enough.
<noobdude> , it's making it easier to program within a strongly modular system --links,papers for a Non-MLer?
<ben_zen> SML ... really?
<noobdude> yeah ,Module system , with signatures,structures
<noobdude> and generative functors
<noobdude> i think , that is available in Ocaml too isn't it?
<noobdude> including functors, except they are applicative, I skimmed Leroy's paper
<ben_zen> yes, all of that is present in OCaml (unless I'm much mistaken)
<thelema_> noobdude: yes, generative functors are available in OCaml, although you have to ask for them with some tricks
<noobdude> thelema : thanks for the link
<thelema_> ocaml uses a syntactic trick to get applicative functors by default, but by tweaking around that, you can get generative functors
<noobdude> thelema_:nice , as far as my understanding goes , generative functors are anlouge to impure functions right? I think it is a good thing that they are available ,only if one begs for them
<thelema_> eww, that's an ugly link
<thelema_> better.
<noobdude> nice
<noobdude> I think , I saw a similar talk by Rossberg, F-ing applicative functors
nimred has joined #ocaml
nimred has quit [Changing host]
nimred has joined #ocaml
<thelema_> I think I was in the room when this talk was given
<noobdude> cool. Think about that
Yoric has quit [Ping timeout: 246 seconds]
ManAmongHippos has joined #ocaml
hto has joined #ocaml
yacks has quit [Read error: Connection reset by peer]
andreypopp has joined #ocaml
Anarchos has joined #ocaml
weie_ has quit [Quit: Leaving...]
noobdude has quit [Quit: Page closed]
answer_42 has quit [Ping timeout: 276 seconds]
andreypopp has quit [Quit: sleep]
<oriba> what is the difference between generative and applicative functors? I only know functors, not any differentiation between them.
<thelema_> oriba: read the shorter link (or the youtube)
<oriba> ok
<thelema_> it has to do with multiple applications of the functor to the "same" arguments
<oriba> downloading the video now...
<oriba> hmhhh
Kakadu has quit []
osa1 has quit [Quit: Konversation terminated!]
gour_ has quit [Quit: WeeChat 0.3.9.2]
Yoric has joined #ocaml
Yoric has quit [Ping timeout: 246 seconds]
travisbrady has quit [Quit: travisbrady]
ManAmongHippos has quit [Quit: ManAmongHippos]
tac has quit [Ping timeout: 245 seconds]
ocp has quit [Ping timeout: 252 seconds]
jamii has quit [Ping timeout: 240 seconds]
chambart has joined #ocaml
jamii has joined #ocaml
cdidd has quit [Remote host closed the connection]
ahokaomaeha has joined #ocaml
RagingDave has joined #ocaml
rwmjones has quit [Read error: Operation timed out]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
rwmjones has joined #ocaml
mye has quit [Quit: mye]
tani has joined #ocaml
tane has quit [Ping timeout: 264 seconds]
smondet has quit [Ping timeout: 264 seconds]
oceanquake has joined #ocaml
chambart has quit [Read error: Operation timed out]
<oceanquake> Hello all. If I have two modules, let's say ModA and ModB, and ModA.f depends on ModB.i, and ModB.j depends on ModA.g , is this considered a mutually recursive dependency, or should I be able to compile both these modules?
<oceanquake> Where f, g, i, and j are functions...
q66 has quit [Quit: Quit]
<Qrntz> oceanquake, yes, it is one
<Qrntz> if there's no way to eliminate the mutual recursion, you can work around this by defining both modules in a single file as explicitly mutually recursive (via «module rec … and …»)
|jbrown| has joined #ocaml
<oceanquake> Qrntz: thanks. Is there a way to forward declare the signature, like a C extern or something? I presume this is a problem due to the type analysis?
<oceanquake> I'd rather not smash the modules into one file...
<Qrntz> no, there are no forward declarations
jbrown has quit [Ping timeout: 255 seconds]
<oceanquake> hm, that's a frustrating limitation.
<Qrntz> I have never missed them in OCaml, but YMMV
tani has quit [Quit: Verlassend]
<oceanquake> Yes, I'm working on some code that's grown organically over the past 5 yrs. or so, and this is the first time I'm encountering it as well, but at the same time I can't say the current decomposition into modules is inelegant, so I'd rather not "refactor" the modules if I can avoid it.
jamii has quit [Ping timeout: 256 seconds]
chambart has joined #ocaml
darkf has joined #ocaml
chambart has quit [Ping timeout: 246 seconds]
leoncamel has joined #ocaml
RagingDave has quit [Quit: Ex-Chat]
<oriba> oceanquake, refactoring might be good, but maybe you can create a new module and open the old modules in the new module. If there are no name-clashes, then all functions should be available there in the new module...?!
<oriba> then put the crossdependencies into the new module?!
<oriba> hmhhh...
<oriba> just roughly thinking htis#
<oriba> this
<oriba> not sure it works
<oriba> (would need to see an example)
<oriba> But there are ways to have common functions by defining them at the outside of inner modules, inside a wrappng module that holds other modules
<oriba> (not sure if it is clear to you what I mean)
<oriba> maybe just shifting the dependencies to a new, MixedModule
jbrown__ has joined #ocaml
|jbrown| has quit [Ping timeout: 244 seconds]
tac has joined #ocaml