<n3ss3s>
I'm running into some weird behavior with Sys.remove. I have this block of code, which is supposed to remove a file if it already exists, create it, write into it, and close the handle. It's being called a bunch of times to keep a log of the freshest information. However, when the file already exists, Sys.remove seems to remove it just fine, but execution magically stops there ("Opening file" is not printed) http://pastebin.com/Vcc7jMqA
<n3ss3s>
If the file does not already exist, the exception is handled and the rest of the code runs as you'd expect
The_Mad_Pirate has joined #ocaml
<Drup>
n3ss3s: reindent your code, you should see the issue
<Denommus>
ah! I should use lazyness!
<n3ss3s>
oh. The rest of the code is in the with.
jwatzman|work has quit [Quit: jwatzman|work]
jonludlam has quit [Ping timeout: 245 seconds]
<n3ss3s>
Ugh, I rewrote it as try Sys.remove ("./" ^ dump_filename) with Sys_error e -> begin print_endline e end; but the problem persists
<n3ss3s>
oh, it's the whole try-with that needs to be begin/ended, right?
<n3ss3s>
hmm, that sounds too ugly to be true
<Drup>
unfortunatly ...
hugomg has joined #ocaml
Denommus` has joined #ocaml
palomer has joined #ocaml
Denommus has quit [Ping timeout: 276 seconds]
Denommus` is now known as Denommus
<Denommus>
ok
<Denommus>
I need a fixed pointer combinator for loop
<Denommus>
I don't know how to implement it yet, I have to study it
dubosec has quit [Ping timeout: 264 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xificurC has quit [Remote host closed the connection]
xificurC_ has joined #ocaml
badkins has quit []
BitPuffin|osx has quit [Ping timeout: 255 seconds]
asQuirreL has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
palomer has quit [Quit: palomer]
Algebr has quit [Remote host closed the connection]
nullcat has joined #ocaml
hugomg has quit [Quit: Leaving]
darkf has joined #ocaml
swgillespie has joined #ocaml
m4b has quit [Ping timeout: 272 seconds]
matason_ has joined #ocaml
matason has quit [Ping timeout: 264 seconds]
matason has joined #ocaml
olibjerd_ has joined #ocaml
matason_ has quit [Ping timeout: 256 seconds]
manizzle has quit [Ping timeout: 252 seconds]
n3ss3s has quit [Ping timeout: 245 seconds]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shinnya has quit [Ping timeout: 272 seconds]
psy has quit [Read error: Connection reset by peer]
psy has joined #ocaml
manizzle has joined #ocaml
ygrek has quit [Ping timeout: 265 seconds]
robbert has quit [Ping timeout: 264 seconds]
profan has quit [Ping timeout: 264 seconds]
robbert has joined #ocaml
robbert has joined #ocaml
idegen has quit [Quit: Leaving.]
palomer has joined #ocaml
Denommus` has joined #ocaml
olibjerd_ has quit [Ping timeout: 265 seconds]
fraya has joined #ocaml
fraya has left #ocaml ["Leaving"]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nullcat has joined #ocaml
Denommus has quit [Ping timeout: 244 seconds]
Denommus has joined #ocaml
psy has quit [Remote host closed the connection]
mengu has joined #ocaml
mengu has quit [Ping timeout: 264 seconds]
nullcat has quit [Ping timeout: 265 seconds]
manizzle is now known as WeLoveCP
WeLoveCP is now known as manizzle
mcclurmc has quit [Remote host closed the connection]
mort___ has joined #ocaml
mcclurmc_ has joined #ocaml
nullcat has joined #ocaml
matason_ has joined #ocaml
mcclurmc_ has quit [Remote host closed the connection]
tsumetai has quit [Ping timeout: 240 seconds]
tsumetai` has joined #ocaml
palomer has quit [Quit: palomer]
palomer has joined #ocaml
palomer has quit [Quit: palomer]
palomer has joined #ocaml
palomer has quit [Client Quit]
<flux>
wellll, there's the "let in"-trick, but..
<flux>
(re n3ss3s' issue, though he's gone)
mengu has joined #ocaml
mengu has quit [Remote host closed the connection]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<flux>
is FaCiLe at all suitable for constraint-solving layout-problems?
mort___ has quit [Ping timeout: 255 seconds]
pdewacht has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
<flux>
or maybe the nlopt bindings are more suitable..
matason_ has quit [Ping timeout: 264 seconds]
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
Denommus` has quit [Quit: Bye]
Simn has joined #ocaml
pdewacht has joined #ocaml
Haudegen has quit [Ping timeout: 265 seconds]
wildsebastian has joined #ocaml
mengu has joined #ocaml
martintrojer has quit [Max SendQ exceeded]
martintrojer has joined #ocaml
Cyanure has joined #ocaml
Cyanure has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
Haudegen has joined #ocaml
mengu has joined #ocaml
oscar_toro has quit [Ping timeout: 272 seconds]
nullcat_ has joined #ocaml
Bhavya has joined #ocaml
djellemah_ has joined #ocaml
milosn has quit [Ping timeout: 264 seconds]
nullcat_ has quit [Client Quit]
milosn has joined #ocaml
mort___ has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
palomer has joined #ocaml
oscar_toro has joined #ocaml
olibjerd_ has joined #ocaml
seako has quit [Quit: Connection closed for inactivity]
djellemah_ has quit [Ping timeout: 272 seconds]
xificurC_ has quit [Quit: WeeChat 1.1.1]
xificurC has joined #ocaml
<xificurC>
I just added `open Batteries' to the top of my file and got an error on all my type definitions saying `Unbound value Format.asprintf'
<flux>
I guess Batteries doesn't come with Format.asprintf. it's been introduced in ocaml 4.01.0
Pepe_ has joined #ocaml
antkong_ has quit [Quit: antkong_]
<xificurC>
so noone uses batteries right now or what :O How can I solve this
<flux>
well, nobody uses .asprintf is perhaps the correct interpretation :-)
<flux>
I don't know if Batteries has some escape hatch to format
<flux>
but if it doesn't
<flux>
you can: module Format' = Format open Batteries
<flux>
now you have the original Format with name Format'
thomasga has joined #ocaml
<xificurC>
flux: the file doesn't build, with the module defintion or without it
<MercurialAlchemi>
it would be nice if ocaml had a 'from foo import Bar' equivalent
thomasga has quit [Client Quit]
<apache2>
doesn't it kind of have that?
dsheets has quit [Ping timeout: 256 seconds]
<apache2>
let base64_encode d = let open B64 in B64.encode d
<xificurC>
I think it is colliding with ppx_deriving, if I don't derive anything from the type it works
<zozozo>
apache2: you don't need the let open in if you already use Module.function
<reynir>
you can always do 'let foo = Bar.foo'
<xificurC>
any ideas?
<reynir>
you could probably make a ppx for doing that ^^
<apache2>
good point
<apache2>
are there any tools that looks at .ml files and determines which modules to import?
<xificurC>
flux: ah so what you were saying is that Batteries' Format module doesn't include asprintf and I'm using it. But I'm not using it explicitly, it must be ppx_deriving looking for it
<apache2>
it seems a bit strange that you have to specify ocamlfind packages on your own
<zozozo>
apache2: ocamldepends does something like that I think
<apache2>
oh, nice!
<apache2>
`ocamldep`
mengu has quit [Remote host closed the connection]
<zozozo>
apache2: as for ocamlfind packages, there's always the problem of two packages defining the same module : in this case which package would you want to import ?
<haesbaert>
could someone clarify me what are the semantics of a module without a .mli ?
<haesbaert>
I seem to be able to use all the symbols from other modules, so I'm assuming when a module has no .mli, everything is exported ?
Haudegen has quit [Ping timeout: 264 seconds]
<flux>
correct
<haesbaert>
great, thanks :D
<flux>
curiosity: this can result in some code not compiling when it would compile with an empty .mli
<flux>
example.ml: let foo = ref None
<haesbaert>
why so ?
luzie has quit [Remote host closed the connection]
<flux>
because the type of foo is '_a option; the '_a is fixed when it is used within the same module
<haesbaert>
ah I see
<flux>
I guess you can see how it would break down if mod1.ml would have Example.foo := Some "hello" and mod2.ml would have 4 + !(Example.foo)
braibant has joined #ocaml
<flux>
(oops, well not working example but almost ;-))
luzie has joined #ocaml
<haesbaert>
ack, I think I see it
thomasga has quit [Quit: Leaving.]
AltGr has left #ocaml [#ocaml]
Anarchos has joined #ocaml
ocp has joined #ocaml
thomasga has joined #ocaml
<xificurC>
even containers breaks some stuff, like List.find
thomasga has quit [Client Quit]
<flux>
Containers doesn't try to replace the standard library, does it?
<zozozo>
companion_cube: ^^ ?
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adrien_znc>
his future plan is to take over the ocaml compiler directly so that he can remove the stdlib from the source repository and move containers there
<MercurialAlchemi>
sounds like a plan
<MercurialAlchemi>
with ocaml-re for the regexp part?
palomer has quit [Quit: palomer]
ggole has joined #ocaml
kido1412 has quit [Quit: Page closed]
<flux>
ok, so the site does say '..also provides a drop-in replacement to the standard library..'
OnkV has joined #ocaml
<MercurialAlchemi>
well, don't complain if it gets dropped over your head
thomasga has joined #ocaml
Bhavya has quit [Quit: Quit the channel]
larhat has quit [Quit: Leaving.]
fredyr has joined #ocaml
larhat has joined #ocaml
freling has quit [Quit: Leaving.]
oscar_toro has quit [Ping timeout: 244 seconds]
kushal has quit [Ping timeout: 256 seconds]
palomer has joined #ocaml
OnkV has quit [Ping timeout: 244 seconds]
wildsebastian has joined #ocaml
mengu has joined #ocaml
mort___ has quit [Quit: Leaving.]
psy_ has joined #ocaml
sepp2k has joined #ocaml
avsm has joined #ocaml
sdothum has joined #ocaml
axiles has joined #ocaml
kushal has joined #ocaml
palomer has quit [Quit: palomer]
<xificurC>
not sure I understand the jokes, is there something wrong with the lib?
freling has joined #ocaml
psy_ has quit [Ping timeout: 256 seconds]
<flux>
no, the library is quite fine
<flux>
but people like to tease companion_cube maybe?-)
<flux>
also, containers definitely has the best support on #ocaml ;-)
<MercurialAlchemi>
eh, I'd trade the stdlib for containers in a heartbeat
<MercurialAlchemi>
:)
<xificurC>
c-cube's libs look pretty good, from the view of this particular ocaml noob
<xificurC>
any preference of () or begin end?
Haudegen has joined #ocaml
<flux>
a tough one. I tend up to use () always. but I've sometimes considered if begin/end would also have their place.
avsm has quit [Quit: Leaving.]
octachron has joined #ocaml
palomer has joined #ocaml
kushal has quit [Ping timeout: 246 seconds]
oscar_toro has joined #ocaml
<Drup>
xificurC: answer some previous question, but will work regardless: "Just don't open Batteries" =°
<xificurC>
Drup: I thought the purpose of some libs is to open them
<xificurC>
namely the ones that extend/replace stdlib like core, batteries, extlib, containers
<xificurC>
is it a bad idea to e.g. open Containers then?
<Drup>
I just use the CC.. or Bat... modules directly
<Drup>
I never open
<Drup>
it brings stuff in my scope I don't want, shadow other stuff
<Drup>
it's just plain annoying
<Drup>
The exception is for infix operators, like CCFun
_andre has joined #ocaml
<dmbaturin>
Another reason I don't like opening modules is that it makes it hard to remember where exactly that thing comes from next day. :)
mengu has quit [Remote host closed the connection]
<octachron>
I would argue that opening a module is fine if you are using a significant portion of the opened module almost everywhere in your file
thomasga has quit [Quit: Leaving.]
<xificurC>
in this case I understand there's no big difference in calling List.take or CCList.take and it makes it more clear where is the function coming from
lordkryss has quit [Quit: Connection closed for inactivity]
<Drup>
dmbaturin: that can easily be solved with enough merlin
Hannibal_Smith has joined #ocaml
<xificurC>
what is the correct way to write this: ocamlbuild -use-ocamlfind -I /path/to/files /path/to/files/foo.native
Bhavya has quit [Quit: Quit the channel]
Haudegen has quit [Ping timeout: 240 seconds]
<xificurC>
I'm getting an error stating included or excluded directories must be implicit
<zozozo>
xificurC: use the -I before both paths
<dmbaturin>
Drup: Good point.
<theblatte>
xificurC: I think it means that in -Ipath, path is not allowed to be absolute
jonludlam has joined #ocaml
<zozozo>
or use -Is and comma separated paths if I remember correctly
djellemah_ has joined #ocaml
mort___ has joined #ocaml
Hatem has quit [Quit: Leaving]
<xificurC>
trying to get emacs compile the file opened on a shortcut :<
<xificurC>
it seems the compilation is using an older version of the .ml file then what I have in my main directory right now. It's complaining there's an unbound module on line 2, but line 2 is empty
<xificurC>
worked after rm _build/*
* xificurC
feels like a complete idiot when doing ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
freling has quit [Quit: Leaving.]
mcclurmc has joined #ocaml
larhat has quit [Quit: Leaving.]
freling has joined #ocaml
Haudegen has joined #ocaml
thomasga has joined #ocaml
djellemah_ has quit [Ping timeout: 272 seconds]
Anarchos has joined #ocaml
milosn has quit [Quit: leaving]
larhat has joined #ocaml
palomer has quit [Quit: palomer]
thomasga has quit [Quit: Leaving.]
<reynir>
MercurialAlchemi: is that legal python??
<MercurialAlchemi>
no :)
<reynir>
that would be insane heh
<MercurialAlchemi>
sometimes doing import * from foo is convenient
<MercurialAlchemi>
of course, like most convenient things, it can be used for evil
<reynir>
yea
<reynir>
I wish python had foo.(things(from(foo_module)))
mcclurmc has quit [Remote host closed the connection]
<flux>
drup, I must have asked this earlier ;-), but why doesn't ocaml-re support resuming matching when exec_partial returns `Partial. CPS is too big of a performance hit?
<flux>
or perhaps there are other internals making that difficult, haven't looked :-)
mengu has joined #ocaml
Submarine has quit [Quit: Leaving]
shmul has joined #ocaml
mic__ has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
braibant has quit [Ping timeout: 264 seconds]
BitPuffin has joined #ocaml
mort___ has quit [Quit: Leaving.]
pdewacht has quit [Read error: Connection reset by peer]
mort___ has joined #ocaml
shmul has quit [Quit: Page closed]
mengu has quit [Remote host closed the connection]
<xificurC>
is there any difference in Re.compile and Re_posix.compile?
<Drup>
Me: "Why is this two fields in the info record ? They do not really belong semantically"
<Drup>
Jerome: "Because it was optimize for processors with a low number of register"
<Drup>
flux: We are looking how to do that
<flux>
drup, cool!
mic__ has quit [Ping timeout: 246 seconds]
<Drup>
basically, it would be a matter of exposing (some version of) the loop function.
<Drup>
(in re.ml)
<flux>
it would give the ability to match with infinitely long input
darkf has quit [Quit: Leaving]
<flux>
how about exec_partial returning type t = [.. | `Partial of (string -> t)] ?
<flux>
I suppose explicit loop function is fine as well
<Drup>
no, you don't want that
<flux>
why not?-(
<flux>
I guess you don't get matches so far that way
<Drup>
because in practice, you must put the new string back in the buffer
<flux>
in any case I would like to get -out- of the loop if possible
<Drup>
(otherwise, indexing becomes too messy, imagine a group matching some part of the first string and some on the seond string)
<flux>
instead of requiring one to be driven by the Re-module
mort___ has quit [Quit: Leaving.]
<Drup>
flux: the loop function is open
<Drup>
it's not really a loop and more like "find the next state in the automaton"
thomasga has quit [Quit: Leaving.]
<Denommus`>
I'm having nightmares with the word loop :-(
<Drup>
ahah
<adrien_znc>
I'm having nightmares with CSS, JS and C++
<adrien_znc>
consider yourself lucky!
<adrien_znc>
and perl
<adrien_znc>
now I need to get back to my XML over SOAP
<Denommus`>
adrien_znc: I work with JS and C++
<Denommus`>
adrien_znc:... Are you working with me?
<xificurC>
can someone explain where and how can I find what module is called how and should be called how? E.g. I write Re_posix.re in code but have to write re.posix in .merlin. How should I know that?
<adrien_znc>
did you endure Never Gonna Give You Up just a few minutes ago? if not we're not in the same office :P
<Denommus`>
adrien_znc: also SOAP
<Denommus`>
I didn't leave home yet
kdef has joined #ocaml
<adrien_znc>
xificurC: re.posix looks like the "re" ocaœmlfind package with its "posix" subpackage
thibm has left #ocaml ["WeeChat 1.1.1"]
<reynir>
I find it weird how you often can't combine regular expressions in other languages/libs
<adrien_znc>
there's no rule between that and module names
mort___ has joined #ocaml
<xificurC>
adrien_znc: ok, so where can I check the packaging of e.g. re?
<flux>
I guess in a fantasy world there could be a database from module names to .cmas to ocamlfind packages
<adrien_znc>
ocamlfind query re
<adrien_znc>
that would give you the location on the file system of the isntalled files
<adrien_znc>
but many ways to skin a cat
thomasga has joined #ocaml
<flux>
first step: grep -l 'Re_pcre' $(ocamlfind query re)/*.cma
<flux>
second step: grep -C10 're_pcre.cma' $(ocamlfind query re)/META
<flux>
I guess I too could have used this approach earlier :-)
mcclurmc has joined #ocaml
mort___1 has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mort___ has quit [Ping timeout: 245 seconds]
<xificurC>
I'd need to sit down with an ocamler and go through all these things :( I don't know what all these files are anyway, all the extensions used.. cmi, cmo, cmx, o, mliv, mllib etc
<zozozo>
it might be nice to have a tool that, from a module name, finds all packages that export a module with that name
<zozozo>
any idea how hard it would be to write something like that ?
<flux>
in ocaml and not as a shell script? no idea ;-)
<xificurC>
right now I'm mostly guessing what to do when writing stuff. And when I add a dependency I have to edit .merlin, .ocalminit and _tags ..
<dsheets>
zozozo, need to collect this as part of a build/test infrastructure
<flux>
oh, how I completely missed the part of using ocamlobjinfo
<flux>
so I guess I would start with the source code of that
<flux>
and then look at how to use findlib to access the META files
<flux>
I mean if you want to do it properly
<zozozo>
dsheets: sure, but that would already be a great standalone tool I think
<xificurC>
no more tools please! :)
<dsheets>
if you only want to know of already installed packages, yes
<adrien_znc>
flux: also, ocamlobjinfo to peek at cmi files
<xificurC>
isn't there a tool that generates all the *possible* files you need from 1 file? Like for my simple case write down all the deps, run a command and get .merlin, _tags, .ocamlinit
<reynir>
I think maybe there's a script somewhere for generatng .merlin from _tags
<flux>
adrien_znc, would it help, though?
<xificurC>
the language is great and I'm sure all the tools are as well, but it's very steeeeep for a newcomer to learn all of this
<flux>
there's a script for generating .merlin from all available packages
<flux>
haven't seen one for creating one from _tags, though
<flux>
but I suppose optimally this would be implemented with myocamlbuild.ml
mcclurmc has quit [Remote host closed the connection]
<flux>
drup, note that it should allow for using the same kind of structure for looping even if there isn't any regular expression match (ie. partial match) on
<Drup>
what do you mean ?
<flux>
let say I have input "hello" and I have regexp (l)
<flux>
I want to get access to those two separate l matches
<flux>
and I want to resume the matching with new data
<Drup>
right, yes, compatibility with Re.all
<flux>
and the loop would preferably look the same even if my regexp was (ooo)
<Drup>
I have that in mind as well, yes, but you can add it to the ticket
avsm1 has joined #ocaml
agarwal1975 has joined #ocaml
ollehar has quit [Remote host closed the connection]
djellemah_ has joined #ocaml
mcclurmc has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
ocp has quit [Quit: Leaving.]
ollehar has joined #ocaml
avsm1 has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
fredyr has quit [Quit: Lost terminal]
yomimono has quit [Ping timeout: 244 seconds]
Submarine has joined #ocaml
Submarine has joined #ocaml
wildsebastian has quit [Quit: Konversation terminated!]
yomimono has joined #ocaml
oscar_toro has quit [Ping timeout: 245 seconds]
mort___1 has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 264 seconds]
mort___ has joined #ocaml
AlexRussia has quit [Ping timeout: 246 seconds]
ollehar has quit [Remote host closed the connection]
Denommus` has quit [Ping timeout: 255 seconds]
kdef has quit [Quit: Leaving]
ollehar has joined #ocaml
milosn has joined #ocaml
lordkryss has joined #ocaml
fantasticsid has joined #ocaml
milosn has quit [Client Quit]
larhat has quit [Quit: Leaving.]
milosn_ has joined #ocaml
tsumetai` has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ocaml
slash^ has joined #ocaml
Haudegen has quit [Ping timeout: 256 seconds]
milosn_ is now known as milosn
larhat has joined #ocaml
hay207 has joined #ocaml
mort___ has quit [Quit: Leaving.]
fantasti` has joined #ocaml
fantasticsid has quit [Ping timeout: 264 seconds]
avsm1 has joined #ocaml
avsm has quit [Ping timeout: 252 seconds]
freling has quit [Quit: Leaving.]
profan has joined #ocaml
oscar_toro has joined #ocaml
Haudegen has joined #ocaml
palomer has quit [Quit: palomer]
hay207 has quit [Ping timeout: 240 seconds]
MrScout has joined #ocaml
robink has quit [Ping timeout: 244 seconds]
robink_ has joined #ocaml
uris77 has joined #ocaml
robink_ is now known as robink
badkins has joined #ocaml
jwatzman|work has joined #ocaml
octachron has quit [Quit: Leaving]
dsheets has quit [Ping timeout: 240 seconds]
larhat has quit [Quit: Leaving.]
avsm1 has quit [Quit: Leaving.]
mal`` has quit [Ping timeout: 248 seconds]
mal`` has joined #ocaml
tane has joined #ocaml
fantasti` has quit [*.net *.split]
ollehar has quit [*.net *.split]
pyon has quit [*.net *.split]
srcerer has quit [*.net *.split]
nicoo has quit [*.net *.split]
sjrct has quit [*.net *.split]
jave_ has quit [*.net *.split]
companion_cube has quit [*.net *.split]
w1gz has quit [*.net *.split]
companion_square has joined #ocaml
thomasga has quit [Quit: Leaving.]
fantasti` has joined #ocaml
w1gz has joined #ocaml
sjrct has joined #ocaml
nicoo has joined #ocaml
thomasga has joined #ocaml
srcerer has joined #ocaml
jave has joined #ocaml
pyon has joined #ocaml
ollehar has joined #ocaml
mic__ has quit [Ping timeout: 246 seconds]
slash^ has quit [Quit: Leaving.]
yomimono has quit [Ping timeout: 264 seconds]
Haudegen has quit [Ping timeout: 245 seconds]
kdef has joined #ocaml
Hannibal_Smith has joined #ocaml
fantasti` has quit [Remote host closed the connection]
fantasticsid has joined #ocaml
thomasga has quit [Quit: Leaving.]
<Denommus>
what does the syntax [`Foo of bar] means?
thomasga has joined #ocaml
octachron has joined #ocaml
<dmbaturin>
Denommus: type foo = [`Foo or bar] is a polymorphic variant type definition.
slash^ has joined #ocaml
<Denommus>
thank you
fantasticsid has quit [Ping timeout: 255 seconds]
Simn has quit [Ping timeout: 252 seconds]
hay207 has joined #ocaml
toolslive has joined #ocaml
matason has quit []
matason has joined #ocaml
Haudegen has joined #ocaml
<Denommus>
if I have a lazy tuple, can I force ONLY one element of it?
<ggole>
Not unless the bits are lazy
<Denommus>
ggole: hm
<ggole>
You could have a foo lazy_t * bar lazy_t instead of a lazy_t (foo * bar)
<ggole>
Er, a (foo * bar) lazy_t
<Denommus>
ggole: I got it
<Denommus>
I'm thinking about how to use that for my purposes...
<Denommus>
thanks for now
MrScout has quit [Remote host closed the connection]
MrScout has joined #ocaml
ygrek has joined #ocaml
manizzle has quit [Ping timeout: 265 seconds]
djellemah has quit [Ping timeout: 264 seconds]
djellemah_ has quit [Ping timeout: 264 seconds]
nullcat has joined #ocaml
wraithm has joined #ocaml
Simn has joined #ocaml
pdewacht has joined #ocaml
<Denommus>
ok, I quit ArrowLoop, I can't do it -.-
milosn has quit [Read error: Connection reset by peer]
<Simn>
OCaml on our CI complains about "This comment contains an unterminated string literal" on a line that consists of `(* this probably comes from {| completion so we need some context} *)`. What am I not seeing here?