adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
kakadu has quit [Remote host closed the connection]
ale64bit has quit [Ping timeout: 258 seconds]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
sonologico has quit [Ping timeout: 246 seconds]
sodastab has quit [Quit: ZNC - https://znc.in]
sodastab has joined #ocaml
sodastab has quit [Excess Flood]
sodastab has joined #ocaml
Jeanne-Kamikaze has quit [Quit: Leaving]
ale64bit has joined #ocaml
ziyourenxiang has joined #ocaml
sonologico has joined #ocaml
ale64bit has quit [Ping timeout: 245 seconds]
silver has quit [Quit: rakede]
keep_learning has joined #ocaml
AtumT has quit [Quit: AtumT]
bartholin has quit [Ping timeout: 252 seconds]
oni-on-ion has quit [Remote host closed the connection]
bartholin has joined #ocaml
oni-on-ion has joined #ocaml
sonologico has quit [Ping timeout: 246 seconds]
djellemah has quit [Ping timeout: 244 seconds]
<oni-on-ion> i have a type x = {rec:int} in an .mli , but the corresponding .ml seems not to be able to see that.
<oni-on-ion> nvm, got it
mfp has quit [Ping timeout: 258 seconds]
jao has quit [Ping timeout: 255 seconds]
oni_on_ion has joined #ocaml
oni-on-ion has quit [Ping timeout: 268 seconds]
ygrek has quit [Ping timeout: 245 seconds]
pierpal has quit [Read error: Connection reset by peer]
Birdface has joined #ocaml
oni_on_ion has left #ocaml [#ocaml]
oni-on-ion has joined #ocaml
gravicappa has joined #ocaml
al-damiri has quit [Quit: Connection closed for inactivity]
pierpal has joined #ocaml
oni-on-ion has quit [Ping timeout: 246 seconds]
oni-on-ion has joined #ocaml
unixjunkie has joined #ocaml
unixjunkie has quit [Read error: Connection reset by peer]
unixjunkie has joined #ocaml
unixjunkie has left #ocaml [#ocaml]
unixjunkie has joined #ocaml
unixjunkie has quit [Client Quit]
govg has quit [Ping timeout: 246 seconds]
Birdface has quit [Ping timeout: 250 seconds]
pierpal has quit [Ping timeout: 246 seconds]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 245 seconds]
pierpal has joined #ocaml
nikivi has quit [Quit: ZNC is awesome]
oni-on-ion has quit [Ping timeout: 244 seconds]
oni-on-ion has joined #ocaml
mildtaste has joined #ocaml
wklm_ has joined #ocaml
freyr69 has joined #ocaml
oni-on-ion has quit [Ping timeout: 255 seconds]
ShalokShalom has joined #ocaml
wklm_ has quit [Ping timeout: 258 seconds]
barockobamo has joined #ocaml
ShalokShalom has quit [Read error: Connection reset by peer]
wklm_ has joined #ocaml
notnotdan has quit [Ping timeout: 245 seconds]
ollehar has joined #ocaml
ShalokShalom has joined #ocaml
picolino has quit [Ping timeout: 244 seconds]
picolino has joined #ocaml
oni-on-ion has joined #ocaml
Birdface has joined #ocaml
zolk3ri has joined #ocaml
wklm_ has quit [Ping timeout: 244 seconds]
mfp has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
gravicappa has joined #ocaml
Haudegen has quit [Remote host closed the connection]
kakadu has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
sagax has quit [Ping timeout: 258 seconds]
sagax has joined #ocaml
sagax has quit [Client Quit]
<freyr69> Does OCaml optimize Bigarray.Array1.unsafe_get?
<freyr69> Because if seems it doesn't
<freyr69> for me at least
<freyr69> Ah, that's because I've missed type declarations
AtumT has joined #ocaml
kakadu has quit [Remote host closed the connection]
ggole has joined #ocaml
Haudegen has joined #ocaml
silver has joined #ocaml
<ollehar> hm
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
pzp has quit [Quit: Connection closed for inactivity]
mildtaste has quit [Ping timeout: 258 seconds]
mildtaste has joined #ocaml
mildtaste has quit [Remote host closed the connection]
mildtaste has joined #ocaml
mildtaste has quit [Ping timeout: 258 seconds]
mildtaste has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
jao has joined #ocaml
timeless has quit [Ping timeout: 252 seconds]
jyc___ has quit [Ping timeout: 250 seconds]
okuu has joined #ocaml
rdivyanshu_ has quit [Ping timeout: 250 seconds]
unyu has quit [Ping timeout: 252 seconds]
kini has quit [Ping timeout: 248 seconds]
jyc___ has joined #ocaml
rdivyanshu_ has joined #ocaml
timeless has joined #ocaml
kini has joined #ocaml
twopoint718 has joined #ocaml
djellemah has joined #ocaml
Birdface has quit [Ping timeout: 252 seconds]
djellemah has quit [Ping timeout: 246 seconds]
Birdface has joined #ocaml
djellemah has joined #ocaml
Facebird has joined #ocaml
Birdface has quit [Ping timeout: 268 seconds]
djellemah has quit [Remote host closed the connection]
TheLemonMan has joined #ocaml
twopoint718 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twopoint718 has joined #ocaml
jao has quit [Ping timeout: 246 seconds]
spew has joined #ocaml
picolino has quit [Ping timeout: 258 seconds]
picolino has joined #ocaml
cthuluh has quit [Ping timeout: 244 seconds]
cthuluh has joined #ocaml
nicootje has quit [Ping timeout: 256 seconds]
nicootje has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
twopoint718 has quit [Quit: Textual IRC Client: www.textualapp.com]
Denommus has joined #ocaml
ygrek has joined #ocaml
Facebird has quit [Read error: Connection reset by peer]
Haudegen has quit [Remote host closed the connection]
djellemah has joined #ocaml
djellemah has quit [Ping timeout: 246 seconds]
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 268 seconds]
oni-on-ion has joined #ocaml
unyu has joined #ocaml
freyr69 has quit [Remote host closed the connection]
ShalokShalom has quit [Read error: Connection reset by peer]
Jesin has quit [Quit: Leaving]
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 246 seconds]
Jesin has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
Haudegen has joined #ocaml
kakadu has joined #ocaml
djellemah has joined #ocaml
AtumT has joined #ocaml
AtumT_ has quit [Ping timeout: 245 seconds]
jao has joined #ocaml
jao is now known as Guest35955
ale64bit has joined #ocaml
q9929t has joined #ocaml
Jesin has quit [Quit: Leaving]
oni-on-ion has quit [Remote host closed the connection]
picolino has quit [Ping timeout: 246 seconds]
ale64bit has quit [Ping timeout: 244 seconds]
picolino has joined #ocaml
Jesin has joined #ocaml
q9929t has quit [Quit: q9929t]
djellemah has quit [Ping timeout: 258 seconds]
Serpent7776 has joined #ocaml
picolino has quit [Ping timeout: 252 seconds]
picolino has joined #ocaml
tane has joined #ocaml
djellemah has joined #ocaml
barockobamo has quit [Remote host closed the connection]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
cthuluh has quit [Ping timeout: 246 seconds]
cthuluh has joined #ocaml
djellemah has quit [Ping timeout: 258 seconds]
djellemah has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
aciniglio has joined #ocaml
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 258 seconds]
stillgar has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
<stillgar> how to export fn for custom toplevel: I have let hello () = print_endline "Hello" in a .ml file and compiled it to .cmo and built the toplevel with ocamlmktop using this .cmo. But when I run the toplevel but the function is not visible (unbound value). What do I have to do to make it visible?
wklm_ has joined #ocaml
<octachron> You need a cmi
<bartholin> I like the three thousand different ocaml extensions
<bartholin> .ml .mli .cmi .cmo .cma .cmx
ygrek_ has joined #ocaml
ygrek has quit [Remote host closed the connection]
<companion_cube> cmxs cmt cmti
<stillgar> I have a .mli with val hello : unit -> unit and compiled it to a .cmi but ocamlmktop cannot take .cmi
_whitelogger_ has joined #ocaml
jack5638 has joined #ocaml
kakadu has joined #ocaml
<ggole> stillgar: the value will be bound under a module named after the file, eg, a.ml => A.hello
Serpent7776 has quit [Quit: leaving]
wilfredh has quit [Quit: Connection closed for inactivity]
<stillgar> I can access the hello value now it says - : unit -> unit = <fun>
<stillgar> How do I actually call this though?
<octachron> hello ()
<stillgar> dang, that gives me Segmentation fault: 11
ale64bit has joined #ocaml
<stillgar> I would just use the .ocamlinit but that is not loaded in script mode :-( https://stackoverflow.com/questions/20900465/ocaml-doesnt-load-ocamlinit-in-script-mode
ale64bit has quit [Ping timeout: 268 seconds]
ale64bit has joined #ocaml
nullifidian has quit [Read error: Connection reset by peer]
ale64bit has quit [Ping timeout: 245 seconds]
nullifidian has joined #ocaml
djellemah has quit [Ping timeout: 255 seconds]
wklm_ has quit [Ping timeout: 258 seconds]
<octachron> Why not compile to bytecode rather than build a custom toplevel and then run a script?
ale64bit has joined #ocaml
<stillgar> Editing text files und running them scripting style is just more convenient for simple programs and in my case learning ocaml too, just make a text file with #!/usr/bin/env ocamlrun ocaml and I'm good to go
<stillgar> this works fine, I'm just trying to find a way to make this "batteries included" so I don't have to setup in each script
oni-on-ion has joined #ocaml
ggole has quit [Quit: Leaving]
djellemah has joined #ocaml
<octachron> Note that both #use and #require works in script mode.
wklm_ has joined #ocaml
<octachron> So you can write a file that requires all the libraries that you need, and then load this file with use
jnavila has quit [Ping timeout: 258 seconds]
pierpal has quit [Ping timeout: 245 seconds]
wklm_ has quit [Ping timeout: 245 seconds]
aciniglio has quit [Ping timeout: 244 seconds]
oni-on-ion has quit [Remote host closed the connection]
<stillgar> octachron: indeed this works, with #use "ocaml.inc" where that has #use and #requires
<bartholin> or .ocamlinit
tane has quit [Quit: Leaving]
oni-on-ion has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
andrewlitteken has joined #ocaml
ale64bit has quit [Ping timeout: 255 seconds]
djellemah has quit [Ping timeout: 246 seconds]
sagax has joined #ocaml
ygrek_ has quit [Ping timeout: 258 seconds]
lostman has joined #ocaml
Denommus has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 255 seconds]
pierpal has joined #ocaml
stillgar has quit [Quit: Page closed]
pierpal has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ocaml
ale64bit has joined #ocaml
ale64bit has quit [Ping timeout: 255 seconds]