ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.02.1 announcement at http://ocaml.org/releases/4.02.html | Public channel logs at http://irclog.whitequark.org/ocaml
ontologiae_ has quit [Ping timeout: 256 seconds]
<adrien> yminsky: what are the worst cases so far?
<adrien> (yes, I'm a pessimist)
Stany has joined #ocaml
Tamae has quit [Ping timeout: 244 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nullcat has joined #ocaml
<yminsky> adrien: I don't really have much to share yet. I've only heard a few benchmarks described, and so far its all been good.
manizzle has joined #ocaml
<yminsky> It does seem that compilation time is an issue we need to think about. But for the first release, it's not the end of the world if it's slow, as long as it can be disabled.
<adrien> ok :)
<adrien> also, I do mind slower compile times but I don't mind a slower rebuild before releasing
<adrien> typically we're not talking about C++ compile times which take hours for small projects
<adrien> (good night)
<yminsky> Good night!
manizzle has quit [Ping timeout: 256 seconds]
badon has quit [Quit: Leaving]
systmkor has joined #ocaml
swgillespie has joined #ocaml
<tobiasBora> Hello !
<tobiasBora> I would like to know if there is a simple way to detect/avoir errors like "The files ... and ... make inconsistent assumptions over interface ..."
<tobiasBora> Every time I add new functions to a library I need to clean/recompile every .cmi files...
badon has joined #ocaml
asQuirreL has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nullcat_ has joined #ocaml
<rom1504> sounds like your build process is broken
hilquias has joined #ocaml
mcc has joined #ocaml
<tobiasBora> rom1504: Well if an external lib changes isn't it normal that the files are differents ?
<tobiasBora> And I have another question
<tobiasBora> A function takes an out_channel in input and write some texts in it
<tobiasBora> and I would like to be able to do some tests to see if I want to put the output in this out_channel or not
<tobiasBora> however I cannot modify the function that takes the out_channel
<tobiasBora> so I would like to know if there is a way to create it's own out_channel that can do some tests before writing it in stdout
Tamae has joined #ocaml
<tobiasBora> (and if I could add some text (for example the time the requests occured) it would be nice)
Stany has quit [Read error: Connection reset by peer]
MrScout has joined #ocaml
badkins has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MrScout has quit [Read error: Connection reset by peer]
adc90 has quit [Read error: Connection reset by peer]
adc90 has joined #ocaml
MrScout has joined #ocaml
keen________ has quit [Read error: Connection reset by peer]
keen________ has joined #ocaml
<nullcat_> \ping rgrinberg
darkf has joined #ocaml
badkins has quit []
idegen has quit [Quit: Leaving.]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ygrek has quit [Ping timeout: 264 seconds]
MrScout has quit [Ping timeout: 256 seconds]
rgrinberg has joined #ocaml
<l1x> hey guys i am trying to use Batteries but it is a little confusing
<rgrinberg> hello :P
<l1x> how can i convert File.lines_of (string BatEnum.t) to a string list?
<rgrinberg> l1x: use List.of_enum
<l1x> rgrinberg: great tanks :)
<rgrinberg> l1x: :)
<l1x> i am a total noob
<rgrinberg> l1x: cool, what language are you coming from?
systmkor has quit [Read error: Connection reset by peer]
<l1x> clojure, erlang
<l1x> but i do mostly python, java at work
systmkor has joined #ocaml
<l1x> how about you?
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
<rgrinberg> the languages you've listed minus clojure
<rgrinberg> but i get compensated with a lot of JS instead :P
<l1x> :)
<l1x> i see you are on #riak too
<l1x> i used to do a tonn of riak
<l1x> i wrote a tool to clean up keys in Erlang it was so much fun. no OTP experience yet though.
<l1x> ocaml is a good candidate to replace admin code, as much as I can understand it now. i dont know how concurrency works yet, but I guess it also falls to the category of languages where concurrency is an afterthought (unlike Erlang)
<rgrinberg> "after thought" is a little strong. It's simply isn't builtin
chambart has quit [Ping timeout: 264 seconds]
<l1x> yeah, this is what i meant
<l1x> but that is not a big deal, just limits a little bit the potential use cases (almost like Ruby)
pii4 has quit [Ping timeout: 256 seconds]
<l1x> have you used lwt by any chance?
<rgrinberg> l1x: yep
<rgrinberg> dora-molly: does merlin accept ../ in B and S instructions in .merlin?
psy_ has quit [Read error: Connection reset by peer]
psy_ has joined #ocaml
<dora-molly> rgrinberg: yes
mcc has quit [Quit: This computer has gone to sleep]
<rgrinberg> I'm trying to go to defintion on the Dom_html module
<rgrinberg> Drup: i found another test candidate for ocsigen/cohttp :P https://github.com/camlspotter/ocamloscope
<dora-molly> rgrinberg: I guess you're using the osx case-insensitive but case-aware fs ? :'
* rgrinberg hangs head in shame
<rgrinberg> dora-molly: yes
<l1x> rgrinberg: core is pretty much worth to know, right?
adc90 has quit [Read error: Connection reset by peer]
adc90 has joined #ocaml
shinnya has quit [Ping timeout: 256 seconds]
<rgrinberg> l1x: the community is kind of split on it. I personally think so
<rgrinberg> if you have something you want to work on, you should just use the most hassle free stdlib and proceed
<rgrinberg> which is what core is
<rgrinberg> l1x: batteries is pretty hassle free as well though
BitPuffin|osx has quit [Ping timeout: 258 seconds]
hugomg has quit [Remote host closed the connection]
ygrek has joined #ocaml
<Drup> rgrinberg: I personally think core's documentation is a big hassle :3
<dora-molly> what? core's documentation is big :O?
<rgrinberg> Drup: use the source luke
slash^ has joined #ocaml
MercurialAlchemi has joined #ocaml
Simn has joined #ocaml
swgillespie has joined #ocaml
swgillespie has quit [Client Quit]
A1977494 has joined #ocaml
A1977494 has left #ocaml [#ocaml]
inf-groupoid is now known as inf-gropeoid
AlexRussia has joined #ocaml
Cyanure has joined #ocaml
badon has quit [Disconnected by services]
badon_ has joined #ocaml
badon_ is now known as badon
ggole has joined #ocaml
nullcat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gperetin has joined #ocaml
darkf_ has joined #ocaml
mort___ has joined #ocaml
darkf has quit [Ping timeout: 256 seconds]
mort___ has quit [Read error: Connection reset by peer]
mort___ has joined #ocaml
rgrinberg has quit [Ping timeout: 252 seconds]
ygrek has quit [Ping timeout: 264 seconds]
MercurialAlchemi has quit [Ping timeout: 256 seconds]
A1977494 has joined #ocaml
tane has joined #ocaml
A1977494 has left #ocaml [#ocaml]
matason has joined #ocaml
shinnya has joined #ocaml
rgrinberg has joined #ocaml
matason_ has joined #ocaml
A1977494 has joined #ocaml
matason has quit [Ping timeout: 256 seconds]
Kakadu has joined #ocaml
rgrinberg has quit [Ping timeout: 255 seconds]
A1977494 has left #ocaml [#ocaml]
oscar_toro has quit [Quit: Lost terminal]
ggole has quit [Read error: Connection reset by peer]
matason_ has quit []
ggole has joined #ocaml
ggole has quit [Read error: Connection reset by peer]
ggole has joined #ocaml
Anarchos has joined #ocaml
jwatzman|work has joined #ocaml
asQuirreL has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
yaewa has joined #ocaml
moei has quit [Ping timeout: 258 seconds]
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 265 seconds]
Haudegen has joined #ocaml
jwatzman|work has quit [Quit: jwatzman|work]
mietek has quit [Quit: NO CARRIER]
tsumetai` has joined #ocaml
inf-gropeoid has quit [Quit: zzz]
mietek has joined #ocaml
tsumetai has quit [Ping timeout: 245 seconds]
sdothum has joined #ocaml
mort___ has quit [Quit: Leaving.]
leafac has joined #ocaml
tani has joined #ocaml
tane has quit [Ping timeout: 256 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
TheLemonMan has joined #ocaml
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 265 seconds]
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
mietek has quit [Client Quit]
mietek has joined #ocaml
rand000 has joined #ocaml
darkf_ is now known as darkf
mort___ has joined #ocaml
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
mietek has quit [Quit: NO CARRIER]
mietek has joined #ocaml
sivoais has quit [Ping timeout: 245 seconds]
Gama11 has joined #ocaml
A19774941 has joined #ocaml
sivoais has joined #ocaml
rgrinberg has joined #ocaml
idegen has joined #ocaml
idegen has quit [Remote host closed the connection]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
rgrinberg has quit [Ping timeout: 258 seconds]
psy_ has quit [Ping timeout: 252 seconds]
Hannibal_Smith has joined #ocaml
idegen has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ocaml
adc90 has quit [Read error: Connection reset by peer]
psy_ has joined #ocaml
adc90 has joined #ocaml
octachron has joined #ocaml
leafac has quit [Ping timeout: 250 seconds]
mort___ has quit [Quit: Leaving.]
A19774941 has left #ocaml [#ocaml]
milosn has quit [Quit: leaving]
Haudegen has quit [Ping timeout: 245 seconds]
TheLemonMan has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
QuanticPotato has joined #ocaml
mort___ has joined #ocaml
fedjo has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
fedjo has joined #ocaml
<tobiasBora> Hello !
<tobiasBora> Does anyone knows a way to autogenerate C binding in Ocaml ?
hay207 has joined #ocaml
fedjo has quit [Read error: Connection reset by peer]
fedjo has joined #ocaml
fedjo has quit [Read error: Connection reset by peer]
c355E3B has joined #ocaml
fedjo has joined #ocaml
<tokenrove> tobiasBora: ctypes has cstubs which i think can do what you want
<tobiasBora> tokenrove: I will give it a look thank you. And do you know if it's possible to do the same with C++ (objects) files ?
MercurialAlchemi has joined #ocaml
<adrien> if they reduce to a C API, yes
<tobiasBora> adrien: When the C++ file contains object it may be hard to reduce it to C API no ?
<tokenrove> you could have a C API that passes the object pointer as the first argument.
ontologiae_ has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
ontologiae_ has quit [Quit: WeeChat 1.0]
adc90 has quit [Read error: Connection reset by peer]
adc90 has joined #ocaml
rgrinberg has joined #ocaml
c355E3B has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 255 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
milosn has joined #ocaml
struk has quit [Ping timeout: 256 seconds]
leafac has joined #ocaml
hay207 has quit [Ping timeout: 256 seconds]
Haudegen has joined #ocaml
hay207 has joined #ocaml
badon has quit [Ping timeout: 250 seconds]
adc90 has quit [Quit: leaving]
chambart has joined #ocaml
Ainieco has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 272 seconds]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
badkins has joined #ocaml
Haudegen has quit [Ping timeout: 265 seconds]
QuanticPotato has quit [Ping timeout: 240 seconds]
QuanticPotato has joined #ocaml
Ainieco has left #ocaml [#ocaml]
shinnya has quit [Ping timeout: 256 seconds]
darkf has quit [Quit: Leaving]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 264 seconds]
QuanticPotato has quit [Ping timeout: 272 seconds]
QuanticPotato has joined #ocaml
QuanticPotato has quit [Remote host closed the connection]
<TallerGhostWalt> oin #plowtech
Haudegen has joined #ocaml
rgrinberg has joined #ocaml
jeffmo has quit [Read error: Connection reset by peer]
rgrinberg has quit [Ping timeout: 265 seconds]
jeffmo has joined #ocaml
mort___ has quit [Quit: Leaving.]
octachron has quit [Ping timeout: 264 seconds]
Anarchos has joined #ocaml
Hannibal_Smith has joined #ocaml
hilquias has quit [Remote host closed the connection]
smtb has joined #ocaml
<smtb> What is the best way to debug a Unix.Unix_error(15, "pipe", "")
<adrien> strace
<adrien> strace -tt -e pipe -s 128 -f <your app> <your app's args>
<adrien> (and if you need more context, remove the "-e pipe" and add "-o some_log_file"
<adrien> )
<smtb> Thanks!
<flux> smtb, but if it's a general socket-using applicatino, the fault is likely writing to a socket after a peer has closed it
rgrinberg has joined #ocaml
mspo has joined #ocaml
<adrien> it's quite likely to be EPIPE but that means something has setup a SIG_IGN handler for SIGPIPE and in that case it would be interesting to know which frameworks are in use
rgrinberg has quit [Ping timeout: 258 seconds]
rgrinberg has joined #ocaml
leafac has quit [Ping timeout: 250 seconds]
chambart has quit [Ping timeout: 255 seconds]
Haudegen has quit [Ping timeout: 265 seconds]
shinnya has joined #ocaml
yaewa has quit [Quit: Leaving...]
moei has joined #ocaml
<smtb> Well I think that the problem is arising due to the use of Lwt.
<smtb> I must be doing something wrong with the library
Haudegen has joined #ocaml
leafac has joined #ocaml
<adrien> if the signal handler weren't there, your process would be killed by the kernel
rgrinberg has quit [Ping timeout: 256 seconds]
<adrien> having it turned into an exception means you can handle it
<adrien> unfortunately there is no standard way to not receive SIGPIPEs when writing to a pipe which other end has been closed
Hannibal_Smith has quit [Quit: Leaving]
<smtb> How sholud I begin looking at the output? I don't have much experience with this type of stuff? Do you know of a good tutorial / reference you could point me to?
<adrien> output of strace?
<smtb> yes
<adrien> well, what was the last line mentioning "pipe" in the first command I gave you?
<mfp> let _ = Sys.set_signal Sys.sigpipe Sys.Signal_ignore is std practice when using lwt
<flux> adrien, "no standard way" isn't setting SIGPIPE to SIG_IGN exactly that?
<adrien> flux: sorry, on a per-call basis
<mfp> wait a sec, Unix_error 15 is EMFILE, not EPIPE
<adrien> hmm
<flux> mfp, are you looking at errno.h?
<flux> I think the numbers are off-by-one cmopared to that
<flux> actually what is the second field anyway. you're creating a pipe?-)
<adrien> "function name"
<smtb> The output generated is also a massive file, from ~10min of the native file runnig it has generated appx. 37.5 MB
<adrien> (just checked the doc)
rgrinberg has joined #ocaml
<adrien> smtb: for the second command or for the first one?
<flux> but yes, mfp is correct
<smtb> the second command
<mfp> flux: the error type definition in unix.mli
<flux> EMFILE Too many file descriptors are in use by the process.
<adrien> ah :)
<adrien> nice catch :)
<flux> got tricked by the too-common-error-aspect :-)
<smtb> I have had issues with too many file descriptors in the past when using Lwt and never really figured out how to solve them
<adrien> flux: ;p
<adrien> smtb: well, strace is your friend then
<adrien> actually you have several friends there
<mfp> seems the "pipe" string lead everybody to think "yep, SIGPIPE" :)
<adrien> strace being one
<adrien> and another one being to look at /proc/<pid>/fd (ls -l on that directory)
<mfp> *led
<adrien> you will be able to see which file descriptors are not being closed
<ggole> Probably an fd leak
<smtb> Could it be an issue if I am have my program entry point set up like this:
<ggole> Fun to track down
<smtb> let main () = while true do Lwt_main.run @@ (Lwt returning function); done;; let () = main ()
<smtb> where (Lwt returning function) has type unit -> unit Lwt.t
<ggole> smtb: one thing to try is to filter out everything but open and close from the strace output
<mfp> smtb: strace -e trace=open,close -p PID
rgrinberg has quit [Ping timeout: 252 seconds]
<adrien> and pipe :)
<adrien> at least
<ggole> Uh, yeah
<adrien> I'd also add socket probably
<ggole> Or maybe trace=desc or whatever that is
<ggole> -e trace=desc Trace all file descriptor related system calls.
<adrien> oh, wasn't aware of that one, it's nice to have it
<smtb> so something like this: strace -e trace=open,close,pipe,desc -p PID -tt -o error_log.txt -s 128 -f ./my_file.native
<mfp> huh this looks like a bug in ocaml-ssl Ssl.Read_error Ssl.Error_syscall when the other end closes -> http://paste.debian.net/182632/
<mfp> also happens against openssl s_server
<mfp> expected a Error_zero_return or simply Ssl.read to return 0
<vbmithr_> j0sh: reynir: please check out https://github.com/vbmithr/ocaml-websocket/tree/dev and tell me if you like the new API. IMO it is better to work with & to reason about.
<mfp> I'm seeing this w/ openssl 1.0.1e-2+deb7u16, can anybody reproduce? (build command included in paste)
nullcat has joined #ocaml
pyon has joined #ocaml
pyon has quit [Client Quit]
inf-gropeoid has joined #ocaml
<mfp> false alarm, it's _both_ google.com and openssl s_server not performing a clean TLS shutdown, facebook.com does and we get a Error_zero_return
<adrien> the wonderful world of ssl and tls
<mfp> I already suspected google.com was cheating, but I thought openssl s_server at least would do the proper thing
<adrien> that's actually what should have made you doubt :P
<mfp> fwiw microsoft.com does No Evil and actually does TLS-shutdown + tell me that the requested url "&#47;" is invalid
BitPuffin|osx has joined #ocaml
<mfp> yay akamai
mort___ has joined #ocaml
<mspo> try some other cdn
<nullcat> rgriberg: hi
<mfp> akamai is not very smart is it, GET / HTTP/1.0 returns 400, bad url "&#47;" same with GET / HTTP/1.1\r\nHost: microsoft.com it actually has to be Host: www.microsoft.com
leafac has quit [Ping timeout: 244 seconds]
<mspo> mfp: most cdn work like that
<mspo> how else would they route anything?
<mfp> couldn't it also route microsoft.com instead of relying on the CNAME only?
<mfp> (note that it chokes on Host: microsoft.com)
<mspo> mfp: microsoft probably would have to set it up. They might not have their apex domain pointed to an akamai IP address, so skipped it
<mspo> mfp: which is something someone would do, like I do every single day at my job ;)
<mspo> .. and I'm right
<mspo> mfp: 134.170.185.46 (what dig microsoft.com gives me) is MS IP space, www pointed me to akamai
<mfp> anyway, it shuts down TLS properly, so it's official, Microsoft is more developer-friendly than Google, you can test ocaml-ssl against the former's servers but not the latter's :)
<mspo> I suspect 134.170.185.46 will redirect me
<mfp> ah yes, I did connect to www.microsoft.com but then say Host: microsoft.com and akamai barfed on it, my fault :)
<mspo> shouldn't the client handle common use cases?
Hannibal_Smith has joined #ocaml
<mfp> and got funny results when pointing against www.google.com and stuff
<mspo> got it. (going back to lurking)
<mfp> sorry for the noise :-/
rgrinberg has joined #ocaml
Kakadu has quit [Quit: Page closed]
mcclurmc_ has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
mcclurmc has quit [Ping timeout: 252 seconds]
matason has joined #ocaml
Reventlov has quit [Quit: leaving]
Reventlov has joined #ocaml
ygrek has joined #ocaml
swgillespie has joined #ocaml
hilquias has joined #ocaml
matason has quit []
jabesed has joined #ocaml
MercurialAlchemi has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
rgrinberg has joined #ocaml
jabesed has quit [Ping timeout: 265 seconds]
mort___ has quit [Quit: Leaving.]
jabesed has joined #ocaml
Kakadu has joined #ocaml
idegen has quit [Quit: Leaving.]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
slash^ has quit [Read error: Connection reset by peer]
ggole has quit []
jabesed has quit [Quit: Konversation terminated!]
jabesed has joined #ocaml
asQuirreL has quit [Ping timeout: 245 seconds]
asQuirreL has joined #ocaml
badon has joined #ocaml
smtb has quit [Quit: Page closed]
inf-grop1 has joined #ocaml
inf-gropeoid has quit [Read error: Connection reset by peer]
inf-grop1 is now known as inf-gropeoid
rgrinberg has quit [Ping timeout: 258 seconds]
swgillespie has joined #ocaml
Anarchos has quit [Ping timeout: 276 seconds]
Anarchos has joined #ocaml
jabesed has quit [Ping timeout: 256 seconds]
robink has quit [Ping timeout: 248 seconds]
robink_ has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 250 seconds]
dariusc93 is now known as darius93
rgrinberg has joined #ocaml
idegen has joined #ocaml
jonludlam has joined #ocaml
rgrinberg has quit [Ping timeout: 264 seconds]
matason has joined #ocaml
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matason has quit [Client Quit]
matason has joined #ocaml
ollehar has joined #ocaml
rgrinberg has joined #ocaml
jabesed has joined #ocaml
<ollehar> so... interdependency between functor in one file and regular module in another - solvable?
jabesed has quit [Ping timeout: 256 seconds]
inf-gropeoid has quit [Quit: restart]
<companion_cube> why does the functor depend on the module? :)
jonludlam has quit [Ping timeout: 252 seconds]
hay207 has quit [Ping timeout: 265 seconds]
ygrek has quit [Ping timeout: 265 seconds]
Anarchos has quit [Ping timeout: 265 seconds]
<ollehar> companion_cube: the module provides `eval_ast`, the eval_ast uses namespaces from functor
jabesed has joined #ocaml
<companion_cube> well... put eval_ast into a third module?
<rgrinberg> pretty quiet here today
<rgrinberg> everyone must be watching eurovision...
<companion_cube> exactly :p
<companion_cube> sipping beer
<ollehar> companion_cube: won't solve anything? or export all types into third module :P
<ollehar> still, get errors like `T.state is not the same as T.state, escaping scope, blaha`
inf-gropeoid has joined #ocaml
<ollehar> yeah, state and namespace doesn't need to be in functor, I guess :P
<ollehar> I just put everything in that module
<ollehar> thanks, will try :D
swgillespie has joined #ocaml
Anarchos has joined #ocaml
jabesed has quit [Ping timeout: 265 seconds]
BitPuffin|osx has joined #ocaml
Hannibal_Smith has quit [Quit: Leaving]
Anarchos has quit [Ping timeout: 255 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ollehar has quit [Remote host closed the connection]
matason has quit [Ping timeout: 258 seconds]
swgillespie has joined #ocaml
Cyanure has quit [Remote host closed the connection]
swgillespie has quit [Max SendQ exceeded]
swgillespie has joined #ocaml
swgillespie has quit [Client Quit]
jabesed has joined #ocaml
nullcat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Simn has quit [Quit: Leaving]
chambart has joined #ocaml
leafac has joined #ocaml
tani has quit [Quit: Verlassend]
Gama11 has quit [Read error: Connection reset by peer]
nullcat has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
asQuirreL has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mhammons has joined #ocaml
hilquias has quit [Remote host closed the connection]
<mhammons> hi :)
<mhammons> i'm trying to learn ocaml right now cause I hear the release at the end of the year will support true parallelism
<mhammons> is there a way to get the size of a file in bytes and have in_channel start reading at an offset?
Kakadu has quit [Remote host closed the connection]
<sheijk> mhammons: seek_out/seek_in
<mhammons> also, is there a specific reason to do let () =... ?
<sheijk> and in_channel_length
<sheijk> use let () = expr if you want to get a compiler error if expr's type isn't unit (which is often an error due to lack of parameters etc.)