ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.1 announcement at http://ocaml.org/releases/4.02.html | Public channel logs at http://irclog.whitequark.org/ocaml
Guest39689 is now known as kandu
oscar_toro has quit [Ping timeout: 246 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lobo has quit [Quit: leaving]
JuggleTux has quit [Read error: Connection reset by peer]
JuggleTux has joined #ocaml
oriba has quit [Quit: oriba]
swgillespie has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
avsm has quit [Quit: Leaving.]
lordkryss has quit [Quit: Connection closed for inactivity]
The_Mad_Pirate has quit [Ping timeout: 264 seconds]
Algebr has joined #ocaml
dhil has quit [Quit: Leaving]
The_Mad_Pirate has joined #ocaml
jonludlam has quit [Ping timeout: 265 seconds]
s1n4 has quit [Ping timeout: 272 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest39296
ghostpl_ has joined #ocaml
Guest39296 has quit [Ping timeout: 256 seconds]
<Leonidas> wow, objects in ocaml
thomasga has joined #ocaml
ghostpl_ has quit [Ping timeout: 264 seconds]
ollehar has joined #ocaml
thomasga has quit [Quit: Leaving.]
unterstrom has quit [Remote host closed the connection]
unterstrom has joined #ocaml
unterstrom has quit [Remote host closed the connection]
s1n4 has joined #ocaml
darkf has joined #ocaml
tnguyen has joined #ocaml
ollehar has quit [Quit: ollehar]
mengu has quit [Remote host closed the connection]
iorivur has quit [Ping timeout: 245 seconds]
iorivur has joined #ocaml
struktured has joined #ocaml
mengu has joined #ocaml
seangrove has quit [Ping timeout: 244 seconds]
mengu has quit [Ping timeout: 252 seconds]
c74d has quit [Ping timeout: 252 seconds]
<lewis1711> Leonidas, why does that surprise you?
<Algebr> is it the o in ocaml
<Algebr> it is*
cesar_ has joined #ocaml
cesar_ is now known as Guest71918
c74d has joined #ocaml
Guest71918 has quit [Ping timeout: 265 seconds]
idegen has quit [Ping timeout: 255 seconds]
ygrek has joined #ocaml
iorivur has quit [Ping timeout: 256 seconds]
badkins has quit []
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
iorivur has joined #ocaml
cdidd has quit [Ping timeout: 255 seconds]
<dmbaturin> lewis1711, Algebr: I think it's not the OOP support that is surprising, but that someone actually used it. :)
<lewis1711> meh I like objects sometimes
<dmbaturin> Still, ocaml program with objects is just as rare as say python or ruby program without objects.
<cojy_> they would be the best part if they had subtraction
<Algebr> hmm, fluent interfaces are nice, objects make that easy
<lewis1711> I like using objects to wrap "mini programs". using alan kays original philosophy that each object was its own little computer with state and methods
iorivur_ has joined #ocaml
iorivur has quit [Ping timeout: 250 seconds]
struktured has quit [Ping timeout: 265 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest22824
Guest22824 has quit [Ping timeout: 265 seconds]
kdef has quit [Quit: Leaving]
yegortimoschenko has joined #ocaml
matason has joined #ocaml
tnguyen has quit [Ping timeout: 255 seconds]
slash^ has joined #ocaml
cdidd has joined #ocaml
iorivur_ has quit [Ping timeout: 250 seconds]
c74d has quit [Ping timeout: 256 seconds]
c74d has joined #ocaml
kakadu has joined #ocaml
matason has quit [Ping timeout: 250 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest86209
Guest86209 has quit [Ping timeout: 265 seconds]
nullcat has joined #ocaml
<nullcat> say I want to write a library that can be used when writing a Mirage unikernel app, the library cannot have any Unix dependency, right? cannot have anything like "Unix.gettimeofday"?
avsm has joined #ocaml
tane has joined #ocaml
avsm has quit [Quit: Leaving.]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yegortimoschenko has quit [Quit: (null)]
pobivan has joined #ocaml
Sorella has quit [Quit: Connection closed for inactivity]
tnguyen has joined #ocaml
<Leonidas> lewis1711: because objects are rather obscure, can't remember when i saw them last .-)
<lewis1711> some crazy new idea from the US that will never catch on
robink_ is now known as robink
<reynir> I thought it originated from scandinavia
Gama11 has joined #ocaml
AlexRussia has quit [Ping timeout: 272 seconds]
nonuby has joined #ocaml
<nonuby> in utop is there a way to tell where a module came from (like a fully qualified path), so I want to know if Im using the std List module or one from JS Core's?
cesar_ has joined #ocaml
cesar_ is now known as Guest44878
Simn has joined #ocaml
AlexRussia has joined #ocaml
Guest44878 has quit [Ping timeout: 265 seconds]
Submarine has joined #ocaml
keen__________29 has joined #ocaml
keen__________28 has quit [Ping timeout: 250 seconds]
nonuby has quit [Remote host closed the connection]
freling has joined #ocaml
SIGILL has quit [Quit: update]
Haudegen has quit [Ping timeout: 250 seconds]
larhat has joined #ocaml
Guest11118 is now known as johnelse
Reventlov has quit [Excess Flood]
Reventlov has joined #ocaml
Reventlov has quit [Client Quit]
Reventlov has joined #ocaml
Haudegen has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
slash^ has quit [Read error: Connection reset by peer]
oscar_toro has joined #ocaml
pyon has quit [Read error: Connection reset by peer]
pyon has joined #ocaml
larhat has quit [Quit: Leaving.]
Hannibal_Smith has joined #ocaml
jonludlam has joined #ocaml
ollehar has joined #ocaml
AlexRussia has quit [Quit: WeeChat 1.2-dev]
yegortimoschenko has joined #ocaml
yegortimoschenko has quit [Read error: Connection reset by peer]
mengu has joined #ocaml
jonludlam has quit [Ping timeout: 250 seconds]
gargaml has joined #ocaml
pyon has quit [Ping timeout: 256 seconds]
lordkryss has joined #ocaml
yegortimoschenko has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest26278
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest26278 has quit [Ping timeout: 256 seconds]
larhat has joined #ocaml
yegortimoschenko has quit [Ping timeout: 256 seconds]
yegortimoschenko has joined #ocaml
sdothum has joined #ocaml
<ollehar> possible to switch to multicore-ocaml, but no documentation on how to program with it?
SIGILL has joined #ocaml
Anarchos has joined #ocaml
PM has quit [Ping timeout: 252 seconds]
xificurC has joined #ocaml
pyon has joined #ocaml
rand000 has joined #ocaml
yegortimoschenko has quit [Ping timeout: 256 seconds]
yegortimoschenko has joined #ocaml
PM has joined #ocaml
yegortimoschenko has quit [Ping timeout: 248 seconds]
yegortimoschenko has joined #ocaml
mengu has quit [Remote host closed the connection]
AlexRussia has joined #ocaml
yegortimoschenko has quit [Ping timeout: 256 seconds]
ggole has joined #ocaml
Sorella has joined #ocaml
psy_ has quit [Remote host closed the connection]
yegortimoschenko has joined #ocaml
luzie has quit [Quit: WeeChat 1.1.1]
yegortimoschenko has quit [Ping timeout: 256 seconds]
yegortimoschenko has joined #ocaml
luzie has joined #ocaml
mengu has joined #ocaml
yegortimoschenko has quit [Quit: (null)]
yegortimoschenko has joined #ocaml
slash^ has joined #ocaml
slash^ has left #ocaml [#ocaml]
Matt__ has joined #ocaml
Matt__ has quit [Client Quit]
ZenMatt has joined #ocaml
mengu has quit [Remote host closed the connection]
paradoja has joined #ocaml
slash^ has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest89055
mengu has joined #ocaml
mengu has joined #ocaml
Guest89055 has quit [Ping timeout: 265 seconds]
Hannibal_Smith has quit [Quit: Leaving]
<flux> ollehar, just use the Thread module I think
<ollehar> really? sounds too easy :P
<mrvn> and add mutexes to any shared structure
<ollehar> ok cool
ygrek has joined #ocaml
<mrvn> What's the url for multi-core ocaml by the way?
<ollehar> check reddit
<ollehar> mrvn ^
yegortimoschenko has quit [Ping timeout: 256 seconds]
yegortimoschenko has joined #ocaml
thomasga has joined #ocaml
xificurC has quit [Ping timeout: 264 seconds]
luzie has quit [Ping timeout: 256 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
<haesbaert> hmm I'm having issues using lwt syntax extensions with ocamlbuild, can someone paste me an example of ocamlbuild ?
luzie has joined #ocaml
idegen has joined #ocaml
<haesbaert> ahh got it, nvm.
<lewis1711> https://gist.github.com/anonymous/cbbca121c4a98d4ebecd not quite sure what these opam messages are trying to get me to do. do I need a newer compiler?
<kakadu> lewis1711: what is your version?
<kakadu> also, you can try to install older version of ctypes
<lewis1711> kakadu, hmm I am on 4.01.0, I think that's fairly old at this stage. I might switch
thomasga has quit [Quit: Leaving.]
psy_ has joined #ocaml
yegortimoschenko has quit [Quit: (null)]
thomasga has joined #ocaml
mengu has quit [Remote host closed the connection]
yegortimoschenko has joined #ocaml
<ollehar> any good discussions about organic growth of computer programs and how to cope with it?
<haesbaert> hmm using the lwt syntax extension I don't get a level of indentation in emacs + ocp-indent, I'm sure someone fixed this already ?
yegortimoschenko has quit [Client Quit]
<haesbaert> ohhh --sintax lwt
<flux> cool, ocaml-multicore has had some progress then
averell has quit [Read error: Connection timed out]
<ollehar> anyone tried multi-core?
<ollehar> (we should update the results to the benchmark game later :) )
darkf has quit [Quit: Leaving]
averell has joined #ocaml
<flux> I wonder what impliciations does oc4mc have for C bindings
thomasga has quit [Quit: Leaving.]
<haesbaert> hmm can someone help me setup ocp-indent for lwt ?
<haesbaert> the documentation doesn't show how to load it
s1n4 has quit [Quit: leaving]
yegortimoschenko has joined #ocaml
govg has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest25311
Guest25311 has quit [Ping timeout: 265 seconds]
seangrove has joined #ocaml
tianon has quit [Read error: Connection reset by peer]
tianon has joined #ocaml
yegortimoschenko has left #ocaml ["(null)"]
freling has quit [Quit: Leaving.]
AlexRussia has quit [Ping timeout: 264 seconds]
struktured has joined #ocaml
ygrek_ has joined #ocaml
oscar_toro has quit [Ping timeout: 245 seconds]
ygrek has quit [Ping timeout: 272 seconds]
<seangrove> When starting a new project/module, is it more usual to create/flesh out a mli first (once you're experienced), or a ml?
shinnya has quit [Ping timeout: 272 seconds]
ZenMatt has quit [Quit: Page closed]
Denommus has joined #ocaml
<flux> depends perhaps how well you think you have a solution
<flux> is it more like defining interface and then 'just' write the implementations, or play with the implementation side a bit before committing to an interface
<flux> for me I would say the first one is more often the appropriate choice
<flux> you can even write short 'test apps' that compile (type), to see how it would be to use the module, and perhaps see some issues before you write any actual implementation code
tianon has quit [Read error: Connection reset by peer]
tianon has joined #ocaml
AlexRussia has joined #ocaml
<seangrove> flux: That's an interesting point re: trying out the implementation
<seangrove> Thanks!
<ollehar> help me!
<ollehar> Called from file "src/oUnitRunner.ml", line 46, characters 13-26
<ollehar> Tellstory.Make(Dice).Sentence_problem("", _)
<ollehar> no wait
<ollehar> yes, need help
<ollehar> can't figure out what exception is raised
<ollehar> it just says _
<ggole> Export the exception
<ggole> This happens because the toplevel printer is type driven, and it doesn't know the type
thomasga has joined #ocaml
<ggole> (Which is hidden within the module.)
<ollehar> but
<ollehar> I don't have an mli file
<ollehar> shouldn't everything be public?
<ggole> That seems to be the result of a functor?
<ollehar> sure, but functor without explicit sig
cdidd has quit [Ping timeout: 244 seconds]
<ggole> Hmm. The type seems to be being hidden somewhere.
<ollehar> is it ounit that messes up>
<ollehar> ?
<ggole> A call made through the functor argument, maybe
<ollehar> hm
<ggole> (Which *necessarily* have sigs.)
<ollehar> I could just add an exception_to_string in module, maybe?
<ollehar> (string_of_exc)
<ollehar> tried compile with -g, and OCAMLRUNPARAM=b
<ollehar> no stacktrace ><
<ggole> ounit might be catching it
<ollehar> (functor is _very_ simple, just struct dice n = 0 end)
xificurC has joined #ocaml
<Drup> lewis1711: do you have aspcud installed ?
<lewis1711> Drup, not sure, but ctypes works now. it was my own silly fault for not reading opams messages properly
<Drup> ollehar: last news, multicore OCaml was bytecode only.
<ollehar> drup ok
<ollehar> still, could be fun
<ollehar> (but nothing for benchmark game)
s1n4 has joined #ocaml
<lewis1711> the ocaml VM is pretty sweet. I'm glad it has one, I find repls that are secretly just compiles to be really sluggish
thomasga has quit [Quit: Leaving.]
<Drup> the repl secretly compiles too :D
tianon has quit [Read error: Connection reset by peer]
tianon has joined #ocaml
<ggole> But to bytecode
cdidd has joined #ocaml
<lewis1711> right... I suppose that is technically compilation
<lewis1711> it's not a straight up interpreter
Denommus has quit [Read error: Connection reset by peer]
<lewis1711> but it makes a trade off - lightning fast compilation speed for slower execution. which is why I tend not think of it as a "compiler" because it doesn't feel like one
<ggole> It's quite possible to compile to native code very fast
Denommus has joined #ocaml
<ggole> Although you don't get great code quality
<lewis1711> yeah, I am abusing the term "compiler" really.
<lewis1711> to mean something that goes for slow compilation, good code quality
<ggole> Right. "Optimizing compiler" might be a bit more suggestive.
<lewis1711> calling the ocaml repl a non-optimising compiler just sounds kind of strange
<lewis1711> byte code interpreter?
<adrien> a french compiler: it does the least it can do
<lewis1711> the repl of scala in particular is terrible for exploratory programming
<ggole> Well, scala compiles famously slowly
<ggole> And then runs on the JVM, which has to go through a warmup
<lewis1711> yeah, exactly
<ollehar> (JVM is fast?)
<ollehar> (ah, but repl environment)
<adrien> (yes)
<adrien> (except the startup)
myyst is now known as myst
<lewis1711> I am typically not very concerned with execution speed in a REPL
seangrove has quit [Ping timeout: 252 seconds]
seangrove has joined #ocaml
shinnya has joined #ocaml
seangrove has quit [Ping timeout: 246 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest41560
Sim_n has joined #ocaml
<haesbaert> has anyone ever played with Lwt_log.load_rules ?
Simn has quit [Ping timeout: 252 seconds]
Guest41560 has quit [Ping timeout: 265 seconds]
ollehar has quit [Ping timeout: 248 seconds]
ghostpl_ has joined #ocaml
zoetus has joined #ocaml
<zoetus> hi guys
<zoetus> does anyone know why Core.Std.List does not have a `flatten` function?
<flux> concat?
Intensity has quit [Ping timeout: 244 seconds]
<zoetus> ah yes, that's it. thanks!
freling has joined #ocaml
lordkryss has quit [Quit: Connection closed for inactivity]
Denommus has quit [Read error: Connection reset by peer]
Intensity has joined #ocaml
s1n4 has quit [Quit: leaving]
Denommus has joined #ocaml
Intensity has quit [Ping timeout: 244 seconds]
Intensity has joined #ocaml
zoetus has quit [Quit: Page closed]
Sim_n is now known as Simn
Denommus has quit [Ping timeout: 264 seconds]
freling has quit [Quit: Leaving.]
oscar_toro has joined #ocaml
ygrek_ has quit [Ping timeout: 245 seconds]
nullcat has joined #ocaml
lordkryss has joined #ocaml
averell has quit [Changing host]
averell has joined #ocaml
jave has quit [Quit: ZNC - http://znc.in]
jave has joined #ocaml
rand000 has quit [Ping timeout: 245 seconds]
jonludlam has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest90964
oriba has joined #ocaml
mort___ has joined #ocaml
freling has joined #ocaml
WraithM has joined #ocaml
rand000 has joined #ocaml
jave has quit [Quit: ZNC - http://znc.in]
cmtptr has quit [Ping timeout: 264 seconds]
martintrojer has quit [Ping timeout: 255 seconds]
martintrojer has joined #ocaml
freling has quit [Quit: Leaving.]
jave has joined #ocaml
larhat has quit [Quit: Leaving.]
cmtptr has joined #ocaml
struktured has quit [Remote host closed the connection]
slash^ has quit [Read error: Connection reset by peer]
mort___ has quit [Quit: Leaving.]
Guest90964 has quit [Remote host closed the connection]
oscar_toro has quit [Ping timeout: 248 seconds]
WraithM has quit [Quit: Reconnecting]
WraithM has joined #ocaml
Hannibal_Smith has joined #ocaml
myyst has joined #ocaml
thomasga has joined #ocaml
myst has quit [Ping timeout: 265 seconds]
thomasga has quit [Client Quit]
swgillespie has joined #ocaml
myyst is now known as myst
olibjerd has joined #ocaml
olibjerd has quit [Read error: Connection reset by peer]
olibjerd has joined #ocaml
ollehar has joined #ocaml
The_Mad_Pirate has quit [Excess Flood]
The_Mad_Pirate has joined #ocaml
ericwa has joined #ocaml
mengu has joined #ocaml
c355E3B has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
The_Mad_Pirate has quit [Max SendQ exceeded]
freling has joined #ocaml
zozozo has quit [Ping timeout: 265 seconds]
The_Mad_Pirate has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
rand000 has quit [Ping timeout: 256 seconds]
The_Mad_Pirate has quit [Excess Flood]
The_Mad_Pirate has joined #ocaml
ollehar has quit [Ping timeout: 264 seconds]
oscar_toro has joined #ocaml
Haudegen has joined #ocaml
TheLemonMan has joined #ocaml
zozozo has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
zozozo has quit [Read error: Connection reset by peer]
zozozo has joined #ocaml
zozozo has quit [Client Quit]
zozozo has joined #ocaml
zozozo has quit [Client Quit]
The_Mad_Pirate has quit [Excess Flood]
The_Mad_Pirate has joined #ocaml
zozozo has joined #ocaml
Haudegen has joined #ocaml
ggole has quit []
ollehar has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonludlam has quit [Ping timeout: 256 seconds]
The_Mad_Pirate has quit [Excess Flood]
The_Mad_Pirate has joined #ocaml
ontologiae has joined #ocaml
oriba_ has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest75074
jonludlam has joined #ocaml
oriba has quit [Ping timeout: 265 seconds]
ollehar has quit [Ping timeout: 252 seconds]
pobivan has quit [Quit: pobivan]
Guest75074 has quit [Ping timeout: 265 seconds]
ghostpl_ has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
dhil has joined #ocaml
Hannibal_Smith has joined #ocaml
rand000 has joined #ocaml
ollehar has joined #ocaml
paradoja has quit [Ping timeout: 248 seconds]
tane has quit [Quit: Verlassend]
rwmjones has quit [Read error: Network is unreachable]
rwmjones has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 272 seconds]
gargaml has quit [Quit: WeeChat 1.1.1]
WraithM has quit [Quit: leaving]
nullcat has quit [Read error: Connection reset by peer]
nullcat has joined #ocaml
olibjerd has left #ocaml [#ocaml]
Gama11 has quit [Read error: Connection reset by peer]
oriba_ is now known as oriba
Denommus has joined #ocaml
nullcat has quit [Ping timeout: 265 seconds]
Simn has quit [Quit: Leaving]
nullcat has joined #ocaml
nullcat has quit [Client Quit]
ontologiae has quit [Quit: WeeChat 1.0]
ontologiae has joined #ocaml
kakadu has quit [Remote host closed the connection]
ontologiae has quit [Client Quit]
ontologiae has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
ghostpl_ has joined #ocaml
dav has joined #ocaml
struktured has joined #ocaml
ghostpl_ has quit [Ping timeout: 255 seconds]
Hannibal_Smith has quit [Remote host closed the connection]
cesar_ has joined #ocaml
cesar_ is now known as Guest13948
xificurC has quit [Ping timeout: 248 seconds]
freling has quit [Quit: Leaving.]
Guest13948 has quit [Ping timeout: 256 seconds]
<ollehar> is ounit tests run concurrently?
<ollehar> I also need tear-down...
<ollehar> nm, found doc
<struktured> ollehar: curious myself. got a link?
<struktured> (for tear down)
<ollehar> bracket
The_Mad_Pirate has quit [Quit: Konversation terminated!]
mengu has quit [Remote host closed the connection]
<ollehar> hm, still don't how it's supposed to be used
<ollehar> anyone worked with ocaml ounit tear-down?
<ollehar> maybe post on stackoverflow...
ontologiae has quit [Ping timeout: 252 seconds]
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
nullcat has joined #ocaml
c355E3B has quit [Quit: Leaving]
dhil has quit [Quit: Leaving]
Denommus has quit [Ping timeout: 246 seconds]