adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
Haudegen has quit [Ping timeout: 265 seconds]
HyperTables has joined #ocaml
<HyperTables> hello folks! I'm needing to create a string containing a single character given by integer value x, where x is a variable
<HyperTables> basically how to I go from `Char.chr` to `string`
<HyperTables> fill/blit look like overkill I was hoping there would be a simpler way
<HyperTables> ah I see there is String.make also -- will use that. nvm
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
stux|RC has quit [Quit: Aloha!]
Anarchos has joined #ocaml
olle has quit [Ping timeout: 264 seconds]
olle has joined #ocaml
stux|RC has joined #ocaml
vicfred has quit [Quit: Leaving]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
amiloradovsky has quit [Ping timeout: 260 seconds]
mfp has quit [Ping timeout: 265 seconds]
rgrinberg has quit [Ping timeout: 256 seconds]
bytesighs has quit [Ping timeout: 265 seconds]
caasih has quit [Ping timeout: 260 seconds]
bitonic has quit [Read error: Connection reset by peer]
higherorder has quit [Ping timeout: 256 seconds]
wildsebastian has quit [Ping timeout: 264 seconds]
jeroud has quit [Ping timeout: 272 seconds]
higherorder has joined #ocaml
angerman has quit [Read error: Connection reset by peer]
higherorder has quit [Max SendQ exceeded]
jeroud has joined #ocaml
higherorder has joined #ocaml
higherorder has quit [Ping timeout: 265 seconds]
angerman has joined #ocaml
raver has quit [Remote host closed the connection]
angerman has quit [Ping timeout: 256 seconds]
higherorder has joined #ocaml
angerman has joined #ocaml
wildsebastian has joined #ocaml
bitonic has joined #ocaml
caasih has joined #ocaml
rgrinberg has joined #ocaml
bytesighs has joined #ocaml
higherorder has quit [Ping timeout: 256 seconds]
wildsebastian has quit [Ping timeout: 260 seconds]
bitonic has quit [Ping timeout: 240 seconds]
wildsebastian has joined #ocaml
higherorder has joined #ocaml
bytesighs has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Ping timeout: 272 seconds]
dborisog has joined #ocaml
jeroud has quit [Ping timeout: 246 seconds]
angerman has quit [Ping timeout: 260 seconds]
wildsebastian has quit [Max SendQ exceeded]
bytesighs has joined #ocaml
higherorder has quit [Ping timeout: 260 seconds]
caasih has quit [Ping timeout: 260 seconds]
bytesighs has quit [Ping timeout: 260 seconds]
wildsebastian has joined #ocaml
higherorder has joined #ocaml
higherorder has quit [Max SendQ exceeded]
caasih has joined #ocaml
higherorder has joined #ocaml
bytesighs has joined #ocaml
rgrinberg has joined #ocaml
angerman has joined #ocaml
bitonic has joined #ocaml
raver has joined #ocaml
jeroud has joined #ocaml
appleclusters has joined #ocaml
_whitelogger has joined #ocaml
waleee-cl has quit [Quit: Connection closed for inactivity]
mbuf has joined #ocaml
appleclusters has quit [Quit: Connection closed for inactivity]
bartholin has joined #ocaml
vicfred has joined #ocaml
dckc has quit [Ping timeout: 256 seconds]
dckc has joined #ocaml
cranix_ has quit [Ping timeout: 264 seconds]
Haudegen has joined #ocaml
vicfred has quit [Quit: Leaving]
vicfred has joined #ocaml
Anarchos has joined #ocaml
cranix has joined #ocaml
Serpent7776 has joined #ocaml
amiloradovsky has joined #ocaml
tane has joined #ocaml
raver has quit [Read error: Connection reset by peer]
raver has joined #ocaml
mfp has joined #ocaml
raver has quit [Ping timeout: 256 seconds]
dborisog has quit [Ping timeout: 246 seconds]
ArthurStrong has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
kleisli has quit [Ping timeout: 256 seconds]
kleisli has joined #ocaml
kleisli has quit [Remote host closed the connection]
kleisli has joined #ocaml
dborisog has joined #ocaml
raver has joined #ocaml
kleisli has quit [Read error: Connection reset by peer]
kleisli has joined #ocaml
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
<flux1> companion_cube: how about! `let rec seq_of_gen : 'a CCIO.gen -> 'a Seq.t = fun gen () -> match gen () with | None -> Seq.Nil | Some value -> Seq.Cons (value, seq_of_gen gen)`
kleisli has quit [Ping timeout: 256 seconds]
pigeonv has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
Anarchos has joined #ocaml
<mbuf> Is the latest source of ocabot that is deployed in this channel? https://github.com/c-cube/ocabot
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
Anarchos has joined #ocaml
olle_ has joined #ocaml
raver has quit [Read error: Connection reset by peer]
olle_ has quit [Ping timeout: 256 seconds]
raver has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
Hrundi_V_Bakshi has joined #ocaml
ArthurStrong has quit [Read error: Connection reset by peer]
ArthurStrong has joined #ocaml
dborisog has quit [Ping timeout: 265 seconds]
<companion_cube> it is
<companion_cube> flux1: yes but be careful because that is only iterable once
pigeonv has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
pigeonv has joined #ocaml
zebrag has joined #ocaml
vicfred has quit [Quit: Leaving]
muskan has joined #ocaml
muskan has quit [Ping timeout: 245 seconds]
kleisli has joined #ocaml
<mbuf> companion_cube, any examples on how to use ocabot?
<mbuf> ocabot, hello
peterbb has joined #ocaml
<mbuf> hello ocabot
<mbuf> ocabot mbuf
<mbuf> ocabot, hello mbuf
<mbuf> companion_cube, could you please update the README of ocabot with some usage examples when you have time? thanks!
<Anarchos> what is ocabot
<mbuf> It is a bot
peterbb has quit [Quit: peterbb]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
Anarchos has joined #ocaml
peterbb has joined #ocaml
mbuf has quit [Quit: Leaving]
<flux1> so I did a buy-in in naming exception-throwing functions with suffix `_exn`. would've been easier to just rename all my functions..
<flux1> basically 1) search all raises 2) rename those functions and references to them to have use _exn 3) search all references to _exn-functions 4) if new results, goto 3
<flux1> I think there should be a ppx-based tool to do this analysis!
pigeonv has quit [Ping timeout: 260 seconds]
<flux1> what this leaves to me is to document for each _exn function which exceptions it might throw, and probably wrap a bunch of them
<flux1> ..or possibly start incremental conversion from exceptions to polymorphic variants, but it would lose backtraces
<flux1> is there a way to emulate backtraces?
Jesin has quit [Quit: Leaving]
<flux1> I guess just `try assert false with _ -> Printexc.get_backtrace()` would work
<flux1> oh, actually it works even without an exception
Jesin has joined #ocaml
pigeonv has joined #ocaml
amiloradovsky has quit [Remote host closed the connection]
amiloradovsky has joined #ocaml
olle_ has joined #ocaml
olle_ has quit [Ping timeout: 260 seconds]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
waleee-cl has joined #ocaml
kleisli has quit [Ping timeout: 256 seconds]
jnavila has joined #ocaml
peterbb has quit [Read error: Connection reset by peer]
peterbb has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
kleisli has joined #ocaml
tane has quit [Quit: Leaving]
peterbb has quit [Ping timeout: 256 seconds]
Anarchos has joined #ocaml
pigeonv has quit [Ping timeout: 260 seconds]
Anarchos has quit [Client Quit]
olle has quit [Ping timeout: 264 seconds]
olle has joined #ocaml
pigeonv has joined #ocaml