adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | Upcoming OCaml MOOC: https://huit.re/ocamlmooc | OCaml 4.03.0 release notes: http://ocaml.org/releases/4.03.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Nahra has joined #ocaml
nichola__ has joined #ocaml
nicholasf has quit [Ping timeout: 250 seconds]
f[x] has quit [Ping timeout: 276 seconds]
copy` has joined #ocaml
tmtwd has joined #ocaml
soupault has quit [Ping timeout: 244 seconds]
agarwal1975 has joined #ocaml
agarwal1975 has quit [Client Quit]
M-martinklepsch has quit [Ping timeout: 244 seconds]
M-martinklepsch has joined #ocaml
srenatus[m] has quit [Ping timeout: 244 seconds]
srenatus[m] has joined #ocaml
f[x] has joined #ocaml
Denommus has joined #ocaml
silver has quit [Quit: rakede]
pierpa has quit [Ping timeout: 240 seconds]
fraggle_ has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 240 seconds]
struk|desk has quit [Quit: Konversation terminated!]
fluter has quit [Ping timeout: 250 seconds]
fraggle_ has joined #ocaml
rgrinberg has joined #ocaml
fluter has joined #ocaml
Denommus has quit [Ping timeout: 264 seconds]
FreeBirdLjj has joined #ocaml
tmtwd has quit [Ping timeout: 252 seconds]
napis has joined #ocaml
<napis> I'm using 4.03 and core library. When adding [@@deriving show] to some types, corebuild will show errors like this `ppx_type_conv: 'show' is not a supported type type-conv generator`
<napis> how to fix this?
fluter has quit [Ping timeout: 264 seconds]
Denommus has joined #ocaml
<napis> I've already add `<*>: package(ppx_deriving.std)` to the _tags file
pyon has quit [Ping timeout: 244 seconds]
<copy`> Try adding ppx_deriving.show
fluter has joined #ocaml
<napis> copy`: did you mean `[@@deriving ppx_deriving.show]`?
<copy`> No, add -pkg ppx_deriving.show to the corebuild command
<napis> ok i will try that
<napis> `ocamlfind ocamldep -package ppx_deriving.std -package ppx_deriving.show -package core -ppx 'ppx-jane -as-ppx' -modules xxxx.ml`
<napis> still not working
tmtwd has joined #ocaml
<napis> Is this a corebuild problem or a type_conv problem?
<copy`> That's weird
<copy`> Can you try both -pkg ppx_deriving.show and -pkg ppx_deriving
<napis> `ocamlfind ocamldep -package ppx_deriving.std -package ppx_deriving -package ppx_deriving.show -package core -ppx 'ppx-jane -as-ppx' -modules`
<napis> still `ppx_type_conv: 'show' is not a supported type type-conv generator`
<napis> $ cat main.ml type abc = {x: int; y: string; z: abc option;} [@@deriving show]
<napis> $ corebuild -pkg ppx_deriving.show main.byte + ocamlfind ocamldep -package ppx_deriving.show -package core -ppx 'ppx-jane -as-ppx' -modules main.ml > main.ml.depends File "main.ml", line 1, characters 59-63: ppx_type_conv: 'show' is not a supported type type-conv generator Command exited with code 2. Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
ggherdov has quit [Ping timeout: 260 seconds]
<copy`> Try ocamlbuild instead of corebuild
Denommus has quit [Quit: Bye]
<napis> ocamlbuild woks write
<napis> works right
adelbertc has quit [Quit: Connection closed for inactivity]
ggherdov has joined #ocaml
<napis> so how to fix this under corebuild?
<copy`> Copy the contents of the corebuild script (it just calls ocamlbuild with some extra arguments)
<napis> how to print the complete corebuild script?
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<copy`> cat `which corebuild`
<copy`> And remove the ppx line, since it seems to be causing trouble
seangrove has quit [Ping timeout: 244 seconds]
sdothum has joined #ocaml
<napis> -tag "ppx(ppx-jane -as-ppx)" \
<napis> you mean this line?
<copy`> Yeah
<napis> It will cause `Error: Unbound value pp`
<copy`> It works for me, are you compiling more code now?
<napis> yes, is there any generic print method for general type struct variables?
<napis> without deriving
<napis> I just want to show the structure of some variables with type like `list option` or something
<copy`> I'm using ppx_derving.show for that
<napis> even in utop, it will display `utop # let b = {x=1; y= "gg"; z= None};; val b : a = {x = 1; y = "gg"; z = None} `
<napis> in ocamldebug, the `print` command can also show the struct
<copy`> I'm not sure how that works, to be honest
<copy`> Many library also have printing combinators, for example using containers, you can write `CCOpt.pp (CCList.pp CCInt.pp)` to print int list option
<napis> [NOTE] Package ppx_deriving is already installed (current version is 3.3).
<napis> Package ppx_type_conv is already installed (current version is 113.33.01+4.03).
<napis> so what version are you using?
<napis> sorry i'm new to ocaml...
<copy`> Same version
<copy`> Using this script: http://hastebin.com/potadetofe.pl and this command to run: http://hastebin.com/qemucuzahu.lua
<napis> this works, but when adding `open Core.Std` to the first line, it can't build
<napis> wait a minute..
<napis> it works, but my code will use menhir, when adding -use-menhir it breaks as `Error: Unbound value pp`
<napis> `Error: Unbound value pp` point to position of [@@deriving show]
<copy`> Huh
<copy`> I don't think I can help you with that, I've never used menhir
<napis> before 4.02 version, how did programmers print the structure? writing own print function for each type?
<copy`> Yep, that works for many people
<napis> fine, i will go with that approch..
<napis> thanks~
<copy`> Sure. Build problems are quite common for beginners. Don't get discouraged, OCaml is a great language
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rgrinberg has quit [Ping timeout: 260 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
tmtwd has joined #ocaml
rgrinberg has joined #ocaml
adelbertc has joined #ocaml
govg has quit [Ping timeout: 244 seconds]
govg has joined #ocaml
MercurialAlchemi has joined #ocaml
govg has quit [Ping timeout: 244 seconds]
govg has joined #ocaml
<napis> copy`: I fix the deriving problem, `Error: Unbound value pp` means more types need to be deriving show...OCaml is the great...I just need to learn more about it.
govg has quit [Ping timeout: 258 seconds]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Ping timeout: 264 seconds]
tmtwd has quit [Ping timeout: 244 seconds]
Muzer has quit [Ping timeout: 244 seconds]
MercurialAlchemi has joined #ocaml
zxygentoo has joined #ocaml
napis has quit [Quit: Page closed]
zxygentoo has quit [Remote host closed the connection]
zxygentoo has joined #ocaml
zxygentoo has quit [Client Quit]
Muzer has joined #ocaml
Muzer has quit [Ping timeout: 258 seconds]
nichola__ is now known as nicholasf
Muzer has joined #ocaml
d0nn1e has quit [Ping timeout: 250 seconds]
d0nn1e has joined #ocaml
govg has joined #ocaml
kushal has quit [Quit: Leaving]
adelbertc has quit [Quit: Connection closed for inactivity]
copy` has quit [Quit: Connection closed for inactivity]
Simn has joined #ocaml
Algebr` has joined #ocaml
bruce_r has quit [Ping timeout: 258 seconds]
qdwang has joined #ocaml
<qdwang> How to set multiple break hints to a formatter? I can't find the interface in doc.
jimt has quit [Ping timeout: 264 seconds]
jimt has joined #ocaml
<qdwang> When I use pp_set_margin to set a large number like 999 to a formatter, the formatter output will has no line break, how can I force line break just like when the margin in small.
<Algebr`> Is there anyway to get some kind of reflection in OCaml's runtime?
<companion_cube> not that I know of
<Algebr`> Is there any sneaky way to create values in compiled OCaml code, abuse the runtime somehow?
<Algebr`> like make a new function without it being previously defined as an external
<companion_cube> dynamic linking?
<Algebr`> Goal: Write a C program that instantiates an OCaml object and runs a method on it.
<companion_cube> sounds... difficult
<Algebr`> Why is it difficult
<Algebr`> What would be needed to make this happen
<companion_cube> because OCaml is totally compiled, nothing from the language remains at runtime
<companion_cube> I mean it's as difficult as making a C function on the fly and call it
<Algebr`> I thought objects had some extra runtime information
<companion_cube> they are represented by a dispatch table at runtime, but the methods' code is normal code
<companion_cube> it's not interpreted
<Algebr`> Hack: Use compiler-libs to do it on the fly
<companion_cube> maybe if you integrate the bytecode interpreter, you can generate an OCaml file, compile it and load it
<companion_cube> but it sounds far too ugly to anything I would do
<companion_cube> oh, or generate a OCaml file, compile it to native, dynlink it
freusque has joined #ocaml
<companion_cube> but really, it's a weird design that requires this kind of tricks
qdwang has quit [Quit: Page closed]
<Algebr`> darn
AltGr has joined #ocaml
mcc has quit [Quit: Connection closed for inactivity]
<brab> qdwang: I think you want "@ "
<companion_cube> Algebr`: what are you actually trying to do? ^^
<Algebr`> Goal: Write a C program that instantiates an OCaml object and runs a method on it.
<companion_cube> no, but why
<companion_cube> what for
<Algebr`> cool tools in iOS reverse engineering that I use, wanted to add OCaml as a first class citizen
<companion_cube> so is normal dynlink out of question?
<Algebr`> but that's still objects that were defined ahead of time
<companion_cube> (I mean, compile the OCaml part "normally" and dynlink it later)
<Algebr`> yea
<Algebr`> I need reflection, being able to ad-hoc make an OCaml object
<companion_cube> I think you're doomed
<Algebr`> I think so too, mostly.
<flux> how would you use it?
<Algebr`> to get an OCaml object automagically bridged from an Objective-C object.
<flux> does the interface need to be dynamically generated?
<Algebr`> yes
trevorriles has quit [Ping timeout: 276 seconds]
<flux> so you want foo#bar to work so that bar is checked runtime?
<Algebr`> I want to automagically make a foo, which is some objc object, and bar which is some objc method
<flux> I think you could perhaps use some javascript/ppx-approach..
<Algebr`> let ocaml_object_widget = [[UIButton alloc] init]
<flux> use foo##bar and then convert that into a helluva unsafe piece of code
<companion_cube> use lua :p
<flux> in fact, whatever javascript does probably should fit, js is even more dynamic than ObjC
<Algebr`> lol
<Algebr`> yea, JS already does this
<Algebr`> does this bridge, I wanted to add OCaml as another option
<companion_cube> flux might have the right idea with jsoo
<flux> \o/
<Algebr`> I would prefer not to touch/use jsoo
<Algebr`> Okay, this seems like too much work, too many hacks.
trevorriles has joined #ocaml
<companion_cube> jsoo or bucklescript, anyway
<Algebr`> rite
infinity0 has quit [Ping timeout: 250 seconds]
infinity0 has joined #ocaml
<Algebr`> #MakeReflectionGreatAgain
<companion_cube> meh, reflection has a runtime cost :p
<companion_cube> have you considered F# ?
<Algebr`> wait a sec, what about ocamldebug
<companion_cube> bytecode
<Algebr`> can't ocamldebug create ocaml values on the fly
<companion_cube> I don't think so
<companion_cube> and it cannot typecheck on the fly either, afaik
<Algebr`> nah, no f# in my game.
<Algebr`> one day a hero will arise and make ocamldebug amazing.
<companion_cube> heh
<companion_cube> I'd rather have a good gdb compatibility story
<Algebr`> noooo, lldb
<companion_cube> if you say so…
<companion_cube> (not everyone is on mac OS ;-)
<Algebr`> lldb works perfectly fine on linux
<Algebr`> gdb syntax is all ad-hoc
<companion_cube> maybe
<companion_cube> anyway, some decent debugguer with good existing tooling
<Algebr`> lol, I use that page to better use gdb too
<companion_cube> I think there are GUI to gdb, too (or lldb, anyway)
<Algebr`> yea, emacs has a nice gdb interface, rather I like it
<Algebr`> TFW when an emacs minor-mode is something you consider a GUI
zpe has joined #ocaml
<Algebr`> anyway, i digress.
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
<flux> lldb has so weird commands. but is it really more powerful than gdb?
<flux> every few years I try emacs' gdb interface and then end up not using it
<flux> ddd was a very pretty data-structure oriented frontend for gdb, I wonder if it's still being maintained
<Algebr`> I think I know what you're talking about
<flux> it was able to show ie. binary trees with boxes with arrows etc
<companion_cube> oh, really?!
<Algebr`> yea, something amazing
<companion_cube> sounds pretty amazing
<companion_cube> another reason why we need support for gdb
<Algebr`> oh this is one I use https://github.com/gdbinit/Gdbinit
<flux> googling for ddd turned out to be surprisingly risk-free..
infinity0 has quit [Remote host closed the connection]
<Algebr`> gdbinit might be more ARM/apple focused
<Algebr`> ha
<flux> is that not the prettiest thing ever?!
_gt has joined #ocaml
<Algebr`> amazing
<companion_cube> if only it wasn't tk... ^^
<companion_cube> but yeah, pretty cool indeed
<flux> it's motif
<companion_cube> any idea what the boxes on arrows are?
<Algebr`> motif is older than tk right
<flux> boxes are structs and arrows are links from pointer to its destination.. ?
infinity0 has joined #ocaml
<companion_cube> I mean the small squares on some arrows
<companion_cube> m_prev, in this screenshot
<flux> ah :)
<flux> apparently all m_prevs have one
<flux> I was thinking marking modified arcs but probably not
<flux> seems like one under-appreciated tool
nicholasf has quit [Remote host closed the connection]
nicholasf has joined #ocaml
jstolarek has quit [Ping timeout: 244 seconds]
jstolarek has joined #ocaml
freehck has joined #ocaml
<freehck> hello people
<freehck> Do somebody know if object is an abstract type?
<freehck> I mean, can I use ('a, string) Hashtbl.t if 'a is an object I defined?
<Algebr`> using objects as keys?
<freehck> Yes.
<Algebr`> did you try?
<freehck> No. That's why I ask it here.
<Algebr`> Perhaps try first
<flux> I think though the answer is no?
<freehck> It will take more type than just ask here. :)
<freehck> *time
<flux> as objects cannot be compared, can they?
<Algebr`> they have a unique hash
<freehck> Well structures can be compared as I know.
<freehck> So why objects couldn't be compared...
<Algebr`> it will take more time to try out something than to type out a question...? different people learn in different ways I guess
<flux> hmm, I guess objects compare fine, at least in simple case
<flux> I was rather thinking that you cannot compare functions, and objects are sort of collections of functions..
<freehck> flux: at least if they don't consist of abstract values of course.
<freehck> Hm... I think if I compare two objects (ofc of the same type), the comparision must check only their fields. Like in case of structures.
<freehck> So I must try it.
<Drup> (took less time than typing an answer ...)
<Drup> iirc, compare x y for objects is equivalent to compare (Oo.id x) (Oo.id y)
<Algebr`> sounds about right
<Drup> (you can also hash them just fine, but you can't marshal them)
<freehck> Well bad news. http://pastebin.com/G2Yr5902
<freehck> Drup: thanks you too.
jwatzman|work has joined #ocaml
newcomer25 has joined #ocaml
nicholasf has quit [Remote host closed the connection]
newcomer25 has left #ocaml [#ocaml]
Algebr` has quit [Ping timeout: 265 seconds]
<flux> I guess one cannot just use the functor of Hashtbl to make a hash table that uses some object#compare/object#hash to do the magic.
Distortion has joined #ocaml
<Drup> sure
<Drup> you may need a downcast to put a key in the table, though
<Drup> type key = < hash : int >
<Drup> let hash (x:key) = x#hash
<flux> drup, yes, I was hoping without downcasting
<flux> because probably if the key is an object, you want to do things other than just access its hash function
nicholasf has joined #ocaml
pyon has joined #ocaml
Anarchos has joined #ocaml
f[x] has quit [Ping timeout: 244 seconds]
infinity0 has quit [Ping timeout: 244 seconds]
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0_ has joined #ocaml
infinity0_ has quit [Remote host closed the connection]
infinity0 has joined #ocaml
<Drup> flux: except for things like iter, the type of the key is of no importance. You downcast just before adding, and it's fine
infinity0 has quit [Remote host closed the connection]
<flux> it is important for retrieval, no?
<flux> well, not for actually finding
<flux> but indeed things like iter, mapi
danieli has quit [Ping timeout: 276 seconds]
infinity0 has joined #ocaml
silver has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
pyon has quit [Quit: Fix config.]
pyon has joined #ocaml
<_gt> hi
<_gt> the only difference between Hashtbl and Map is that the last one are immutable?
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
danieli has joined #ocaml
danieli has quit [Changing host]
danieli has joined #ocaml
sdothum has joined #ocaml
thizanne has joined #ocaml
<flux> well, hashtable uses hashing and arrays, whereas map uses comparison and binary tree, but on high-level that's correct
_andre has joined #ocaml
sepp2k has joined #ocaml
thizanne has quit [Ping timeout: 276 seconds]
<_gt> flux, thanks
nicholasf has quit [Remote host closed the connection]
<flux> there's actually one other difference
<flux> hashtbl can hold multiple values per one key
nicholasf has joined #ocaml
<flux> you can access them with ie. Hashtbl.iter and Hashtbl.find_all explicitly
<flux> Hashtbl.remove will remove the latest added value
thizanne has joined #ocaml
thizanne has quit [Ping timeout: 264 seconds]
ggole has joined #ocaml
rossberg has quit [Ping timeout: 240 seconds]
copy` has joined #ocaml
tane has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
pierpa has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
rossberg has joined #ocaml
nicholasf has quit [Remote host closed the connection]
adi___ has quit [Ping timeout: 250 seconds]
rfk has quit [Ping timeout: 258 seconds]
tristero has quit [Ping timeout: 258 seconds]
adi___ has joined #ocaml
jtmcf has quit [Ping timeout: 250 seconds]
Fleurety has quit [Ping timeout: 250 seconds]
jtmcf has joined #ocaml
rgrinberg has joined #ocaml
strmpnk has quit [Ping timeout: 250 seconds]
mankyKitty has quit [Ping timeout: 250 seconds]
Sorella has quit [Ping timeout: 250 seconds]
TheLemonMan has joined #ocaml
jeroud has quit [Ping timeout: 250 seconds]
strmpnk has joined #ocaml
mankyKitty has joined #ocaml
Sorella has joined #ocaml
rgrinberg has quit [Client Quit]
jeroud has joined #ocaml
Fleurety has joined #ocaml
rfk has joined #ocaml
rgrinberg has joined #ocaml
tristero has joined #ocaml
agarwal1975 has joined #ocaml
freusque has quit [Ping timeout: 258 seconds]
FreeBirdLjj has joined #ocaml
jstolarek has quit [Ping timeout: 265 seconds]
jstolarek has joined #ocaml
dakk has quit [Quit: Leaving]
jwatzman|work has joined #ocaml
agarwal1975_ has joined #ocaml
agarwal1975 has quit [Ping timeout: 244 seconds]
agarwal1975_ is now known as agarwal1975
FreeBirdLjj has quit [Remote host closed the connection]
nicholasf has joined #ocaml
jyc has quit [Ping timeout: 250 seconds]
jyc has joined #ocaml
nicholasf has quit [Ping timeout: 276 seconds]
AltGr has left #ocaml [#ocaml]
AltGr has joined #ocaml
agarwal1975 has quit [Quit: agarwal1975]
jkni has quit [Ping timeout: 250 seconds]
jkni has joined #ocaml
jgjl has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 252 seconds]
kushal has joined #ocaml
mpenet has joined #ocaml
<mpenet> hi, how do you run the tests on a project like https://github.com/prepor/ocaml-edn ? I have been struggling for ages on this one
<mpenet> (I am trying to submit a patch, but I want to include tests for it)
sepp2k has quit [Quit: Leaving.]
<mpenet> I am just trying to run the current tests but I am hitting a wall with ounit dependency, and I can't find a clear explaination on how to achieve that.
ski has quit [Ping timeout: 276 seconds]
maufred has quit [Ping timeout: 250 seconds]
maufred has joined #ocaml
ski has joined #ocaml
aggelos_ has quit [Ping timeout: 244 seconds]
aggelos_ has joined #ocaml
al-damiri has joined #ocaml
<flux> mpenet, hmm, do you mean installing ounit?
<mpenet> it's installed, I did "opam install ounit" and it's listed if I "opam list"
<mpenet> I just want to understand how to compile the tests for this project
<mpenet> since there's no makefile/_oasis etc, it's not really whay I am used to (newbie here)
<flux> mpenet, the opam file suggests this would work: ocaml pkg/pkg.ml build --tests true; ocaml pkg/pkg.ml test
<flux> I don't know what the "%{pinned}%" expands to, though
tane has quit [Ping timeout: 250 seconds]
<mpenet> it doesnt' work, already tried:
<mpenet> opam list shows ounit, but "./ocaml" doesn't know about it I guess
<flux> mpenet, the ocamlfind package is oUnit
<mpenet> my guess the author has some magic in his .bash_profile that makes ounit available everywhere or something
<flux> ocamlfind list |grep -i ounit would find it
<flux> this is perhaps a bit annoying :)
<mpenet> its' there yes
shinnya has joined #ocaml
<mpenet> still unsure how to run tests then
<infinity0> is it possible to create a circular data structure in ocaml using lazy.t like you can in haskell (because it already has lazy semantics)
<infinity0> oh, found some examples on the net, cool
<mpenet> flux: found it, the tag file should have "<test/*> : package(oUnit)", it had "<test/*> : package(ounit)"
<flux> mpenet, quite strange. perhaps some linux distribution calls it ounit or something.
<mpenet> some file systems are not case sensitive
<mpenet> ex: osx I think
<mpenet> I mean whatever the FS is on osx
tane has joined #ocaml
<mpenet> Thanks for the help, got to run now!
mpenet has quit [Remote host closed the connection]
tane has quit [Quit: Leaving]
zpe has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
kv has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mpenet has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
fred has joined #ocaml
fred is now known as Guest11859
unbalanced has joined #ocaml
Guest11859 has quit [Client Quit]
Guest11859 has joined #ocaml
Guest11859 has quit [Client Quit]
sepp2k has joined #ocaml
mpenet has quit [Remote host closed the connection]
jwatzman|work has quit [Quit: jwatzman|work]
cr4ven has quit [Quit: leaving]
f[x] has joined #ocaml
kushal has quit [Read error: Connection reset by peer]
kushal has joined #ocaml
jgjl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pierpa has quit [Ping timeout: 265 seconds]
jstolarek has quit [Ping timeout: 244 seconds]
_gt has quit [Quit: leaving]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
cschneid has quit [Ping timeout: 250 seconds]
copy` has quit [Quit: Connection closed for inactivity]
cschneid has joined #ocaml
jstolarek has joined #ocaml
nicholasf has joined #ocaml
unbalanced has quit [Quit: WeeChat 1.5]
kushal has quit [Quit: Leaving]
Algebr` has joined #ocaml
kushal has joined #ocaml
f[x] has quit [Ping timeout: 250 seconds]
thizanne has joined #ocaml
nicholasf has quit [Ping timeout: 252 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
agarwal1975 has joined #ocaml
sdothum has joined #ocaml
jkni has quit [Ping timeout: 250 seconds]
jkni has joined #ocaml
cschneid has quit [Ping timeout: 250 seconds]
thizanne has quit [Quit: WeeChat 1.5]
thizanne has joined #ocaml
cschneid has joined #ocaml
keteim has quit [Ping timeout: 264 seconds]
f[x] has joined #ocaml
keteim has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
pierpa has joined #ocaml
sdothum has joined #ocaml
ggole has quit []
kakadu has joined #ocaml
thizanne has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
shinnya has joined #ocaml
evhan has quit [Ping timeout: 258 seconds]
jyc has quit [Ping timeout: 250 seconds]
evhan has joined #ocaml
jyc has joined #ocaml
slash^ has joined #ocaml
tristero has quit [Quit: tristero]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
pyon has quit [Quit: fix config]
pyon has joined #ocaml
Denommus has joined #ocaml
tristero has joined #ocaml
rgrinberg has quit [Quit: WeeChat 1.5]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
Submarine has joined #ocaml
rgrinberg has joined #ocaml
<rgrinberg> Is there a way to format an integer as binary in OCaml?
sepp2k has quit [Quit: Leaving.]
<rgrinberg> I know the printf family can do hex for example.
<Algebr`> I thought it could do binary too
<Algebr`> =/
AltGr has left #ocaml [#ocaml]
f[x] has quit [Ping timeout: 276 seconds]
Algebr` has quit [Ping timeout: 260 seconds]
slash^ has quit [Read error: Connection reset by peer]
_andre has quit [Quit: leaving]
copy` has joined #ocaml
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
MercurialAlchemi has quit [Ping timeout: 244 seconds]
tane has joined #ocaml
f[x] has joined #ocaml
ontologiae has joined #ocaml
d0nn1e has quit [Ping timeout: 265 seconds]
d0nn1e has joined #ocaml
ontologiae has quit [Ping timeout: 258 seconds]
mpenet has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ocaml
Simn has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 240 seconds]
rgrinberg has joined #ocaml
kushal has quit [Excess Flood]
kushal has joined #ocaml
mpenet has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
Submarine has quit [Remote host closed the connection]
agarwal1975 has quit [Ping timeout: 258 seconds]
rgrinberg has quit [Ping timeout: 265 seconds]
tmtwd has joined #ocaml
silver_ has joined #ocaml
silver has quit [Ping timeout: 244 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 252 seconds]
Heasummn has joined #ocaml
nicholasf has joined #ocaml
tane has quit [Quit: Leaving]
tmtwd has quit [Ping timeout: 250 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]