adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
spew has joined #ocaml
Fare has joined #ocaml
spew has quit [Ping timeout: 260 seconds]
Fare has quit [Ping timeout: 244 seconds]
env__ has quit [Ping timeout: 240 seconds]
jbrown has joined #ocaml
pierpa has quit [Quit: Page closed]
kvda has joined #ocaml
spew has joined #ocaml
ygrek has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
silver has quit [Read error: Connection reset by peer]
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
spew has quit [Read error: Connection reset by peer]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
rwmjones has quit [Ping timeout: 255 seconds]
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
rwmjones has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
ygrek has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
tormen_ has joined #ocaml
env__ has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
env__ has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
neatonk has quit [Remote host closed the connection]
neatonk has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
kvda has joined #ocaml
kvda has quit [Client Quit]
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
kvda has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
tarptaeya has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
pk has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
pk has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 260 seconds]
Fare has joined #ocaml
env__ has joined #ocaml
bartholin has quit [Ping timeout: 244 seconds]
JimmyRcom has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
bartholin has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
quipa has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
xvilka has quit [Changing host]
xvilka has joined #ocaml
<xvilka> hi
<xvilka> anyone knows EXT2 filesystem implementation in OCaml?
<xvilka> I thought Mirage would have it, but apparently not
tarptaeya_ has joined #ocaml
tarptaeya has quit [Read error: Connection reset by peer]
tarptaeya_ has quit [Client Quit]
env__ has joined #ocaml
tarptaeya has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
tarptaeya has quit [Ping timeout: 240 seconds]
tarptaeya has joined #ocaml
tarptaeya has left #ocaml [#ocaml]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
nullifidian_ has joined #ocaml
env__ has joined #ocaml
nullifidian has quit [Ping timeout: 240 seconds]
env__ has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
ygrek has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 268 seconds]
ygrek has joined #ocaml
ygrek has quit [Remote host closed the connection]
brykr4 has joined #ocaml
brykr4 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
cross has quit [Quit: Lost terminal]
env__ has joined #ocaml
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
CcxWrk has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
TarVanimelde has joined #ocaml
env__ has joined #ocaml
CcxWrk has quit [Excess Flood]
CcxWrk has joined #ocaml
env__ has quit [Ping timeout: 265 seconds]
env__ has joined #ocaml
kloeri11 has joined #ocaml
kloeri11 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
drot17 has joined #ocaml
drot17 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
catfuneral has joined #ocaml
catfuneral has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
rwmjones has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rwmjones has joined #ocaml
env__ has joined #ocaml
zolk3ri has joined #ocaml
env__ has quit [Ping timeout: 265 seconds]
mt17 has joined #ocaml
mt17 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
linear has joined #ocaml
linear has quit [Killed (Sigyn (Spam is off topic on freenode.))]
JimmyRcom has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
leastbit has joined #ocaml
leastbit has quit [Client Quit]
TarVanimelde has quit [Quit: TarVanimelde]
env__ has joined #ocaml
nullifidian__ has joined #ocaml
<steenuil> I think the closest thing resembling a filesystem mirage has is irmin
<reynir> I think there is a FAT filesystem as well
nullifidian_ has quit [Ping timeout: 240 seconds]
<steenuil> yeah, I just found it
env__ has quit [Ping timeout: 264 seconds]
dhil has joined #ocaml
leastbit has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
leastbit has quit [Quit: Mutter: www.mutterirc.com]
env__ has joined #ocaml
Jesin has quit [Ping timeout: 265 seconds]
Bronsa has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 265 seconds]
jaar has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
digitalcold8 has joined #ocaml
digitalcold8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
notnotdan has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 276 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 265 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
dhil has joined #ocaml
quipa has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
dhil has quit [Ping timeout: 268 seconds]
Jesin has joined #ocaml
Bronsa has quit [Ping timeout: 268 seconds]
vbmithr has joined #ocaml
dfgg18 has joined #ocaml
dfgg18 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
silver has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 256 seconds]
env__ has joined #ocaml
dhil has joined #ocaml
<reynir> Can I get the transitive dependencies of a package somehow?
env__ has quit [Ping timeout: 248 seconds]
Bronsa has joined #ocaml
<theblatte> reynir: not really, no
<reynir> `opam list --recursive --required-by foo.x.y.z` seems to work -- if you don't specify version then it seems to list dependencies for all versions of foo :/
<reynir> Is there syntax for saying 'latest version'?
jaar has quit [Ping timeout: 255 seconds]
env__ has joined #ocaml
<theblatte> reynir: wow, my bad, I had looked before and didn't remember finding anything like this...
manas has joined #ocaml
<reynir> theblatte: no worries, I sometimes can't find things in the opam help pages either :-)
manas has left #ocaml [#ocaml]
env__ has quit [Ping timeout: 268 seconds]
psacrifice has joined #ocaml
env__ has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
env__ has quit [Ping timeout: 260 seconds]
jaar has joined #ocaml
env__ has joined #ocaml
stux|RC-- has joined #ocaml
stux|RC has quit [Ping timeout: 245 seconds]
env__ has quit [Ping timeout: 245 seconds]
env__ has joined #ocaml
_andre has joined #ocaml
silver_ has joined #ocaml
silver has quit [Ping timeout: 240 seconds]
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
psacrifice has quit [Remote host closed the connection]
spew has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
cryptocat1094 has joined #ocaml
env__ has joined #ocaml
haved has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
ptx022 has joined #ocaml
ptx022 has quit [Remote host closed the connection]
Fare has joined #ocaml
haved has quit [Quit: Page closed]
haved has joined #ocaml
haved is now known as havedB
neatonk has quit [Ping timeout: 276 seconds]
env__ has joined #ocaml
havedB has quit [Quit: Page closed]
haved has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
dakk has quit [Remote host closed the connection]
env__ has joined #ocaml
<haved> Hi, I was wondering if there is some nice way of aliasing a type in such a way that you get a new type with explicit conversions between them? I have two aliases for int*int that I want the type system to keep separate.
<mrvn> make them private or abstract
env__ has quit [Ping timeout: 260 seconds]
haved has quit [Quit: Page closed]
<mrvn> BRAND NEW * strawberry cented filament. For those sweet smells while you print.
<mrvn> ups
<companion_cube> c
<companion_cube> c'mon mrvn, we don't take kindly on spammers around here
<mrvn> companion_cube: hey, if you would buy that I can also sell you a bridge in Brooklyn.
env__ has joined #ocaml
<companion_cube> no thanks :p
<reynir> With our IRC ad service you can reach a global audience of OCaml programmers with extraordinary engagement rates!
<companion_cube> heh
env__ has quit [Ping timeout: 260 seconds]
<companion_cube> smallprint: engagement will be 100% hatred towards the advertised thing
<reynir> :D
<mrvn> Get our new core library for free. For only $19.99 + VAT we ship you the source completly free with all mli files (Batteries not included).
env__ has joined #ocaml
<Bronsa> that's actually close to the business model of http://shenlanguage.org/professional.htm
<companion_cube> heh
env__ has quit [Ping timeout: 240 seconds]
neatonk has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
Denommus has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
env__ has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
env__ has joined #ocaml
psacrifice has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
psacrifice has quit [Remote host closed the connection]
env__ has joined #ocaml
env__ has quit [Ping timeout: 276 seconds]
neatonk has quit [Ping timeout: 264 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
neatonk has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 265 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
stux|RC-- has quit [Quit: Aloha!]
stux|RC has joined #ocaml
env__ has joined #ocaml
ygrek has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
FreeBirdLjj has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
raphinou has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
raphinou has quit [Ping timeout: 244 seconds]
dhil has joined #ocaml
env__ has joined #ocaml
mbuf has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
<cryptocat1094> Ardour does much the same.
env__ has quit [Ping timeout: 240 seconds]
dhil has quit [Ping timeout: 244 seconds]
<cryptocat1094> Pay for binary or compile yourself.
<companion_cube> sounds like a safer bet when your audience is not composed of programmers
env__ has joined #ocaml
dhil has joined #ocaml
psacrifice has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
psacrifice has quit [Remote host closed the connection]
psacrifice has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
<cryptocat1094> Yeah. "Downside" is that most distros simply package it now.
<cryptocat1094> A commercial compiler? I thought that model was (thankfully) dead and buried?
<cryptocat1094> :/ Shen why
env__ has quit [Ping timeout: 244 seconds]
cryptocat1094 has quit [Quit: brb]
env__ has joined #ocaml
webshinra has quit [Ping timeout: 256 seconds]
webshinra has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
Jesin has quit [Remote host closed the connection]
jaar has quit [Quit: Leaving]
env__ has joined #ocaml
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
Jesin has joined #ocaml
CcxWrk has joined #ocaml
quipa_ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
env__ has joined #ocaml
cryptocat1094 has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
quipa has quit [Quit: Leaving]
quipa_ is now known as quipa
mbuf has quit [Quit: Leaving]
env__ has joined #ocaml
<benzrf> does ocaml have something like rust's "if let"
<benzrf> oh wait i guess you can just do a match and put () in the fail branch
<benzrf> still a little less ergonomic tho :v
<reynir> how does if let work
<benzrf> well... it's basically a match with () in the fail branch :)
<benzrf> in rust it looks like: if let Some foo = bar {do some shit with foo}
<reynir> Ah, so if bar doesn't match Some foo then unit?
<benzrf> yea
<reynir> maybe you could make a ppx to add a final | _ -> () case :P
<benzrf> i dont know anything about ppx yet
env__ has quit [Ping timeout: 265 seconds]
<reynir> so, you could write »match%iflet bar with Some foo -> do some shit with foo« instead of »match bar with Some foo -> do some shit with foo | _ -> ()«
<thizanne> yeah we don't have this, on the other hand we probably use the unit type a lot less than rust
<thizanne> or if you're using this only on options, you can define your own combinator
<reynir> or probably even »let%if Some foo = bar in do some shit with foo«
<Drup> Doesnt "let if" also allows an "else" branch ?
ygrek has quit [Ping timeout: 248 seconds]
<benzrf> oh yeah it does
<thizanne> but then it's just a match ?
<benzrf> yeah, i think ppl tend to use matches more than if lets with elses
<benzrf> although - you can do else if let and match on a different thing from the original
<benzrf> whereas a multi-clause match can only match on the same value in each branch
<thizanne> that's a nested match ?
<benzrf> yeah, but it doesnt require you to nest your indentation :)
<thizanne> but yeah I get your point it nests more nicely
env__ has joined #ocaml
webshinra_ has joined #ocaml
webshinra has quit [Read error: Connection reset by peer]
<benzrf> i tried writing some imperative code just now and i forgot several times that in ocaml we don't have () -> A ~ A
<benzrf> >.>
webshinra_ has quit [Remote host closed the connection]
webshinra_ has joined #ocaml
<benzrf> rust also has while let which is neat
dhil has quit [Ping timeout: 260 seconds]
<benzrf> why doesnt List.fold_right take the list as its last argument? that seems suboptimal for partial application
<companion_cube> yeah it's messy
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
<benzrf> reading real world ocaml is reminding me how useless texts like this are without exercises
<benzrf> it's lyah all over again
<companion_cube> the exercise is in your heart
nicoo has quit [Ping timeout: 250 seconds]
<benzrf> :|
<benzrf> is it just me or is this waaaaaaaay unnecessary https://i.imgur.com/sxyiAKu.png
<companion_cube> it's one alloc… granted
<benzrf> couldnt it even be optimized away
env__ has quit [Ping timeout: 268 seconds]
nicoo has joined #ocaml
<benzrf> doesnt polymorphic comparison mean keeping type information around at runtime
env__ has joined #ocaml
<thizanne> no
<thizanne> it compares the internal representation of the values
env__ has quit [Ping timeout: 260 seconds]
<benzrf> thizanne: then how is it possible to raise an exception when you try to compare functions?
<benzrf> how can it recognize that they're functions
<benzrf> and how could it distinguish pointers from integers, for example? which would be necessary for structural comparison
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
<thizanne> well you can know if something is a function by looking at its internal representation, and the same goes for pointers and integers
<thizanne> for pointers and integers, the last bit is actually reserved for this
<thizanne> that is, an integer n is represented by the machine integer 2n+1
<thizanne> and pointers end by 0, which they do anyway because of alignment
tobiasBora has quit [Ping timeout: 240 seconds]
<thizanne> functions need a bit more explanation, RWO covers that if that's what you're reading
Fardale has quit [Ping timeout: 265 seconds]
<benzrf> so type information IS kept around at runtime :P
<benzrf> it's just that you needed the information to be there anyway
<thizanne> depends what you mean by "type information"
<benzrf> kk
<thizanne> but yeah obviously runtimes values carry some information, otherwise they would be useless
<thizanne> and it happens that sometimes you can know that two values have different types by looking at this information
<benzrf> i guess i mean it informally like "information that isn't directly put there by the user for the user's usage"
<benzrf> "for the purpose of identifying the type of object it is"
<benzrf> so by that standard, C doesn't have type information at runtime, i guess
sapristi has joined #ocaml
<thizanne> I see
<thizanne> that's probably misleading to call this "type information" though
<thizanne> for instance, [] has the same representation as 0
<benzrf> o:
<thizanne> but [1] is allocated blocks, so totally different
<companion_cube> benzrf: well, does it??
env__ has joined #ocaml
<benzrf> does what what
<companion_cube> does C have any kind of type information at runtime?
<benzrf> i don't think so
<companion_cube> right!
<thizanne> well 1. isn't represented the same way as 1
<thizanne> but you have no runtime so you may just want to manipulate bits and get away with it
<benzrf> bbl
<thizanne> I'm probably not being clear.
<thizanne> and not interesting either so I guess just ignore this
env__ has quit [Ping timeout: 264 seconds]
Fardale has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
ratschance has quit [Remote host closed the connection]
ratschance has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
<reynir> How do you write ppxs these days?
sapristi has quit [Quit: Leaving]
sapristi has joined #ocaml
leastbit has joined #ocaml
sapristi has quit [Client Quit]
<reynir> (last time I did anything ppx there was a blog post by whitequark IIRC)
env__ has joined #ocaml
leastbit has quit [Client Quit]
okuu has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
cryptocat1094 has quit [Quit: WeeChat 2.2]
cryptocat1094 has joined #ocaml
<reynir> Perry: the irc bridge is dead discord->freenode, but I just saw your message
<reynir> I'm guessing discord isn't registered haha
env__ has joined #ocaml
<reynir> Oh, some McKey has registered "discord" but not used it in >2 years
leastbit has joined #ocaml
env__ has quit [Ping timeout: 264 seconds]
leastbit has quit [Client Quit]
sapristi has joined #ocaml
<companion_cube> rename the bridge "odiscord"?
env__ has joined #ocaml
yomimono has joined #ocaml
<benzrf> reynir: "mckey"?
env__ has quit [Ping timeout: 240 seconds]
<reynir> benzrf: Yes, it's some irc user. /msg nickserv info discord
<benzrf> oh i thought maybe "some mckey" was an expression lol
env__ has joined #ocaml
<reynir> :D
env__ has quit [Ping timeout: 240 seconds]
<reynir> benzrf: Well, we can make it an expression now for someone who registers nicks and then abandons them :D
dhil has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
<reynir> I've found this useful for exploring packages and what they provide: ocp-browser --no-opamlib -I $(ocamlfind query somepackage)
<reynir> (you could also pass --no-stdlib as well)
Guest1632 has joined #ocaml
Guest1632 has left #ocaml [#ocaml]
env__ has joined #ocaml
Haudegen has joined #ocaml
Jesin has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 244 seconds]
jack5638 has joined #ocaml
Jesin has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
cryptocat1094 has quit [Quit: gtg]
env__ has joined #ocaml
yomimono has quit [Ping timeout: 240 seconds]
env__ has quit [Ping timeout: 264 seconds]
ygrek has joined #ocaml
yomimono has joined #ocaml
iw00t25 has joined #ocaml
iw00t25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
env__ has joined #ocaml
kakadu has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
env__ has joined #ocaml
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 256 seconds]
env__ has quit [Ping timeout: 248 seconds]
Jesin has quit [Remote host closed the connection]
env__ has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
tokomak has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
env__ has quit [Ping timeout: 265 seconds]
env__ has joined #ocaml
tokomak has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
env__ has quit [Ping timeout: 265 seconds]
Jesin has joined #ocaml
env__ has joined #ocaml
Jesin has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 268 seconds]
Jesin has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
env__ has quit [Ping timeout: 244 seconds]
<sapristi> is there any dune user here ?
<sapristi> i'm trying to move from opam to dune, but i have some problems doing so
<benzrf> why does one do "let () = ..." when it's possible to just do expressions at the file level?
<reynir> Because »let foo x y z = ... let () = ...« looks nicer than »let foo x y z = ...;; ...« mostly
<benzrf> fair
<benzrf> oh it has a note https://i.imgur.com/T3I8xYC.png
env__ has joined #ocaml
dhil has joined #ocaml
env__ has quit [Ping timeout: 268 seconds]
_andre has quit [Quit: leaving]
<reynir> Hmm - when you have a match expression, it's not possible to disable warning 11 (unused match case) for a single match case but only the whole match expression?
<reynir> benzrf: oh yea, that too
<reynir> Sometimes you see »let _ = ..." at the toplevel
pierpa has joined #ocaml
Denommus has quit [Remote host closed the connection]
env__ has joined #ocaml
<sapristi> or what build system do people use that easily integrates tests ?
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
<reynir> benzrf: I implemented "if let" as "let%if :D" https://github.com/reynir/ocaml-let-if
<benzrf> haha
<benzrf> nice
rohan10 has joined #ocaml
rohan10 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<Drup> benzrf: a maybe clearer way to say what thizanne was trying to explain is that the information has to be there anyway because it's necessary for the GC
<Drup> (and other operations in the runtime)
<benzrf> yeah
<Drup> and polymorphic compare just happen to exploit those
<benzrf> :)
<Drup> But it's nowhere near what Typable gives you, in particular
env__ has joined #ocaml
FreeBirdLjj has joined #ocaml
dhil has quit [Ping timeout: 240 seconds]
<benzrf> i'd imagine not
env__ has quit [Ping timeout: 268 seconds]
<reynir> ah, I should have named it ppx_let-if, shouldn't I
env__ has joined #ocaml
env__ has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Ping timeout: 248 seconds]
kakadu has joined #ocaml
kakadu_ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 268 seconds]
spew has quit [Quit: Connection closed for inactivity]
kakadu has quit [Remote host closed the connection]
env__ has joined #ocaml
coventry has joined #ocaml
<coventry> Anyone have an example of using the cors module with ocsigen? If I put <cors/> inside the <server> stanza, I get `Fatal - Error in configuration file: tag <cors> unexpected inside <server>`. If I put it in the <ocsigen> stanza outside <server>, I get a syntax error.
env__ has quit [Ping timeout: 240 seconds]
tobiasBora has joined #ocaml
coventry has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
env__ has joined #ocaml
env__ has quit [Ping timeout: 248 seconds]
tizoc has joined #ocaml
Haudegen has joined #ocaml
sapristi_ has joined #ocaml
sapristi has quit [Ping timeout: 276 seconds]
env__ has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
sapristi_ has quit [Quit: Leaving]
glass has left #ocaml [#ocaml]
theglass has joined #ocaml
Sousapro9 has joined #ocaml
Sousapro9 has quit [Killed (Sigyn (Spam is off topic on freenode.))]