Leonidas changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.13.0 released: https://ocaml.org/releases/4.13.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
kaph_ has quit [Read error: Connection reset by peer]
rawley has quit [Read error: Connection reset by peer]
rawley_ has joined #ocaml
rawley_ has quit [Remote host closed the connection]
rawley_ has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
rawley_ has quit [Quit: Leaving]
rawley has joined #ocaml
rawley has quit [Client Quit]
rawley has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chrisz has quit [Ping timeout: 240 seconds]
chrisz has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mal`` has quit [Quit: Leaving]
wyrd has quit [Quit: Lost terminal]
mal`` has joined #ocaml
kaph has joined #ocaml
wyrd has joined #ocaml
rgrinberg has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rawley has quit [Remote host closed the connection]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
rgrinberg has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
Everything has joined #ocaml
<Everything> Hi all. Got this hello world code: http://ix.io/3TzX
<Everything> I can run it: ocaml.ml
<Everything> But can't compile:
<Everything> % ocamlopt a.ml
<Everything> File "a.ml", line 1, characters 0-1:
<Everything> Error: Syntax error
<Everything> What to do?
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
<Everything> This prints the same error: ocamlfind ocamlopt -package base -package core -thread a.ml
<d_bot> <orbitz> Everything: the stuff that starts with '#' is for the REPL only, it's not valid Ocaml
<d_bot> <orbitz> You need to remove it and
kaph has quit [Ping timeout: 260 seconds]
<Everything> Oh I tried
<Everything> http://ix.io/3TzX
<Everything> % ocamlfind ocamlopt -package base -package core -thread a2.ml
<Everything> File "a2.ml", line 1:
<Everything> Core referenced from a2.cmx
<Everything> Error: No implementations provided for the following modules:
<Everything> % ocamlopt a2.ml
<Everything> File "a2.ml", line 1, characters 5-9:
<Everything> Error: Unbound module Base
<Everything> Just how to compile this? http://ix.io/3TzX
<Everything> This: http://ix.io/3IV8
<Everything> ^ "#" are removed there
<Everything> Ouch ignore that
<d_bot> <orbitz> What?
<Everything> I just want to compile this:
<Everything> open Base;;
<Everything> open Core;;
<Everything> let () = printf "%d\n" (123);
<Everything> To binary
<Everything> What to do?
<Everything> Probably, ix.io is buggy, ignore it
gravicappa has joined #ocaml
<d_bot> <orbitz> I thnk you want -package core,base
<Everything> % ocamlfind ocamlopt -package core,base -thread a2.ml
<Everything> Error: No implementations provided for the following modules:
<Everything> Core referenced from a2.cmx
<Everything> File "a2.ml", line 1:
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
leah2 has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
rgrinberg has quit [Ping timeout: 240 seconds]
kaph has joined #ocaml
dextaa_ has joined #ocaml
waleee has quit [Remote host closed the connection]
waleee has joined #ocaml
mro has joined #ocaml
waleee has quit [Ping timeout: 260 seconds]
waleee has joined #ocaml
Serpent7776 has joined #ocaml
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
Tuplanolla has joined #ocaml
leah2 has joined #ocaml
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
leah2 has joined #ocaml
mro has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #ocaml
mro has joined #ocaml
<Everything> Where I can read about differences between "open", "require", etc?
waleee has quit [Remote host closed the connection]
waleee has joined #ocaml
andreypopp_ has joined #ocaml
<Everything> andreypopp_: thanks
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
spip has quit [Read error: Connection reset by peer]
spip has joined #ocaml
andreypopp_ has quit [Quit: Connection closed for inactivity]
bartholin has joined #ocaml
bartholin has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
p4bl0 has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Haudegen has joined #ocaml
Everything has quit [Quit: leaving]
bartholin has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
mro has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
rgrinberg has joined #ocaml
rawley has joined #ocaml
waleee has joined #ocaml
bartholin has quit [Ping timeout: 252 seconds]
rgrinberg has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
infinity0 has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
mro has quit [Remote host closed the connection]
lobo has quit [Quit: lobo]
lobo has joined #ocaml
waleee has quit [Ping timeout: 245 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #ocaml
waleee has quit [Quit: WeeChat 3.4.1]
dextaa_ has quit [Remote host closed the connection]
mro has joined #ocaml
oriba has joined #ocaml
bartholin has quit [Ping timeout: 256 seconds]
infinity0 has joined #ocaml
dextaa_ has joined #ocaml
mro has quit [Remote host closed the connection]
bartholin has joined #ocaml
bartholin has quit [Ping timeout: 240 seconds]
bartholin has joined #ocaml
chrisz has quit [Ping timeout: 252 seconds]
gravicappa has quit [Ping timeout: 260 seconds]
chrisz has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
mro has joined #ocaml
kaph has quit [Ping timeout: 260 seconds]
mro has quit [Remote host closed the connection]
rond_ has joined #ocaml
dextaa_ has quit [Remote host closed the connection]
mro has joined #ocaml
Anarchos has joined #ocaml
dextaa_ has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has quit [Ping timeout: 252 seconds]
Anarchos has joined #ocaml
mro has joined #ocaml
rawley has quit [Ping timeout: 252 seconds]
mro_ has joined #ocaml
mro has quit [Ping timeout: 240 seconds]
rond_ has quit [Quit: Client closed]
bartholin has quit [Ping timeout: 256 seconds]
bartholin has joined #ocaml
oriba has quit [Remote host closed the connection]
rawley has joined #ocaml
mro_ has quit [Quit: Leaving...]
Anarchos has quit [Quit: Vision[]: i've been blurred!]
rawley has quit [Remote host closed the connection]
rawley has joined #ocaml
oriba has joined #ocaml
wyrd has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Ping timeout: 272 seconds]
wyrd has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
bartholin has quit [Ping timeout: 256 seconds]
rgrinberg has joined #ocaml
sagax has quit [Quit: Konversation terminated!]
perrierjouet has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szkl has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 256 seconds]
Haudegen has quit [Ping timeout: 272 seconds]