adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.2 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
Guest15198 has quit [Client Quit]
<Drup> rgrinberg: no, because copying everything doesn't work
<Drup> as I said, you need to call piqi on the imports
<rgrinberg> ah yes, ok so then it makes sense
<Drup> unfortunatly, I didn't find how to not hardcode protobuf_include
<Drup> I didn't try very hard
<rgrinberg> Drup: yeah but that's fine. this works well enough for my project
<rgrinberg> btw, what are your thoughts on the recent omake revival?
<Drup> didn't looked at it
<rgrinberg> i'm thinking of switching a medium sized project to it to gain some perf. and sanity
<Drup> you'll tell me how it is then
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
<Algebr> rgrinberg: the perf gains from what I understand were mostly on windows
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Drup> that's not possible
sh0t has quit [Ping timeout: 252 seconds]
<Drup> you can't slower than ocamlbuild
<Drup> +go
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
genki has joined #ocaml
toolslive has quit [Ping timeout: 256 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
AltGr has joined #ocaml
genki has quit [Client Quit]
genki has joined #ocaml
genki has quit [Client Quit]
genki has joined #ocaml
genki has quit [Client Quit]
shinnya has quit [Ping timeout: 252 seconds]
marsam has quit [Remote host closed the connection]
<rgrinberg> Algebr: the perf gains over ocamlbuild were always there
<rgrinberg> i just sort of thought that omake was abandoned a long time ago
antkong has joined #ocaml
amnn has joined #ocaml
toolslive has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
nullcatxxx_ has joined #ocaml
ceryo has joined #ocaml
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ceryo_ has joined #ocaml
sepp2k has quit [Quit: Leaving.]
ceryo has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
<bernardofpc> companion> 'm a bit disappointed that I could not beat Array.sort -> maybe that's something that a compiler must really do well then ?
madroach has quit [Read error: Connection reset by peer]
<bernardofpc> (I'd bet more on a Hashtable for key lookup, but who knows...)
ceryo_ has quit [Ping timeout: 244 seconds]
nullcatxxx_ has quit [Read error: Connection reset by peer]
travisbrady has quit [Quit: travisbrady]
Algebr has quit [Remote host closed the connection]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
nullcatxxx_ has joined #ocaml
nullcatxxx_ has quit [Client Quit]
canhtak has joined #ocaml
clockish has quit [Quit: bye]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
clockish has joined #ocaml
nullcatxxx_ has joined #ocaml
exm has joined #ocaml
antkong has quit [Quit: antkong]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
swgillespie has joined #ocaml
<rgrinberg> is there an alternative to ocaml-crunch?
<rgrinberg> I'm recalling something being announced on caml-list
<rgrinberg> but i can't quite find it
<Drup> there is a thing from ocp
<Drup> ocamlres ?
<rgrinberg> Drup: yes that's it
obadz has quit [Ping timeout: 265 seconds]
<Drup> but you might as well use crunch
<rgrinberg> what was the difference between the 2 again?
<Drup> afaik, one has users
<rgrinberg> which one? :P
<Drup> crunch
<Drup> (there may be technical differences, but I don't know them, both seems similar very similar at first glance)
<rgrinberg> there's also this ppx thing
<Drup> ?
<rgrinberg> ppx_blob
<Drup> I don't see any reason to use a ppx for that
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
obadz has joined #ocaml
nullcatxxx_ has quit [Quit: gone...]
<rgrinberg> Drup: try making a oneliner like this without it https://github.com/johnwhitington/ppx_blob/blob/master/example/quine.ml
<Drup> yes, except that in practice, having a .ml corresponding to a file is better :3
<Drup> I mean, for non toying examples
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
swgillespie has joined #ocaml
nullcatxxx_ has joined #ocaml
tmtwd has joined #ocaml
psy_ has joined #ocaml
psy_ has quit [Max SendQ exceeded]
psy_ has joined #ocaml
sz0 has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
<jmasseo> how do you represent a one byte null in ocaml?
<jmasseo> like if i want to write it to an Out_channel
<Drup> '\000'
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
<jmasseo> like if i want to write it to an Out_channel
<jmasseo> err thx
<jmasseo> Error: No implementations provided for the following modules: Lwt_io referenced from src/main.cmx
<jmasseo> i wonder where i'm going wrong here
<jmasseo> it worked in utop heh
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
toomuchtvrotsurb has quit [Remote host closed the connection]
canhtak has quit [Quit: canhtak]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Enjolras> jmasseo: you need to link the library
<Enjolras> jmasseo: how are you building ? with ocamlbuild ?
psy_ has quit [Ping timeout: 250 seconds]
<jmasseo> i was using corebuild
<jmasseo> i added -pkg lwt.io
<jmasseo> errr -pkg lwt.unix
madroach has joined #ocaml
<Enjolras> shot in the dark, either you forgot -linkpkg, either you forgot -package lwt
<jmasseo> i got it going now
madroach has quit [Read error: Connection reset by peer]
<Enjolras> oh, ok, i don't know corebuild
<jmasseo> now i'm trying to figure out why my stupid program is not working =D
<Enjolras> good luck
<jmasseo> when i iterate over the keys in my hashtable, it works, but when I try to Hashtbl.find, it throws Not Found
madroach has joined #ocaml
<Enjolras> maybe you're not using the same compare function
lopex has quit [Quit: Connection closed for inactivity]
<Enjolras> dites, mozilla qui a décidé de tej NPAPI
<Enjolras> ça veut dire qu'on pourra plus avoir un plugin mpv ou autre ?
<Enjolras> oops sorry :)
<jmasseo> it wasn't Hashtbl throwing Not_Found.
<jmasseo> it was gethostbyname :)
<jmasseo> whoops
<Enjolras> :). I find it annoying that Not_found is so pervasivly used
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
obadz has quit [Ping timeout: 256 seconds]
antkong has joined #ocaml
<seliopou> i'm getting a bizarre error when trying to build oasis from source
<seliopou> expecting an 'a Lazy.t value in a list of strings o_O
obadz has joined #ocaml
<seliopou> jeez, column number doesn't even exist
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
tmtwd has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
lyxia has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
travisbrady has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
jeffmo has joined #ocaml
madroach has joined #ocaml
jeffmo has quit [Ping timeout: 244 seconds]
govg has joined #ocaml
struktured has quit [Ping timeout: 246 seconds]
AltGr has left #ocaml [#ocaml]
lyxia has joined #ocaml
madroach has joined #ocaml
__uu__ has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
ygrek_ has quit [Ping timeout: 264 seconds]
travisbrady has quit [Quit: travisbrady]
darkf has joined #ocaml
madroach has joined #ocaml
jeffmo has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
jeffmo has quit [Quit: jeffmo]
madroach has joined #ocaml
AltGr has joined #ocaml
madroach has joined #ocaml
antkong has quit [Quit: antkong]
madroach has quit [Read error: Connection reset by peer]
govg has quit [Quit: Restarting]
antkong has joined #ocaml
govg has joined #ocaml
madroach has joined #ocaml
struktured has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
mac10688 has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 265 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 246 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
darkf_ is now known as darkf
antkong has quit [Quit: antkong]
lolisa has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
gobbledigook has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
tmtwd has joined #ocaml
johnf_ has quit [Read error: Connection reset by peer]
rgrinberg has quit [Ping timeout: 240 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
slash^ has joined #ocaml
madroach has joined #ocaml
govg has joined #ocaml
johnf_ has joined #ocaml
<struktured> Enjolras: yeah its the least desirable behavior for my use cases
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
tmtwd has quit [Ping timeout: 244 seconds]
rwmjones is now known as rwmjones_holiday
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
rgrinberg has joined #ocaml
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rgrinberg has quit [Ping timeout: 240 seconds]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
MercurialAlchemi has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
__uu___ has joined #ocaml
__uu__ has quit [Ping timeout: 240 seconds]
madroach has joined #ocaml
AltGr has left #ocaml [#ocaml]
madroach has quit [Read error: Connection reset by peer]
AltGr has joined #ocaml
__uu___ has quit [Remote host closed the connection]
swgillespie has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
swgillespie has quit [Remote host closed the connection]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
johnf_ has quit [Read error: Connection reset by peer]
moei has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
keen______ has quit [Read error: Connection reset by peer]
keen______ has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
johnf_ has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
johnf__ has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
johnf_ has quit [Ping timeout: 246 seconds]
canhtak has joined #ocaml
madroach has joined #ocaml
Kakadu has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
Kakadu has quit [Client Quit]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
^elyse^ has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
__uu__ has joined #ocaml
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
AltGr has left #ocaml [#ocaml]
madroach has joined #ocaml
amnn has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
whirm has joined #ocaml
sh0t has joined #ocaml
madroach has joined #ocaml
martintrojer has quit [Read error: No route to host]
madroach has joined #ocaml
madroach has quit [Read error: Connection reset by peer]
iosys has quit [Quit: Leaving]
orbifx has joined #ocaml
madroach has joined #ocaml
aftershave has quit [Quit: Textual IRC Client: www.textualapp.com]
antkong has joined #ocaml
canhtak has quit [Quit: canhtak]
whirm has quit [Quit: WeeChat 1.3]
canhtak has joined #ocaml
whirm has joined #ocaml
__uu__ has quit [Remote host closed the connection]
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mort___ has joined #ocaml
amnn has joined #ocaml
amnn has quit [Client Quit]
orbifx has quit [Quit: WeeChat 1.3]
slash^ has quit [Read error: Connection reset by peer]
amnn has joined #ocaml
whirm has quit [Quit: WeeChat 1.3]
whirm has joined #ocaml
^elyse^ has quit [Quit: Leaving...]
antkong has quit [Quit: antkong]
mort___ has quit [Quit: Leaving.]
psy_ has joined #ocaml
psy_ has quit [Max SendQ exceeded]
mort___ has joined #ocaml
psy_ has joined #ocaml
^elyse^ has joined #ocaml
^elyse^ has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 240 seconds]
orbifx has joined #ocaml
mort___ has quit [Quit: Leaving.]
Haudegen has joined #ocaml
__uu__ has joined #ocaml
__uu__ has quit [Read error: Connection reset by peer]
__uu__ has joined #ocaml
__uu___ has joined #ocaml
__uu__ has quit [Ping timeout: 260 seconds]
pacmann has joined #ocaml
<pacmann> I want to do something like this: type 'a vertex = 'a;; type 'a 'b edge = {link: ('a vertex * 'a vertex); label: 'b};;
<pacmann> Is it possible?
<Enjolras> yes. But the syntax is type ('a, 'b) edge = ...
<pacmann> Thank you. Can I even force 'a to be the same type of of 'a vertex ?
dsheets has joined #ocaml
__uu__ has joined #ocaml
<bernardofpc> pacmann: then you need something to encapsulate both types at the same time
<pacmann> like a module?
<bernardofpc> yes
amnn has quit [Ping timeout: 250 seconds]
<pacmann> Thanks
<bernardofpc> module Graph = struct type v (* for vertices *) type 'b edge = {link: (v * v); label 'b} end I guess
<bernardofpc> probably you would like to have both v and 'b to be the same across all instances, and I guess that's what ocamlgraph does
__uu___ has quit [Ping timeout: 250 seconds]
ggole has joined #ocaml
rand__ has joined #ocaml
<orbifx> any good examples of "functional" and lazy file manipulation of files with ocaml?
mengu has joined #ocaml
ollehar has joined #ocaml
amnn has joined #ocaml
^elyse^ has joined #ocaml
^elyse^ has quit [Quit: Leaving]
mengu has quit [Remote host closed the connection]
^elyse^ has joined #ocaml
mengu has joined #ocaml
mengu has joined #ocaml
mengu has quit [Changing host]
govg has quit [Ping timeout: 252 seconds]
govg has joined #ocaml
<jmasseo> writing an integer to a stream as binary data in lwt
<jmasseo> nm
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jmasseo> if i could figure out how to use it
ceryo has joined #ocaml
<jmasseo> just Lwt_io.write_int i guess
govg has quit [Ping timeout: 272 seconds]
sh0t has quit [Ping timeout: 246 seconds]
whirm has quit [Quit: WeeChat 1.3]
__uu__ has quit [Remote host closed the connection]
amnn has joined #ocaml
__uu__ has joined #ocaml
xet7 has joined #ocaml
mac10688 has joined #ocaml
antkong has joined #ocaml
AlexRussia has quit [Ping timeout: 246 seconds]
amnn has quit [Read error: Connection reset by peer]
ollehar has quit [Ping timeout: 256 seconds]
amnn has joined #ocaml
lolisa has quit [Ping timeout: 260 seconds]
<toolslive> you have primitives to get at the bytes: external get32_prim : string -> int -> int32 = "%caml_string_get32"
<toolslive> and vice versa (and also for 64bit integers too)
canhtak has quit [Quit: canhtak]
<pacmann> Why I get this error? http://pastebin.com/xQYTJWBv
<mrvn> toolslive: anything for float (single precision)?
<Drup> pacmann: you redefined things at some point
<Drup> stop using the top level as a compiler :p
<toolslive> check out ocplibendian
<toolslive> don't forget: byte order is platform specific...
<pacmann> Drup: lol, you're right. Thank you.
ceryo has quit [Quit: Textual IRC Client: www.textualapp.com]
mengu has quit []
shinnya has joined #ocaml
rand__ has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
rand__ has joined #ocaml
toolslive has quit [Quit: Leaving]
zpe has joined #ocaml
rgrinberg has quit [Ping timeout: 268 seconds]
mengu has joined #ocaml
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canhtak has joined #ocaml
rgrinberg has joined #ocaml
mengu has quit [Remote host closed the connection]
^elyse^ has quit [Quit: Leaving]
native_killer has joined #ocaml
slash^ has joined #ocaml
obadz has quit [Ping timeout: 260 seconds]
obadz has joined #ocaml
zpe has quit [Remote host closed the connection]
rgrinberg has quit [Ping timeout: 272 seconds]
rgrinberg has joined #ocaml
native_killer has quit [Ping timeout: 246 seconds]
^elyse^ has joined #ocaml
antkong has quit [Quit: antkong]
rgrinberg has quit [Ping timeout: 264 seconds]
TallerGhostWalt_ has quit [Remote host closed the connection]
dsheets has quit [Ping timeout: 240 seconds]
pacmann has quit [Remote host closed the connection]
pacmann has joined #ocaml
chris2 has quit [Ping timeout: 264 seconds]
dsheets has joined #ocaml
zpe has joined #ocaml
sh0t has joined #ocaml
dsheets has quit [Ping timeout: 268 seconds]
zpe has quit [Read error: Connection reset by peer]
zpe has joined #ocaml
chris2 has joined #ocaml
keen______ has quit [Ping timeout: 244 seconds]
swgillespie has joined #ocaml
__uu___ has joined #ocaml
__uu__ has quit [Ping timeout: 244 seconds]
ljs has joined #ocaml
lopex has joined #ocaml
swgillespie is now known as swgillespie[GT]
Algebr has joined #ocaml
swgillespie[GT] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amnn has joined #ocaml
__uu__ has joined #ocaml
__uu___ has quit [Ping timeout: 264 seconds]
zpe has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
keen______ has joined #ocaml
^elyse^ has quit [Quit: Leaving]
Algebr has quit [Ping timeout: 264 seconds]
Algebr has joined #ocaml
swgillespie has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ocaml
Algebr has quit [Remote host closed the connection]
swgillespie is now known as swgillespie[GT]
ljs has quit [Quit: None]
nullcatxxx_ has joined #ocaml
Algebr has joined #ocaml
__uu___ has joined #ocaml
__uu__ has quit [Ping timeout: 256 seconds]
__uu__ has joined #ocaml
__uu___ has quit [Ping timeout: 250 seconds]
^elyse^ has joined #ocaml
rgrinberg has joined #ocaml
^elyse^ has quit [Client Quit]
rgrinberg has quit [Ping timeout: 250 seconds]
Kakadu has joined #ocaml
ygrek_ has joined #ocaml
exm has left #ocaml [#ocaml]
zpe has joined #ocaml
zpe has quit [Remote host closed the connection]
AlexRussia has joined #ocaml
__uu__ has quit [Remote host closed the connection]
__uu__ has joined #ocaml
<Algebr> What's the opam pin invocation that lets me update a package whenever there's a new commit on the git repo, isn't it like opam pin add http://github/..... -k git?
dsheets has joined #ocaml
<Drup> opam pin add NAME REPO
<Algebr> oh that's it, nice, so whenever the repo updates then opam will be able to update that's package as well
tane has joined #ocaml
ygrek_ has quit [Quit: ygrek_]
malc_ has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
dhil has joined #ocaml
malc_ has quit [Ping timeout: 260 seconds]
dsheets has quit [Ping timeout: 240 seconds]
malc_ has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
<Algebr> Drup: What can I do if I want to make a js object where one of the fields is an OCaml keyword
<Algebr> say I want to make object like <type:string> Js.t, if I do type_, will that also map to type?
<Drup> I guess ?
<Drup> try
Haudegen has joined #ocaml
^elyse^ has joined #ocaml
tane has quit [Quit: Verlassend]
^elyse^ has quit [Quit: Leaving]
ggole has quit []
lopex has quit [Quit: Connection closed for inactivity]
Algebr has quit [Ping timeout: 255 seconds]
alinab has joined #ocaml
alinab_ has joined #ocaml
alinab_ has quit [Client Quit]
alinab has quit [Client Quit]
Haudegen has quit [Ping timeout: 250 seconds]
dhil has quit [Ping timeout: 264 seconds]
canhtak has quit [Quit: canhtak]
Algebr has joined #ocaml
Haudegen has joined #ocaml
uggwar_ has quit [Quit: leaving]
MercurialAlchemi has quit [Ping timeout: 250 seconds]
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Kakadu has quit [Remote host closed the connection]
Kakadu has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
uggwar has joined #ocaml
amnn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nullcatxxx_ has joined #ocaml
mengu has joined #ocaml
mengu has joined #ocaml
lopex has joined #ocaml
antkong has joined #ocaml
sh0t has quit [Ping timeout: 244 seconds]
so has joined #ocaml
nullcatxxx_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
antkong has quit [Ping timeout: 252 seconds]
antkong has joined #ocaml
nullcatxxx_ has joined #ocaml
so has quit [Client Quit]
antkong has quit [Ping timeout: 265 seconds]
antkong has joined #ocaml
t4nk891 has joined #ocaml
<t4nk891> hello! is there a way to use some kind of conditional compilation with Oasis - to select byte or native target?
<t4nk891> e.g. check some env variable I can setup from my makefile or something
<t4nk891> found nothing in the oasis's manual :(
<Drup> if you goal is to compile opt only if it's possible, oasis will do that by himself
<Drup> (as long as you put as target "best")
<t4nk891> I want to have an option to compile byte when I'm implementing something and then opt - when I'm testing or shipping it
<Drup> maybe with flags
<Drup> not sure if the CompiledObject field can change
<t4nk891> just lurking through the Oasis manual and I don't see the way to do that :(
<t4nk891> also, no explanation on what is 'best'
<Algebr> I think best means the best thing available on your system?
<Drup> yes, best is either byte or opt, depending on your system
<Algebr> maybe ocamlopt isn't available but ocamlc is, Drup?
<Algebr> yes
<t4nk891> oh, I see
<t4nk891> I doubt I can do any conditional compilation with oasis, at all
<Drup> this is the way to do this kind of things
<Drup> but in this case, I think it's not possible
<Algebr> There's examples in the oasis src directory, maybe somethign relevant there
<Drup> (it's very limited, annoyingly)
psy_ has quit [Remote host closed the connection]
<t4nk891> oh, it seems that I can try to define a flag and then check it
<t4nk891> are those flags will be parsed by the generated build.ml?
<t4nk891> E: Field 'CompiledObject' cannot be conditional :|
<Algebr> Drup: I made binding class type foo. Then I have another binding class type bar which has a method like method contents : foo Js.t Js.readonly_prop. I then use it with bar##.content##some_method but I get an error of "this expression has type foo Js.t but expression expected fo type (<...> as 'a) Js.t"
<Algebr> (Which is odd cause I'm doing the same thing as I've done before with other bindings...)
rgrinberg has joined #ocaml
t4nk891 has quit [Ping timeout: 246 seconds]
jeffmo has joined #ocaml
antkong_ has joined #ocaml
antkong has quit [Ping timeout: 255 seconds]
antkong_ is now known as antkong
rand__ has quit [Quit: leaving]
^elyse^ has joined #ocaml
malc_ has quit [Quit: leaving]
rgrinberg has quit [Ping timeout: 250 seconds]
shinnya has quit [Ping timeout: 260 seconds]
lolisa has joined #ocaml
orbifx has quit [Quit: WeeChat 1.3]
^elyse^ has quit [Quit: Leaving]
travisbrady has joined #ocaml
Algebr has quit [Ping timeout: 268 seconds]
madroach has quit [Ping timeout: 246 seconds]
madroach has joined #ocaml
Kakadu has quit [Remote host closed the connection]
papna has joined #ocaml
papna has left #ocaml [#ocaml]
travisbrady has quit [Quit: travisbrady]
Algebr has joined #ocaml