adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
rgrinberg has quit [Quit: WeeChat 1.4]
M-Illandan has joined #ocaml
rgrinberg has joined #ocaml
antkong has quit [Ping timeout: 260 seconds]
antkong has joined #ocaml
antkong has quit [Read error: Connection reset by peer]
snhmib has quit [Quit: WeeChat 1.3]
mistermetaphor has quit [Remote host closed the connection]
tokik_ has quit [Quit: leaving]
tokik has joined #ocaml
Kyo91 has joined #ocaml
Simn has quit [Quit: Leaving]
ygrek_ has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
silver has quit [Quit: rakede]
bba has quit [Read error: Connection reset by peer]
bba has joined #ocaml
bba has quit [Client Quit]
wiredsister has quit [Ping timeout: 276 seconds]
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
twobitsprite has joined #ocaml
<twobitsprite> can anyone help me understand why this code doesn't work: List.fold_right (+) (List.map Char.code (Bytes.to_string d)) 0;;
<twobitsprite> or, more broadly; I'm trying to turn a user-input string in to a seed for Random.init, similar to the way games like Minecraft accept inputing a string as a seed...
<twobitsprite> I figured just summing up the ascii values of the characters would be easy enough, but apparently not..
<twobitsprite> the docs definte Bytes.to_string to be of type "to_string : bytes -> string" but when I call that function in utop, I get a "bytes" instead of a "string" or "char list"...
<twobitsprite> I mean, it can't be this complicated to convert a string to a list of ints that can be summed up, right?
<twobitsprite> I assume I'm just missing something obviously simple...
mistermetaphor has joined #ocaml
<copy`> twobitsprite: You need to pass -safe-string
<twobitsprite> I just tried running coretop with -safe-string, but I still get "This expression has type string but an expression was expected of type bytes"
<copy`> Actually, string isn't char list in OCaml
<copy`> You don't need to convert between bytes and string, just use String.iter or Bytes.iter
badon has quit [Read error: Connection reset by peer]
<pierpa> As far as I know there's no built-in function for converting from string to list of chars, at least in the standard library. You must write one for yourself.
<pierpa> but just for summing the ascii codes you don't need to convert to list
<struk|desk> I am trying to draw the line between bucklescript and js_of_ocaml. Does bucklescript just wrap js_of_ocaml into a backend ocaml compiler which emits js? Eg., js_of_ocaml is a library which could be used for said purpose, or to generate server side json responses, or whatever you want?
hxegon has quit [Ping timeout: 244 seconds]
badon has joined #ocaml
Reshi has joined #ocaml
<copy`> js_of_ocaml takes OCaml bytecode as an input and compiles it to JS
<twobitsprite> pierpa: ?
<twobitsprite> pierpa: don't need to convert to list... then how...?
FreeBirdLjj has joined #ocaml
<pierpa> iterate through the string
<pierpa> let s = ref 0 in String.iter ...
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
<pierpa> if you really needed a list, instead, I use this function: https://bpaste.net/show/66e5fb5d6b02
nicholasf has quit [Read error: Connection reset by peer]
ygrek_ has quit [Ping timeout: 250 seconds]
hxegon has joined #ocaml
nicholasf has joined #ocaml
dsheets has joined #ocaml
<struk|desk> copy`: ah ok. the non-native portable byte code format you mean?
<copy`> Yep
<twobitsprite> pierpa: I'm just trying to get a unique integer from a string...
<twobitsprite> :P
<twobitsprite> basically, just trying to turn a string in to something to seed Random.init
<copy`> So jsoo and bucklescript don't have that much in common
<copy`> They can share js-specific libraries and maybe representation of ocaml values in js
dsheets has quit [Ping timeout: 250 seconds]
hxegon has quit [Quit: BRB]
d0nn1e_ has quit [Ping timeout: 250 seconds]
<Kyo91> twobitsprite: Try using String.iter and Char.code
<twobitsprite> kyo91: String.iter returns unit...
<Kyo91> twobitsprite, first create an int ref, then String.iter (fun s -> yourref := Char.code) str or something similar
<twobitsprite> yuck
<twobitsprite> I mean, I'm not a functional puritan, but it just seems like a hackish way to fold_right over a string...
<twobitsprite> there's got to be a simpler way to sum the ascii values in a string, right?
<pierpa> that's the simplest. If you don't want to use refs, then, explode and fold.
<pierpa> or may want to write a string_fold
<Kyo91> twobitsprite: yeah a fold would be much better. Core's String class supports folding I believe, but I don't know of a better choice for std lib
noddy has quit [Ping timeout: 250 seconds]
Kyo91 has quit [Quit: Leaving]
Kyo91 has joined #ocaml
manizzle has quit [Ping timeout: 268 seconds]
mistermetaphor has quit [Remote host closed the connection]
<twobitsprite> hmm... I'm running "coretop", but for some reason it doesn't recognize String.fold, even though the Core docs clearly indicate a fold function in the Std.String module...
<struk|desk> twobitsprite: "open Core.Std;; String.fold"
<struk|desk> twobitsprite: you can that or whatever you like to ".ocamlinit" too
<twobitsprite> derp, I thought I had already opened Core.Std...
rgrinberg has quit [Ping timeout: 260 seconds]
<twobitsprite> thanks :P
<struk|desk> twobitsprite: working on anything cool or just playing around?
pierpa has quit [Ping timeout: 250 seconds]
<twobitsprite> struk|desk: both...? :P
<twobitsprite> I think Dwarf Fortress is a great game, but it's developed by an idiot who writes shitty code and refuses to open source his game...
<twobitsprite> so, I'm working on a general roguelike engine to implement a Dwarf Fortress clone :P
<twobitsprite> I originally started this project in Python, but...
<twobitsprite> anyway... anyone know why Core has some weird type for summing? I.e.: (module Core_kernel.Commutative_group.S with type t = 'a)
<twobitsprite> WTF is with that sheet?
<twobitsprite> Can't just List.sum a list of ints?
<twobitsprite> I'm trying to do: List.sum (List.map (String.to_list d) Char.to_int);;
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
<twobitsprite> where let d = "asdfqwer";;
<srax> you could implement sum by doing List.fold_left (+) 0 list
<twobitsprite> wouldn't fold_right be more efficient?
<destrius_> twobitsprite: List.sum accepts a first-class module as it's first parameter
<twobitsprite> I mean, aren't lists naturally from left to right, so folding "to the right" be more natural? Or am I completely misunderstanding lists and/or folds?
mistermetaphor has joined #ocaml
<destrius_> so you can generate a sum function for any arbitrary kind of summable type
<destrius_> what you want is List.sum (module Int)
<twobitsprite> destrius_: so, ahh
<twobitsprite> so... how would I use that? I've tries "List.sum (module Int) dl;;"
<destrius_> this seems to work: List.sum (module Int) ~f:ident [1;2;3]
<twobitsprite> (where "dl" is the result of "List.map (String.to_list d) Char.to_int")
<destrius_> i've never really used it before though
<twobitsprite> destrius_: how would you normally go about summing a list of ints then?
<destrius_> i'd probably just do a fold
<destrius_> List.fold ~init:0 ~f:Int.(+) [1;2;3];;
<destrius_> List.sum is possibly more useful when used to sum more complicated types than int
<destrius_> not sure why you need to specify a mapping function too
<twobitsprite> ok, I see
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
<twobitsprite> I hate to be That Guy, but it seem kind of verbose, coming from Haskell, where you would just do: foldl 0 (+) [1,2,3]
<twobitsprite> are the keywords necessary
<twobitsprite> ?
<destrius_> in core, ~init and ~f need to be specified, in the standard library, they don't
<destrius_> it seems more verbose, but there's a reason why they're using labelled arguments
<destrius_> it makes writing pipes a lot easier for example
<twobitsprite> pipes?
<destrius_> [1;2;3] |> List.fold ~init:0 ~f:(+)
<destrius_> or maybe
<twobitsprite> ah
<destrius_> in this case the benefits aren't as clear, but in other functions it is
<destrius_> you can generate exactly the kind of function you need by choosing the right labels
<twobitsprite> wouldn't currying be just as good?
<twobitsprite> and maybe a function like scheme's "cut" to specify uncurried missing arguments?
<twobitsprite> let int_sum = List.fold 0 (+);; let s = int_sum [1;2;3];;
<destrius_> yes, but this way you don't need to create a new binding just for that case
<twobitsprite> I suppose...
<destrius_> anyway i need to be afk for a while, bbiab
antkong has joined #ocaml
<struktured> twobitsprite: cool glad to see more ocaml game initiatives
<twobitsprite> I guess I'm also just used to python's way of handling positional arguments to fill in keyword args... so you could omit the keyword names if you were providing the parameters in the same order
<twobitsprite> struktured: you working on any ocaml games?
<flux> there was this language extension for pa that worked like \(foo \2 \1 \3\) (or something) to make a positionally captured anonymous lambda function for you
<flux> not sure what the ppx version should look like
<flux> [%_ foo _2 _1 _3] perhaps
<struktured> twobitsprite: no I am working on some machine learning stuff and it's surrounding infra..lately..plotting.
jknick_ has quit [Ping timeout: 246 seconds]
<struktured> twobitsprite: so basically you don't have to specify them if you unlabel all of them and they all have distinct types... I think?
<cmk_zzz> just install 4.02.3 using opam switch, then install utop but when I try to run it I get: 4.02.3/bin/ocamlrun': malloc(): memory corruption: 0x00000000009349d0 ***. Have I missed something obvious?
<struktured> cmk_zzz: you need to refresh your shell.
<struktured> cmk_zzz: eval `opam config env`
rgrinberg has joined #ocaml
mahem1 has quit [Remote host closed the connection]
<cmk_zzz> struktured: too simple. Thanks!
<twobitsprite> struktured: doesn't seem to work... even if I specify all of the arguments in order, but without the ~keyword: part, just returns a function with a very complicated type...
<twobitsprite> i.e:
<twobitsprite> utop # List.fold ~init:0 ~f:(+) dl;;
<twobitsprite> - : int = 861
<twobitsprite> vs...
<twobitsprite> utop # List.fold 0 (+) dl;;
<twobitsprite> Error: This expression has type int but an expression was expected of type 'a list
<flux> this is the problem with labeled arguments involving polymorphic return values, I think
<struktured> twobitsprite: I never tried it on a higher ordered types (eg. functions)
<twobitsprite> and even more confusingly: http://pastebin.com/x6Me7Zhj
<twobitsprite> aaaannnddd it's officially midnight... that's irssi for reminding me that I have no life... :P
FreeBird_ has joined #ocaml
<struktured> twobitsprite: ha I guess just label them!! :) or use an unlabeled api
FreeBirdLjj has quit [Ping timeout: 252 seconds]
jknick has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
aantron has quit [Remote host closed the connection]
FreeBird_ has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
_y has quit [Ping timeout: 246 seconds]
tobiasBora has quit [Ping timeout: 260 seconds]
_y has joined #ocaml
jknick has quit [Ping timeout: 244 seconds]
jknick has joined #ocaml
tobiasBora has joined #ocaml
cdidd has quit [Read error: Connection reset by peer]
MercurialAlchemi has joined #ocaml
hxegon has joined #ocaml
cdidd has joined #ocaml
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
ygrek_ has joined #ocaml
mistermetaphor has joined #ocaml
Mercuria1Alchemi has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
g4143 has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
avsej has quit [Quit: Quit]
g4143 has quit [Client Quit]
opop has joined #ocaml
dsheets has joined #ocaml
avsej has joined #ocaml
avsej has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
A1977494 has joined #ocaml
destrius_ is now known as destrius
avsej has quit [Quit: Quit]
avsej has joined #ocaml
avsej has quit [Changing host]
avsej has joined #ocaml
rgrinberg has quit [Ping timeout: 276 seconds]
antkong has quit [Ping timeout: 268 seconds]
antkong has joined #ocaml
Kyo91 has quit [Ping timeout: 250 seconds]
antkong has quit [Quit: antkong]
antkong has joined #ocaml
kushal has quit [Ping timeout: 246 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
antkong has quit [Ping timeout: 244 seconds]
antkong has joined #ocaml
kushal has joined #ocaml
manizzle has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 244 seconds]
TheLemonMan has joined #ocaml
antkong_ has joined #ocaml
antkong has quit [Ping timeout: 276 seconds]
antkong_ is now known as antkong
antkong has quit [Ping timeout: 276 seconds]
antkong has joined #ocaml
Simn has joined #ocaml
antkong has quit [Ping timeout: 252 seconds]
antkong has joined #ocaml
wolfcore has quit [Ping timeout: 250 seconds]
antkong has quit [Ping timeout: 250 seconds]
antkong has joined #ocaml
wolfcore has joined #ocaml
nicholasf has quit [Ping timeout: 252 seconds]
antkong has quit [Ping timeout: 244 seconds]
zpe has joined #ocaml
antkong has joined #ocaml
fluter has quit [Ping timeout: 264 seconds]
sepp2k has joined #ocaml
antkong has quit [Ping timeout: 268 seconds]
fluter has joined #ocaml
antkong has joined #ocaml
Reshi has quit [Ping timeout: 240 seconds]
antkong has quit [Quit: antkong]
MasseR has quit [Quit: WeeChat 1.4]
masse has joined #ocaml
masse is now known as MasseR
AlexRussia has quit [Ping timeout: 260 seconds]
Maxdamantus has quit [Ping timeout: 260 seconds]
Maxdamantus has joined #ocaml
wagle has quit [Ping timeout: 276 seconds]
wagle has joined #ocaml
sepp2k has quit [Quit: Leaving.]
twobitsprite has quit [Remote host closed the connection]
twobitsprite has joined #ocaml
dsheets has joined #ocaml
cat5e has quit [Ping timeout: 276 seconds]
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
cat5e has joined #ocaml
lokien has quit [Ping timeout: 276 seconds]
MercurialAlchemi has joined #ocaml
lokien has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
nicholasf has joined #ocaml
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
nicholasf has quit [Remote host closed the connection]
freehck has joined #ocaml
ygrek_ has quit [Ping timeout: 244 seconds]
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
kolko_ has quit [Ping timeout: 244 seconds]
jwatzman|work has joined #ocaml
ygrek_ has joined #ocaml
kolko has joined #ocaml
madroach_ has joined #ocaml
madroach has joined #ocaml
troydm has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
Sorella has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has joined #ocaml
ygrek_ has quit [Ping timeout: 268 seconds]
hxegon has quit [Ping timeout: 252 seconds]
Kakadu has joined #ocaml
abbiya has joined #ocaml
dsheets has quit [Remote host closed the connection]
bba has joined #ocaml
freehck has quit [Remote host closed the connection]
madroach has quit [Quit: leaving]
madroach_ has quit [Quit: leaving]
madroach has joined #ocaml
silver has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Remote host closed the connection]
iorivur has joined #ocaml
kushal has quit [Quit: Leaving]
nicholasf has joined #ocaml
dsheets_ has joined #ocaml
A19774941 has joined #ocaml
A1977494 has quit [Ping timeout: 250 seconds]
aantron has joined #ocaml
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zpe has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
kushal has joined #ocaml
<vishesh> Is there a way to print arbitrary data? Like Haskell derive Show. Toplevel does it, so I'm hoping there must be something
kushal has quit [Excess Flood]
<flux> there isn't, though :). you can use (ie.) ppx_deriving to generate printers for your data structures.
<flux> there is also the modular implicits branch of the ocaml compiler that some time in the future may provide that printing as well in a nice implicit fashion..
kushal has joined #ocaml
<flux> oh, and there is (ie. in Batteries) Std.dump for dumping the data based on its runtime represesntation
<mrvn> looking forward to that
<flux> that can be useful for debugging
bba has joined #ocaml
<mrvn> flux: does dump work with Weak.t? With 4.03?
Reshi has joined #ocaml
<flux> no idea
<mrvn> 4.03 changes Weak.t so it probably breaks it, if it ever worked.
bba has quit [Client Quit]
<flux> its implementation doesn't match [wW]eak so likely it skips those
<flux> dump (Weak.create 10);; -> "<abstract>"
aantron has quit [Remote host closed the connection]
<flux> soo, has someone tried the modular implicits branch?
<Drup> flux: see logs from yesterday evening
<flux> so kakadu tried with varying success :)
aantron has joined #ocaml
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
nicholasf has quit [Remote host closed the connection]
antkong has joined #ocaml
abbiya has quit [Quit: Leaving]
dsheets_ has quit [Remote host closed the connection]
antkong has quit [Quit: antkong]
copy` has joined #ocaml
sepp2k has joined #ocaml
noddy has joined #ocaml
opop has quit [Ping timeout: 250 seconds]
struk|work has quit [Ping timeout: 250 seconds]
Kakadu has quit [Ping timeout: 250 seconds]
TheLemonMan has quit [Read error: Connection reset by peer]
TheLemonMan has joined #ocaml
troydm has quit [Ping timeout: 244 seconds]
dsheets has joined #ocaml
Kakadu has joined #ocaml
nnhb has joined #ocaml
octachron has joined #ocaml
cdidd has quit [Ping timeout: 244 seconds]
cdidd has joined #ocaml
zpe has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
bba has joined #ocaml
rgrinberg has joined #ocaml
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 244 seconds]
FreeBird_ has quit [Ping timeout: 252 seconds]
freehck has joined #ocaml
<freehck> Hello people. I forgot how can I open in_channel from string. Could anyone help me to revise?
<def`> I think it is not possible.
<pippijn_> depends on what kind of in_channel
<pippijn_> Scanf.Scanning.from_string makes a Scanf.Scanning.in_channel
pippijn_ is now known as pippijn
<freehck> def`: but why?
<pippijn> freehck: do you need a Pervasives.in_channel?
<freehck> Okay, I think I could make in_channel with buffer.
<freehck> pippijn: yup
<pippijn> why?
<freehck> pippijn: because another function works specifically with this type.
<pippijn> and that other function is not written by you?
<freehck> exactly
<pippijn> I see
<pippijn> have you used a function typed string -> Pervasives.in_channel before?
<pippijn> since you forgot and wanted to be reminded
<freehck> Of course. It's open_in! :)
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pippijn> right
BitPuffin has joined #ocaml
<freehck> pippijn: I can't remember if it were specifically Ocaml.
<freehck> It could be Racket Scheme I think.
<pippijn> maybe you used the Scanf one, or a function in one of the many non-standard standard libraries
dexterph has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
<freehck> Hm... Crap. I even can't make in_channel from a buffer. :(
<companion_cube> no, it's a known design issue :/
<freehck> What's a pity. And Ocs module has some reading problems when I create Ocs_port of a in_channel with the offset. :(
<freehck> It continously gives me Seof when I try to read from it.
<freehck> And I just want to remove a shebang from the channel.
<Drup> (just use formatters everywhere instead of channels)
<freehck> Drup: what is a formatter?
zpe has quit [Ping timeout: 260 seconds]
<Drup> Format.formatter
dsheets has quit [Remote host closed the connection]
<freehck> Aaah... Format string ocaml magic.
<companion_cube> Drup: how does Format replace in_channel?
<Drup> oh, *in* channel
<Drup> never mind
<Drup> (well, lexbuf does work, for that, but it's annoying)
bba has joined #ocaml
dsheets has joined #ocaml
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
struktured has quit [Ping timeout: 260 seconds]
fosap__ has joined #ocaml
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
<freehck> Okay, in this case I'd prefer just to write all the file content after shebang into the temporary file.
<freehck> Thank you.
noddy has quit [Ping timeout: 276 seconds]
AlexRussia has joined #ocaml
<fosap__> Hi. I'm trying to compile a *accient* programm written in ocaml. I once successfully let it build, but recently I haven't had any luck. It does not compile because of "inconsistent assumptions over interface Bitmap". There are indeed two different definitions for the type bitmap. I wonder how this was ever allowed, or what could have broken the build process.
<Drup> clean and rebuild
struktured has joined #ocaml
nnhb has quit [Quit: Page closed]
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
zpe has joined #ocaml
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
chris2 has quit [Ping timeout: 276 seconds]
dexterph has quit [Remote host closed the connection]
dexterph has joined #ocaml
chris2 has joined #ocaml
dexterph has quit [Remote host closed the connection]
<fosap__> It was a clean build.
dexterph has joined #ocaml
dexterph has quit [Remote host closed the connection]
<Drup> Hum, then it's difficult to say without the sources
<Drup> (note that two bitmap *types* are not an issue, it's two bitmap *modules* that are)
dexterph has joined #ocaml
<fosap__> I think that there was one arugment too much passed to ocamlopt.opt. I invoked it manually and the expected output file is there. But omake still tries to invoke it again (with the wrong parameters) and fails. I think it should continue after that.
struktured has quit [Ping timeout: 250 seconds]
<fosap__> omake tries to make Runtime.cmx, fails , i invoke the compiler manually, but omake insists on making Runtime.cmx itself, but it can't. Can I tell it to skip this file?
FreeBirdLjj has joined #ocaml
nicholasf has joined #ocaml
jeffmo has joined #ocaml
Mercuria1Alchemi has quit [Ping timeout: 252 seconds]
mettekou has joined #ocaml
<fosap__> anybody any idear how I make omake skip a file?
hcarty has joined #ocaml
aantron has quit [Remote host closed the connection]
aantron has joined #ocaml
g4143 has joined #ocaml
g4143 has quit [Client Quit]
Reshi has quit [Ping timeout: 276 seconds]
zpe has quit [Read error: Connection reset by peer]
picolino has joined #ocaml
anoisz has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
zpe has joined #ocaml
troydm has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
noddy has joined #ocaml
hcarty1 has joined #ocaml
hcarty has quit [Ping timeout: 240 seconds]
slash^ has joined #ocaml
leyyin has joined #ocaml
nicholasf has quit []
mistermetaphor has joined #ocaml
picolino has quit [Remote host closed the connection]
picolino has joined #ocaml
sh0t has joined #ocaml
sh0t has quit [Client Quit]
kushal has quit [Ping timeout: 246 seconds]
pyon has quit [Quit: Ils nyan pasuront pasu!]
kushal has joined #ocaml
kushal has quit [Read error: Connection reset by peer]
zpe has quit [Remote host closed the connection]
natimic has joined #ocaml
pyon has joined #ocaml
darkf has quit [Quit: Leaving]
shinnya has joined #ocaml
Kyo91 has joined #ocaml
rgrinberg has quit [Ping timeout: 268 seconds]
noddy has quit [Ping timeout: 268 seconds]
anoisz has quit [Read error: Connection reset by peer]
ygrek_ has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
octachron has quit [Quit: Page closed]
noddy has joined #ocaml
ygrek_ has quit [Ping timeout: 244 seconds]
dsheets has quit [Remote host closed the connection]
dsheets has joined #ocaml
pyon has quit [Remote host closed the connection]
dsheets has quit [Ping timeout: 250 seconds]
kolko has quit [Ping timeout: 250 seconds]
RossJH has joined #ocaml
zpe has joined #ocaml
Kyo91 has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 260 seconds]
Kyo91 has joined #ocaml
ygrek_ has joined #ocaml
g4143 has joined #ocaml
pyon has joined #ocaml
noddy has quit [Ping timeout: 240 seconds]
g4143 has quit [Quit: Ex-Chat]
Algebr has joined #ocaml
zpe has quit [Remote host closed the connection]
<Drup> seliopou_: just explain the whole thing, with ambiguous flushing and the notion of flushing the underlying stream being costly because it's http stuff
seliopou_ is now known as seliopou
<seliopou> Drup: it's already merged :/
<seliopou> who is that anyways?
<Drup> It's the original author of format :)
<seliopou> :|
<seliopou> aw jeez
<Drup> So, even if he does appear once in a blue moon and doesn't actively develop format, his opinion still hods weight
<Drup> holds*
<seliopou> I'm tempted to just link to the irc logs
sepp2k has quit [Quit: Leaving.]
zpe has joined #ocaml
rpip has quit [Max SendQ exceeded]
rpip has joined #ocaml
RossJH has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pierpa has joined #ocaml
Kakadu has quit [Quit: Page closed]
noddy has joined #ocaml
Kyo91 has quit [Ping timeout: 244 seconds]
noddy has quit [Ping timeout: 268 seconds]
<adrien> my last commit in win-builds; I wish we had more warnings
<adrien> - (c'.package = c'.package) && (c.variant = c'.variant)
<adrien> + (c.package = c'.package) && (c.variant = c'.variant)
<companion_cube> :D
<companion_cube> like, "trivial condition"?
<adrien> exactly!
octachron has joined #ocaml
<adrien> actually that one sounds like it should now be easy to spot
kolko has joined #ocaml
yegods has joined #ocaml
sh0t has joined #ocaml
jeffmo has quit [Quit: jeffmo]
noddy has joined #ocaml
<seliopou> Drup done
<seliopou> :/
BitPuffin has quit [Ping timeout: 240 seconds]
<Drup> seliopou: isn't this code released ?
<Drup> you could link to it
<seliopou> not yet
<seliopou> been working on opam lately, haven't had a chance to finish it
<seliopou> oh, as you know :P
<seliopou> sorry about that, by the way
<seliopou> can't win this week
<Drup> bah, don't worry, I have my moods too :D
sh0t has quit [Ping timeout: 268 seconds]
jeffmo has joined #ocaml
data_hope has joined #ocaml
yegods has quit [Read error: Connection reset by peer]
yegods has joined #ocaml
antkong has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
hxegon has joined #ocaml
RossJH has joined #ocaml
dexterph has quit [Ping timeout: 250 seconds]
bba has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
data_hope has quit [Ping timeout: 240 seconds]
data_hope has joined #ocaml
Kakadu has joined #ocaml
octachron has quit [Quit: Leaving]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
noddy has quit [Ping timeout: 244 seconds]
yegods has quit [Read error: Connection reset by peer]
Stalkr has joined #ocaml
dsheets has joined #ocaml
yegods has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
jeffmo has quit [Quit: jeffmo]
Kyo91 has joined #ocaml
bba has joined #ocaml
RossJH has quit [Quit: Textual IRC Client: www.textualapp.com]
Reventlo1 is now known as Reventlov
Reventlov has quit [Changing host]
Reventlov has joined #ocaml
<Algebr> Doing an OCaml meetup tonight in SF with a different meetup group than SF OCaml meetup, ironically more people going to this other group for an OCaml introduction than have ever come to the SF OCaml meetup itself.
leyyin has quit [Quit: So Long, and Thanks for All the Fish]
<pierpa> the implications are worrying :)
<Drup> I don't really find it surprising
<hcarty1> Algebr: I have the OK from my employer to host an OCaml meetup just outside of DC and in SF if the SF meetup is ever in need of a location
<hcarty1> Algebr: What was the other meetup, if you don't mind my asking?
hcarty1 is now known as hcarty
Kyo9142 has joined #ocaml
<Algebr> Nice! I always need more locations
<Algebr> hcarty: the other meetup was this one: http://www.meetup.com/OpenLate/events/229628135/ the speaker dropped out at last moment and I volunteered with an OCaml spiel, naturally.
<Algebr> hcarty: email me maybe? edgar.factorial@gmail.com
hxegon is now known as hxegon_AFK
pierpa has quit [Ping timeout: 250 seconds]
data_hope has quit [Ping timeout: 252 seconds]
pierpa has joined #ocaml
hxegon_AFK is now known as hxegon
<hcarty> Algebr: Will do, thanks!
dsheets has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
dsheets_ has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
antkong has quit [Quit: antkong]
apache2 has joined #ocaml
dsheets_ has quit [Ping timeout: 250 seconds]
mistermetaphor has quit [Remote host closed the connection]
<ygrek_> heh, nice
solrize has quit [Ping timeout: 264 seconds]
yegods has quit [Read error: Connection reset by peer]
mistermetaphor has joined #ocaml
mistermetaphor has quit [Remote host closed the connection]
mistermetaphor has joined #ocaml
<Algebr> the meetups are completely worth it, people ask great questions and it helps them get over that one hurdle that blocks their OCaml progress
<jtmcf> hcarty: outside of DC?
<jtmcf> i am just starting ocaml, i would love to go to a meetup :D
<jtmcf> or rather, i go to meetups*
<Algebr> jtmcf: where are you now?
<Algebr> or nearby
<jtmcf> i'm in the DC area
mistermetaphor has quit [Remote host closed the connection]
mettekou has quit [Ping timeout: 260 seconds]
yegods has joined #ocaml
<Algebr> Drup: why is jsoo so conservative with releasing? HEAD is 101 commits ahead of 2.7
noddy has joined #ocaml
mistermetaphor has joined #ocaml
kamog has joined #ocaml
Stalkr has quit [Ping timeout: 250 seconds]
zpe has quit [Remote host closed the connection]
<Algebr> is it tied so something else, like ocamlc versioning?
noddy has quit [Ping timeout: 252 seconds]
<Drup> it's tied to hhugo's available time
data_hope has joined #ocaml
fosap__ has quit [Remote host closed the connection]
Kyo9142 has quit [Remote host closed the connection]
data_hope has quit [Ping timeout: 252 seconds]
dsheets_ has joined #ocaml
data_hope has joined #ocaml
jknick has quit [Ping timeout: 244 seconds]
dsheets_ has quit [Ping timeout: 250 seconds]
jknick has joined #ocaml
hcarty has quit [Ping timeout: 244 seconds]
antkong has joined #ocaml
kandu has quit [Ping timeout: 260 seconds]
noddy has joined #ocaml
yegods has quit [Read error: Connection reset by peer]
kandu has joined #ocaml
kandu is now known as Guest55577
mistermetaphor has quit [Remote host closed the connection]
solrize has joined #ocaml
dsheets has joined #ocaml
Algebr` has joined #ocaml
Algebr has quit [Ping timeout: 276 seconds]
yegods has joined #ocaml
dsheets has quit [Ping timeout: 250 seconds]
pierpa has quit [Ping timeout: 276 seconds]
rgrinberg has joined #ocaml
noddy has quit [Ping timeout: 250 seconds]
data_hope has quit [Quit: leaving]
unbalancedparen has joined #ocaml
madroach has quit [Ping timeout: 244 seconds]
<apache2> I'm trying to do something like this:
madroach has joined #ocaml
<apache2> let module Kind : sig end = (val (match kind with First -> (module KindFunctor(FirstKind) | Second -> (module KindFunctor(SecondKind)) ) : Foo)
<apache2> but I'm having trouble defining my Foo to fit both
silver has quit [Quit: rakede]
<apache2> ideally I would be able to define like `module type Foo = module type of KindFunctor(T with type t = 'a)`, but I can't get the syntax right
<Drup> You should define your module type without "module type of", but in this case, it doesn't matter, you should factor the application of KindFunctor out
tizoc has quit [Ping timeout: 260 seconds]
Simn has quit [Quit: Leaving]
Nazral has quit [Ping timeout: 260 seconds]
asmanur has quit [Ping timeout: 260 seconds]
Nazral has joined #ocaml
asmanur has joined #ocaml
lyxia has quit [Ping timeout: 264 seconds]
tizoc has joined #ocaml
lyxia has joined #ocaml
<Kakadu> https://github.com/ocamllabs/ocaml-modular-implicits/issues/50 Any ideas are appreciated. I will read everything tomorrow
<apache2> thanks Drup !
Kakadu has quit [Ping timeout: 268 seconds]