companion_cube changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.11 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.11/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: 256 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
Haudegen has quit [Ping timeout: 256 seconds]
spiegelau has quit [Quit: leaving]
spiegelau has quit [Quit: leaving]
spiegelau has quit [Quit: leaving]
mxns_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
dhil has quit [Ping timeout: 256 seconds]
dhil has quit [Ping timeout: 256 seconds]
dhil has quit [Ping timeout: 256 seconds]
mxns has quit [Ping timeout: 265 seconds]
mxns has quit [Ping timeout: 265 seconds]
mxns has quit [Ping timeout: 265 seconds]
dfeuer has joined #ocaml
dfeuer has joined #ocaml
dfeuer has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
zebrag has quit [Quit: Konversation terminated!]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #ocaml
zebrag has joined #ocaml
zebrag has joined #ocaml
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rock64 has quit [Ping timeout: 260 seconds]
rock64 has quit [Ping timeout: 260 seconds]
rock64 has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 264 seconds]
mxns has quit [Ping timeout: 264 seconds]
mxns has quit [Ping timeout: 264 seconds]
rock64 has joined #ocaml
rock64 has joined #ocaml
rock64 has joined #ocaml
curtosis has joined #ocaml
curtosis has joined #ocaml
curtosis has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
osa1 has joined #ocaml
osa1 has joined #ocaml
osa1 has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
osa1_ has quit [Ping timeout: 264 seconds]
osa1_ has quit [Ping timeout: 264 seconds]
osa1_ has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
<d_bot_> <EduardoRFS> tw
<d_bot_> <EduardoRFS> tw
<d_bot_> <EduardoRFS> tw
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
mxns has quit [Ping timeout: 264 seconds]
mxns has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
mxns has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 265 seconds]
mxns has quit [Ping timeout: 265 seconds]
mxns has quit [Ping timeout: 265 seconds]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger__ has quit [Remote host closed the connection]
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
dfeuer has quit [Remote host closed the connection]
mxns has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mbuf has joined #ocaml
tryte has quit [Remote host closed the connection]
tryte has joined #ocaml
mfp has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
Serpent7776 has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
narimiran has joined #ocaml
hosewiejacke has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
waleee-cl has quit [Quit: Connection closed for inactivity]
<d_bot_> <froyo> I want to cross compile to a pi
<d_bot_> <froyo> how many of my newborns do I need to sacrifice to compiler gods
<d_bot_> <EduardoRFS> @HYPHEN https://github.com/EduardoRFS/reason-mobile/
<d_bot_> <EduardoRFS> I know it says reason in the name, but give it a try, install esy@0.6.7(some weird stuff with 0.6.8)
<d_bot_> <EduardoRFS> and there is a target for linux.musl.arm64
andreas31 has quit [Remote host closed the connection]
andreas31 has joined #ocaml
rock64 has quit [Ping timeout: 260 seconds]
rock64 has joined #ocaml
mxns has joined #ocaml
vicfred has joined #ocaml
shawnw has joined #ocaml
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #ocaml
<d_bot_> <mseri> I confirm that it works like a charm. Thanks again @EduardoRFS for that!
mxns has quit [Ping timeout: 246 seconds]
gahr has quit [Quit: leaving]
gahr has joined #ocaml
Haudegen has joined #ocaml
vicfred has quit [Quit: Leaving]
hosewiejacke has quit [Ping timeout: 246 seconds]
bartholin has joined #ocaml
hosewiejacke has joined #ocaml
rock64_ has joined #ocaml
serpent has joined #ocaml
rock64 has quit [*.net *.split]
Serpent7776 has quit [*.net *.split]
<d_bot_> <froyo> oh cool :O
<d_bot_> <froyo> do you support armv6 32bit?
<d_bot_> <froyo> i see only arm64 in readme
<d_bot_> <froyo> @EduardoRFS
hosewiejacke has quit [Ping timeout: 265 seconds]
TheLemonMan has joined #ocaml
dhil has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
hosewiejacke has joined #ocaml
mbuf has quit [Quit: Leaving]
mfp has joined #ocaml
mxns has joined #ocaml
hosewiejacke has quit [Ping timeout: 265 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
tane has joined #ocaml
nepascourir has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
Haudegen has quit [Quit: Bin weg.]
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
TheLemonMan has quit [Ping timeout: 260 seconds]
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
tane has quit [Quit: Leaving]
mxns has joined #ocaml
mxns has quit [Ping timeout: 256 seconds]
mxns has joined #ocaml
TheLemonMan has joined #ocaml
shawnw has quit [Quit: Leaving]
mxns has quit [Ping timeout: 265 seconds]
mxns has joined #ocaml
motherfsck has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
mxns has joined #ocaml
Haudegen has joined #ocaml
hosewiejacke has joined #ocaml
mxns has quit [Ping timeout: 260 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
mxns has joined #ocaml
hosewiejacke has quit [Ping timeout: 245 seconds]
zebrag has joined #ocaml
nore has quit [Ping timeout: 245 seconds]
nore has joined #ocaml
vicfred has joined #ocaml
Tuplanolla has joined #ocaml
nepascourir has quit [Quit: Leaving]
curtosis[away] has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
curtosis has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mbuf has joined #ocaml
bartholin has quit [Quit: Leaving]
mxns has quit [Ping timeout: 265 seconds]
mxns has joined #ocaml
motherfsck has quit [Quit: quit]
serpent is now known as Serpent7776
Haudegen has joined #ocaml
mbuf has quit [Quit: Leaving]
<aditi314> Hey everyone, I've been working on ocaml.org. And I am having an issue, whenever I make any changes to site/community/index.md, I end up with a blank html file on make and a index.html.tmp, can anyone explain me what am I doing wrong?
Anarchos has joined #ocaml
nicoo has quit [Ping timeout: 268 seconds]
jmiven has quit [Quit: reboot]
jmiven has joined #ocaml
nicoo has joined #ocaml
henistein has joined #ocaml
Anarchos has quit [*.net *.split]
curtosis has quit [*.net *.split]
waleee-cl has joined #ocaml
<henistein> why is this code giving error in 24 and warning in line 10? https://paste.ubuntu.com/p/H2q8n3Npgn/
<henistein> *error in line
<companion_cube> what's the `else 0; …` supposed to do?
<henistein> thanks
<henistein> I am struggling with ocaml, I mean I have to solve a problem in ocaml, I made the algorithm and solved it in c, but now I want to "translate" it to ocaml and it is hard, just the fact that I can't use an if without an else is interesting
<henistein> any tips?
<d_bot_> <EduardoRFS> cross compiling to 32bits needs a 32bits compiler, so if you're on linux you can try this branch
<d_bot_> <EduardoRFS>
<d_bot_> <EduardoRFS> you need to add a resolution so that your `ocaml` is 32 bits
<d_bot_> <Butanium> henistein : I'd advise to not try to translate a C code to ocaml if you're not confident with it. They are very different and the code architecture will change a lot. So maybe first try to solve some problem and do some exercises in Ocaml only before translating C code.
<henistein> ok I will do that
<d_bot_> <Butanium> For example the fact that there are no return in Ocaml make the functions very different from the C's one
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
<zozozo> henistein: also, note that you can write if without else in ocaml, precisely in situations where the semantics would match that of C (i.e. you have somethink akin to a statement in the body of the if), what whanges is that in ocaml an if/then/else can return a value (kinda like the ? in C)
<zozozo> *changes
<d_bot_> <Butanium> Are you learning it for school purpose or for something else?
<henistein> yes
<henistein> school
<henistein> I think this type of functional programming is interesting, but as I am so used to imperative languages ​​it is now more difficult
<d_bot_> <Butanium> Yup it's hard when you begin
<d_bot_> <Butanium> Just to know are you from france?
<henistein> no I am from Portugal
<d_bot_> <gar> I need some help interpreting the output of `ocamobjinfo`. I haven't been able to find any documentation on it. Here's an example:
<d_bot_> <gar> ```
<d_bot_> <gar> Name: Sponge__
<d_bot_> <gar> CRC of implementation: 3d69e78f0685178ce10b6369dce58ab1
<d_bot_> <gar> Globals defined:
<d_bot_> <gar> Sponge__
<d_bot_> <gar> Interfaces imported:
<d_bot_> <gar> -------------------------------- Sponge__Params
<d_bot_> <gar> -------------------------------- Sponge__Intf
<d_bot_> <gar> -------------------------------- Sponge__Constants
<d_bot_> <gar> a73dd55ee07c80deec97810f9e4c59ce Sponge__
<d_bot_> <gar> Implementations imported:
<d_bot_> <gar> Clambda approximation:
narimiran has quit [Ping timeout: 256 seconds]
<d_bot_> <gar> ```
hosewiejacke has joined #ocaml
<d_bot_> <gar> In other exampls, I find some lines under "Implementations imported", some of which have numbers (hashes I assume) and some have `----` strings. What do those mean? (This is from a cmxa file).
hosewiejacke has quit [Client Quit]
guanche has joined #ocaml
<guanche> hi, I have compiled ocaml for windows/msys2, does flexdll need to be installed? I mean, is it used at runtime? I guess yes
<guanche> I had to patch OCAMLOPT variable to include "-L PATH" for msys, so I wonder how should I go to embeed these paths in flexdll?
<d_bot_> <forg> Have any of you guys successfully installed the tsdl package on Windows?
<d_bot_> <forg> I've been having trouble with it all day
smerdyakov has quit [Read error: Connection reset by peer]
smerdyakov has joined #ocaml
<zozozo> guanche: most of the answers should be in here from what I recall : https://github.com/ocaml/ocaml/blob/trunk/README.win32.adoc#flexdll
<guanche> thanks zozozo
TheLemonMan has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
<d_bot_> <annazolkieve> Dear OCaml community,
<d_bot_> <annazolkieve> Please help to install ocamlgraph:
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
mxns has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 244 seconds]
tane has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
mxns has joined #ocaml
Serpent7776 has quit [Quit: leaving]
guanche has quit [Read error: Connection reset by peer]
<henistein> I am getting this "Stack overflow during evaluation (looping recursion?)" and I don't know why, https://pastebin.pl/view/c4f85359
<d_bot_> <Butanium> This means that your code is doing infinite recursion
<d_bot_> <Butanium> Your m doesn't change and it's the only way you have to get out of the recursion
<d_bot_> <Butanium> Nevermind
<d_bot_> <Butanium> Let my check again
<d_bot_> <Butanium> There are a lot of if statement here x)
<d_bot_> <Butanium> I'd advice you to do print_int(m) at the beginning of solve
<d_bot_> <Butanium> I think it'll help you to figure out what is happening here
<henistein> I think I found my problem
<d_bot_> <anmonteiro> hinestein: FCT-UNL?
<henistein> no UBI
<d_bot_> <anmonteiro> great they're teaching OCaml! I had one course with OCaml way back when
Tuplanolla has quit [Quit: Leaving.]
tane has quit [Quit: Leaving]
henistein has quit [Quit: Connection closed]
andreas31 has quit [Remote host closed the connection]
andreas31 has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]