hcarty changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.1 out now! Get yours from http://caml.inria.fr/ocaml/release.html
<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
Submarine has quit [Client Quit]
<Alpounet> tuareg with yasnippets
<myst> tnx
bla has joined #ocaml
albacker has joined #ocaml
spidermario_ has joined #ocaml
spidermario_ has left #ocaml []
<flux> yasnippets seems nifty
<flux> better implemented than in the VHDL mode for sure..
<Alpounet> :p
derdon has joined #ocaml
komar_ has quit [Read error: 110 (Connection timed out)]
jimmyb21871 has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
jimmyb2187 has quit [Read error: 110 (Connection timed out)]
infoe has quit [Read error: 110 (Connection timed out)]
albacker has quit [Read error: 60 (Operation timed out)]
komar_ has joined #ocaml
infoe has joined #ocaml
thrasibule has joined #ocaml
BiDOrD has quit []
thrasibule has quit ["No Ping reply in 180 seconds."]
thrasibule has joined #ocaml
tmaeda0 is now known as tmaedaZ
komar_ has quit [Remote closed the connection]
komar_ has joined #ocaml
bla has quit [Read error: 148 (No route to host)]
run has quit [Remote closed the connection]
albacker has joined #ocaml
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
slash_ has joined #ocaml
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
derdon has quit []
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
_JusSx_ has joined #ocaml
thrasibule has quit ["No Ping reply in 180 seconds."]
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
thrasibule has joined #ocaml
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
Submarine has joined #ocaml
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
flux has joined #ocaml
whale has joined #ocaml
gildor_ has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
gildor_ has quit [hubbard.freenode.net irc.freenode.net]
whale has quit [hubbard.freenode.net irc.freenode.net]
flux has quit [hubbard.freenode.net irc.freenode.net]
Amorphous has joined #ocaml
psnively has joined #ocaml
psnively has left #ocaml []
<myst> when using ocamlopt on Windows, do I need MSVC for it to run?
<Camarade_Tux> myst: if you link against C, yes
<Camarade_Tux> (and if you use the mingw version, you'd need mingw)
<myst> aha
thrasibule has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
<myst> i've read readme.windows =)
<myst> there they write that msvc version is 70% of speed for bc interpreter
<myst> why?
<Camarade_Tux> unrelated: I had a new error today, parameters order couldn't be changed if the type wasn't really known :)
<Camarade_Tux> myst: only for "ocaml", the toplevel, I think
<Camarade_Tux> and that's because msvc doesn't have computer gotos
<Camarade_Tux> (here, you can google ;) )
<myst> just found it in readme again
<myst> sorry guys =)
<myst> I should read it at last
<Camarade_Tux> he :p
<hyperboreean> hey guys, how can one output a list using a let in expression and List.iter ?
<Smerdyakov> hyperboreean, is this a homework assignment?
<hyperboreean> Smerdyakov: no, I am out of school :)
<hyperboreean> just trying to get the basics of OCaml
<Smerdyakov> hyperboreean, there is no generic printing in OCaml, so the question is underspecified.
<hyperboreean> Smerdyakov: http://pastebin.com/m61eba746
<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)]
_JusSx_ has quit ["leaving"]
derdon has quit []
tmaedaZ is now known as tmaeda0
Alpounet has left #ocaml []
tmaeda0 is now known as tmaedaZ
psnively has joined #ocaml
psnively has left #ocaml []