<Alpounet>
of course that's I wanted to write... sorry.
julm_ has quit [Remote closed the connection]
julm has joined #ocaml
ulfdoz_ has joined #ocaml
derdon has quit []
run has quit [Read error: 110 (Connection timed out)]
komar_ has quit [Remote closed the connection]
ulfdoz has quit [Read error: 110 (Connection timed out)]
ulfdoz_ is now known as ulfdoz
Smerdyakov has quit ["Leaving"]
komar_ has joined #ocaml
Alpounet has quit ["Leaving"]
slash_ has quit [Client Quit]
boringwall__ has joined #ocaml
run has joined #ocaml
onigiri has quit []
onigiri has joined #ocaml
verte has joined #ocaml
Associat0r has joined #ocaml
komar_ has quit [Remote closed the connection]
<boringwall__>
let f (g, h) = function x -> g (h x)
<boringwall__>
How would I invoke this?
BigJ has joined #ocaml
onigiri has quit []
komar_ has joined #ocaml
BiDOrD has quit [Read error: 110 (Connection timed out)]
BiDOrD has joined #ocaml
Associat0r has quit []
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
peddie has joined #ocaml
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
<orbitz>
boringwall__: f (g, h) x
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
caligula_ has joined #ocaml
RTFMMao has joined #ocaml
caligula__ has quit [Read error: 110 (Connection timed out)]
<RTFMMao>
Hey caml guys!
<orbitz>
hi
<RTFMMao>
Any of you used scala before? Do you know of any OCaml libraries that you think should be ported?
<orbitz>
ocaml mainline doesn't have much of nay libraries t oit
komar_ has quit [Remote closed the connection]
MR_JELLY_LORD is now known as nnyby
<RTFMMao>
orbitz:right. I meant, good ocaml libraries
<orbitz>
hrm unlikely, Scala has acess to everything in Java
Submarine has joined #ocaml
komar_ has joined #ocaml
<RTFMMao>
orbitz: yes, but that's mostly java-oriented libraries... no functional awesome sauce
Baconizer has joined #ocaml
<Baconizer>
hrmmrmmRMMM
Baconizer has left #ocaml []
<orbitz>
RTFMMao: Scala isn't very good at that las ti used it
komar_ has quit [Remote closed the connection]
Submarine has quit [Remote closed the connection]
komar_ has joined #ocaml
<flux>
ocamlgraph could be something Java doesn't have. but it's heavily functorized.
f[x] has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
julm has joined #ocaml
komar_ has quit [Remote closed the connection]
<RTFMMao>
flux: is there a reason that functorized ocaml code is hard to port to scala?
julm has quit [Remote closed the connection]
<flux>
rtfmmao, atleast it's a concept to port, as I don't scala doesn't have a similar module system
<flux>
I don't know much of scala, though
julm has joined #ocaml
komar_ has joined #ocaml
<RTFMMao>
flux: yeah it's more just everything is an object
<RTFMMao>
flux: but it has a ton of polymorphism which is why you would use functors right?
<flux>
rtfmmao, well, functors also handle types. but perhaps there is a useful mapping. you do the research :)
julm has quit [Read error: 131 (Connection reset by peer)]
julm has joined #ocaml
julm has quit [Remote closed the connection]
julm has joined #ocaml
<RTFMMao>
flux: Yep, I need to learn more about how scala handles type parameters. I had a lot of fun with functors in ocaml years ago when I was writing in it. It stilli is my favorite language (in theory, not practice)
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
ttamttam has joined #ocaml
RTFMMao has quit [Read error: 104 (Connection reset by peer)]
RTFMMao has joined #ocaml
tonyIII has joined #ocaml
komar_ has quit [Remote closed the connection]
diml has joined #ocaml
komar_ has joined #ocaml
ttamttam has quit ["Leaving."]
tmaeda0 is now known as tmaedaZ
komar_ has quit [Remote closed the connection]
julm has quit [Remote closed the connection]
komar_ has joined #ocaml
RTFMMao has quit [Remote closed the connection]
_zack has joined #ocaml
julm has joined #ocaml
_zack has quit ["Leaving."]
Jedai has joined #ocaml
julm_ has joined #ocaml
albacker has joined #ocaml
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
julm_ has quit ["Reconnecting"]
julm has joined #ocaml
boringwall__ has quit [Read error: 131 (Connection reset by peer)]
komar_ has quit [Remote closed the connection]
hkBst has joined #ocaml
komar_ has joined #ocaml
ttamttam has joined #ocaml
Smerdyakov has joined #ocaml
Alpounet has joined #ocaml
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
robocop has joined #ocaml
<robocop>
hello
<robocop>
do you know how access to a variable who is in a file file.ml ? I trying "open File" and var, and File.var, but this don't work.
verte has quit [Read error: 113 (No route to host)]
<Smerdyakov>
[open] has no effect on accessibility of anything. It just saves you some typing (in the sense of hitting keys with your fingers).
<Smerdyakov>
Your question is also too vague.
<Smerdyakov>
Are you talking about the toplevel or batch compilation?
<robocop>
batch compilation
<Smerdyakov>
It's object files, not source files, that matter for resolving symbols in modules that stand for other files.
<Smerdyakov>
Have you told the compiler where to find the object file for file.ml?
<robocop>
Smerdyakov: I use ocamlbuild
<Smerdyakov>
I have no experience with that, so I can't offer specific advice.
<robocop>
hum, okey thanks
<Alpounet>
robocop, you have to link against the cmo
<Alpounet>
that should be enough to bring your variable on
verte has joined #ocaml
<robocop>
Alpounet: I had to do this with ocamlbuild ?
<Alpounet>
with whatever you use
<Alpounet>
check that ocamlbuild does it.
komar_ has quit [Read error: 110 (Connection timed out)]
Alpounet has quit [Remote closed the connection]
albacker has quit ["Leaving"]
Alpounet has joined #ocaml
komar_ has joined #ocaml
tmaedaZ is now known as tmaeda0
onigiri has joined #ocaml
flux has quit [hubbard.freenode.net irc.freenode.net]
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
_zack has joined #ocaml
robocop has quit [Remote closed the connection]
tylermac has joined #ocaml
Submarine has joined #ocaml
myst has joined #ocaml
<myst>
hi! what Emacs mode are you using guys: OCaml or Tuareg?
tylermac has left #ocaml []
<flux>
tuareg
<flux>
have caml-mode around for caml-types.el, though
<hyperboreean>
I am having trouble when using List.iter
<Smerdyakov>
hyperboreean, the type error message should explain what's wrong.
<det>
hyperboreean, print_endline prints strings, not ints
kaustuv has joined #ocaml
derdon has joined #ocaml
<hcarty>
hyperboreean: For reference - In the code you pasted, you do not need to open the Printf module. print_endline is not part of the Printf module.
<hyperboreean>
hcarty: yes, I know, I've previously used printf. Thanks
<hyperboreean>
det: thanks, I've got it solved
<myst>
when starting bytecode.exe on Windows it writes me 'ocamlrun not found'. ocamlrun.exe is in the path, maybe it should search for ocamlrun.exe? is this a bug, or I am stupid again?
flux has joined #ocaml
whale has joined #ocaml
gildor has joined #ocaml
Submarine has quit [Read error: 110 (Connection timed out)]
_zack has joined #ocaml
ttamttam has quit ["Leaving."]
albacker has quit ["Leaving"]
_zack has quit ["Leaving."]
sramsay has joined #ocaml
komar_ has quit [Read error: 110 (Connection timed out)]
f[x] has quit [Read error: 110 (Connection timed out)]
sramsay has quit ["Leaving"]
hkBst has quit [Read error: 104 (Connection reset by peer)]