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
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
curtosis[away] has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 250 seconds]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mxns has joined #ocaml
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
White__Flame is now known as White_Flame
sleepydog has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
RalfJ has joined #ocaml
drakonis has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
not_lain has left #ocaml ["The Lounge - https://thelounge.chat"]
motherfsck has quit [Ping timeout: 240 seconds]
motherfsck has joined #ocaml
dckc has quit [Ping timeout: 276 seconds]
dckc has joined #ocaml
mfp has quit [Ping timeout: 246 seconds]
borne has joined #ocaml
vidhya has joined #ocaml
borne has quit [Ping timeout: 250 seconds]
borne has joined #ocaml
vidhya has quit [Quit: Connection closed]
Nobita has joined #ocaml
Nobita has quit [Client Quit]
mxns has quit [Ping timeout: 252 seconds]
curtosis has joined #ocaml
curtosis is now known as curtosis[away]
vidhya has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mxns has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
<d_bot> <PhD In Cramming> hi, i am not sure if this is the right place to ask this but recently i took a course that covers haskell in my uni and i really enjoyed it! i also started studying about other functional languages and i liked ocaml a lot!. I wanna get good at both of them but not really sure which should i pick up first ):
<d_bot> <PhD In Cramming> I would appreciate any advice regarding this! thank you
narimiran has joined #ocaml
osa1 has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
borne has quit [Ping timeout: 245 seconds]
nicoo has quit [Remote host closed the connection]
nicoo has joined #ocaml
<d_bot> <Butanium> I did some Haskell before (that was my first functional langage) so when I started ocaml I just had to be used to the synthax.
<d_bot> <Butanium> But maybe that if I started with ocaml I'd find Haskell easier because I struggled on a few concept while learning (but as I said that was my first functional langage so it was a bit disturbing).
<d_bot> <Butanium> So I don't know !
<d_bot> <Butanium> It may be to late but this Haskell tutorial is one of the greatest tutorial I ever seen, you may want to give it a look (and maybe you'll skip the first chapters)
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
vidhya has quit [Quit: Connection closed]
mbuf has joined #ocaml
osa1 has quit [Ping timeout: 260 seconds]
RalfJ has joined #ocaml
<d_bot> <PhD In Cramming> oh yeah my instructor sort of recommended me this book when i was learning haskell, so i've pretty much read it
blah has quit [Quit: Connection closed]
<d_bot> <PhD In Cramming> thanks tho!
<d_bot> <Butanium> nice
<d_bot> <Butanium> np !
<d_bot> <froyo> what happened to jocaml? it looked promising tbh
andreas31 has quit [Ping timeout: 240 seconds]
shawnw has joined #ocaml
zhansaya has joined #ocaml
zhansaya has quit [Read error: Connection reset by peer]
zhansaya has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
RalfJ has joined #ocaml
White_Flame has quit [Ping timeout: 246 seconds]
White_Flame has joined #ocaml
mxns has joined #ocaml
gopiandcode2 has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
borne has joined #ocaml
osa1 has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
gurleensidhu has joined #ocaml
gurleensidhu has quit [Client Quit]
Haudegen has joined #ocaml
lindah has joined #ocaml
gurleensidhu has joined #ocaml
<gurleensidhu> Hi everyone. I am an Outreachy aspirant and I was working on some issues. I am very new to open source and I don't know how to use makefiles. Can anyone help me?
RalfJ has joined #ocaml
gargi has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
shreyaswikriti has joined #ocaml
lindah has quit [Ping timeout: 268 seconds]
gargi has quit [Client Quit]
RalfJ has joined #ocaml
<d_bot> <froyo> makefiles are recipes that follow this general idea:
<d_bot> <froyo> ```mk
<d_bot> <froyo> rule: dependency1 dependency2 ...
shreyaswikriti has quit [Quit: Connection closed]
<d_bot> <froyo> step 1 $(SOMEVAR)
<d_bot> <froyo> step 2 ...
<d_bot> <froyo> step 3
<d_bot> <froyo> ...
<d_bot> <froyo> ```
<d_bot> <froyo> and your job as an end user of a makefile is to invoke a rule, optionally with variables, like so
<d_bot> <froyo> ```sh
<d_bot> <froyo> make rule SOMEVAR=42
<d_bot> <froyo> ```
<d_bot> <froyo>
<d_bot> <froyo>
patricoferris has joined #ocaml
olle has joined #ocaml
andreas303 has joined #ocaml
Anushka has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
pitag has joined #ocaml
ben24 has joined #ocaml
RalfJ has joined #ocaml
sanjana has joined #ocaml
yashi_vijay has joined #ocaml
MariaSG has joined #ocaml
bartholin has joined #ocaml
<MariaSG> Hello everyone! my name is Maria and I am an outreachy applicant. I am new to programming and this is the first time I will contribute to an open source project which I am really excited about :D
yashi_vijay has quit [Quit: Connection closed]
glass is now known as theglass
vidhya has joined #ocaml
<olle> MariaSG: Welcome!
StarFleet[m] has left #ocaml ["User left"]
<MariaSG> Thank you! :)
<vidhya> Hello Everyone, I am Vidhya an outreachy applicant. I have a bit experience in open source. I am excited to take part and exploring in ocaml organization
pitag has quit [Quit: Connection closed]
<sanjana> Hi all. Am Sanjana. This is my first open source contribution. And very excited to learn about Ocaml
vidhya has quit [Client Quit]
vidhya has joined #ocaml
gurleensidhu has quit [Ping timeout: 240 seconds]
sanjana has quit [Quit: Connection closed]
vidhya has quit [Client Quit]
<olle> Cool
vidhya has joined #ocaml
vidhya has quit [Client Quit]
vidhya has joined #ocaml
<vidhya> Can't we see the whole chat in this channel ? Because whenever Im joining, its deleting the previous chat in the page
<olle> vidhya: Use Discord instead and it will save the history.
ben24 has quit [Quit: Connection closed]
RalfJ has quit [Ping timeout: 246 seconds]
RalfJ has joined #ocaml
<d_bot> <undu> vidhya: the logs for the channel can be found in irclog.whitequark.org/ocaml
<d_bot> <undu> It might be worth temporarily changing the channel topic to have a link to the outreachy discord channel
Prerna_Singh has joined #ocaml
RalfJ has quit [Ping timeout: 246 seconds]
neiluj has joined #ocaml
neiluj has joined #ocaml
neiluj has quit [Changing host]
TheLemonMan has joined #ocaml
<Prerna_Singh> Can i get the link to outreachy discord channel?
<d_bot> <undu> this is a link to the outreachy discord channel: https://discord.gg/dXzqGG9rEQ
<Prerna_Singh> Thanks a lot!
Prerna_Singh has quit [Quit: Connection closed]
tane has joined #ocaml
zhansaya has quit [Ping timeout: 240 seconds]
Anushka51 has joined #ocaml
Shivani74 has joined #ocaml
ankitaxpriya has joined #ocaml
ankitaxpriya has quit [Client Quit]
mxns has joined #ocaml
pitag has joined #ocaml
mxns has quit [Ping timeout: 258 seconds]
mfp has joined #ocaml
Shivani74 has quit [Quit: Connection closed]
Sumera[m] has joined #ocaml
MariaSG has quit [Quit: Connection closed]
Sowmya has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
vicfred has quit [Quit: Leaving]
Sowmya has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 268 seconds]
Sowmya has joined #ocaml
RalfJ has joined #ocaml
Sowmya is now known as sowmya999
sowmya999 has quit [Quit: Connection closed]
sowmya999 has joined #ocaml
mxns has joined #ocaml
Sanduni has joined #ocaml
pitag has quit [Ping timeout: 240 seconds]
mxns has quit [Ping timeout: 240 seconds]
Sanduni has quit [Client Quit]
sowmya999 has quit [Quit: Connection closed]
sowmya999 has joined #ocaml
sowmya999 has quit [Client Quit]
vidhya has quit [Quit: Connection closed]
mxns has joined #ocaml
mxns has quit [Ping timeout: 245 seconds]
<d_bot> <Jo.Blade> how to install the graphics module in debian?
<d_bot> <undu> My guess would be `opam install graphics`: https://opam.ocaml.org/packages/graphics/
SomyaSrivastava has joined #ocaml
<SomyaSrivastava> Hey Everyone! I am Somya from India. I am an outreachy applicant and currently I'm almost done with setting up my system locally. However, I am facing the following issue.:
<SomyaSrivastava> I have installed and initialised opam and now I was starting to follow all the steps given on https://github.com/ocaml/ocaml.org for building site locally on my system but unfortunately I am getting the following error.:
<SomyaSrivastava> ocamlfind ocamlc -annot -g -safe-string -package netstring,syndic -c script/utils.ml -o script/utils.cmi
<SomyaSrivastava> ocamlfind: Package `netstring' not found
<SomyaSrivastava> Makefile.common:119: recipe for target 'script/utils.cmi' failed
<SomyaSrivastava> make: *** [script/utils.cmi] Error 2
<SomyaSrivastava> Please help me out.
<d_bot> <Jo.Blade> it is what I dis
mxns has joined #ocaml
<SomyaSrivastava> Still getting the same error
mxns has quit [Ping timeout: 258 seconds]
<schlaftier> Jo.Blade: You probably also need to type: #require “graphics”;;
<schlaftier> #require "graphics";;
<schlaftier> (Sorry, I had auto-corrected "fancy" quotes.)
sowmya999 has joined #ocaml
<d_bot> <Jo.Blade> oh merci!
<d_bot> <Jo.Blade> Thanks !
sowmya999 has left #ocaml [#ocaml]
sowmya999 has joined #ocaml
<d_bot> <Jo.Blade> but now I have this error
Haudegen has quit [Quit: Bin weg.]
<d_bot> <octachron> You are missing a white space: " 800x600"
<d_bot> <Jo.Blade> thanks
<d_bot> <Jo.Blade> it works
narimiran has quit [Ping timeout: 260 seconds]
<d_bot> <octachron> (The full specification would be "X11_display_name 800x600" (e.g. ":0 800x600") and " 800x600" is using the default display.)
<d_bot> <Jo.Blade> just why when I close the window ocaml crash ?
mxns has joined #ocaml
<d_bot> <octachron> Because, you are not closing the connection unilaterally. You can use `Graphics.close_graph ()` to close the connection on the OCaml side.
<d_bot> <Jo.Blade> It is possible to call this function automatically when I click on the upper right cross ?
mxns has quit [Ping timeout: 246 seconds]
sowmya999 has quit [Ping timeout: 240 seconds]
<d_bot> <octachron> I don't think so. And from my memory, this is only a problem in the REPL.
yashi_vijay has joined #ocaml
sowmya999 has joined #ocaml
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
sowmya999 has quit [Ping timeout: 240 seconds]
curtosis has joined #ocaml
shawnw has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 246 seconds]
zhansaya has joined #ocaml
mxns has joined #ocaml
xandkar has joined #ocaml
curtosis has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sowmya999 has joined #ocaml
sanjana has joined #ocaml
sanjana has quit [Client Quit]
Haudegen has joined #ocaml
motherfsck has quit [Remote host closed the connection]
sowmya999 has quit [Quit: Ping timeout (120 seconds)]
patricoferris has quit [Quit: Connection closed]
<d_bot> <Jo.Blade> I use vim with merlin for error check
<d_bot> <Jo.Blade> but even if this code works, the linter detect an error
<d_bot> <octachron> This only works as a script in the REPL: `#require` is a directive for the REPL, and not a part of the language itself.
<d_bot> <Jo.Blade> ok but
<d_bot> <Jo.Blade> Merlin don't know the module gaphics
<d_bot> <Jo.Blade> "unbound module"
<d_bot> <octachron> This is a similar issue. Generally, once you start having a more stable program, it is worth it to write down a dune project, which makes explicit all the dependencies and makes Merlin works.
<d_bot> <Jo.Blade> euh ok
<d_bot> <Jo.Blade> but how can I do that?
zhansaya_ has joined #ocaml
zhansaya has quit [Read error: Connection reset by peer]
zhansaya has joined #ocaml
zhansaya_ has quit [Read error: Connection reset by peer]
<d_bot> <octachron> You can use `dune init executable my_graphic_program".
<d_bot> <octachron> The command will create a ml file and a `dune` file . You can then add the `(libraries graphics)` to the `dune file`.
<d_bot> <octachron> Building your program can then be done with `dune build`. Or you can execute it with `dune exec ./my_graphic_program.exe`.
lindah has joined #ocaml
SomyaSrivastava has quit [Quit: Connection closed]
wonko7 has joined #ocaml
<d_bot> <Jo.Blade> is this good?
<d_bot> <Jo.Blade> in my dune file
yashi_vijay has quit [Quit: Connection closed]
<d_bot> <octachron> yep
<d_bot> <Jo.Blade> so what is wrong?
<d_bot> <octachron> Are you using the Unix module? If so , you need to add `unix` to the list of libraries.
narimiran has joined #ocaml
<d_bot> <Jo.Blade> yes thanks
<d_bot> <Jo.Blade> it works
<d_bot> <Jo.Blade> thanks, with these modifications, merlin can detect correctly the graphic module and the linter works
<d_bot> <Jo.Blade> thank you for giving your time to help me
<d_bot> <octachron> You are welcome.
mro_name has joined #ocaml
lindah has quit [Quit: Connection closed]
p4bl0 has left #ocaml ["WeeChat 2.3"]
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
aghasaad04 has joined #ocaml
olle has quit [Ping timeout: 240 seconds]
Tuplanolla has joined #ocaml
curtosis[away] has joined #ocaml
zhansaya has quit [Ping timeout: 260 seconds]
bartholin has quit [Quit: Leaving]
curtosis[away] has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Haudegen has quit [Quit: Bin weg.]
Aman has joined #ocaml
mro_name has quit [Remote host closed the connection]
Aman has quit [Client Quit]
Aman has joined #ocaml
mbuf has quit [Quit: Leaving]
pitag has joined #ocaml
Aman has quit [Quit: Connection closed]
borne has quit [Ping timeout: 276 seconds]
olle has joined #ocaml
Haudegen has joined #ocaml
borne has joined #ocaml
mro_name has joined #ocaml
aghasaad04 has quit [Ping timeout: 240 seconds]
vicfred has joined #ocaml
mxns has quit [Ping timeout: 250 seconds]
sowmya999 has joined #ocaml
mxns has joined #ocaml
mro_name has quit [Remote host closed the connection]
mxns has quit [Ping timeout: 246 seconds]
sowmya999 has quit [Quit: Connection closed]
sowmya has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
mxns has joined #ocaml
Anushka51 has quit [Quit: Connection closed]
Anushka has quit [Quit: Connection closed]
mxns has quit [Ping timeout: 258 seconds]
sowmya is now known as sowmya99
mxns has joined #ocaml
mxns has quit [Quit: ZNC 1.8.2 - https://znc.in]
vicfred has quit [Quit: Leaving]
mxns has joined #ocaml
sowmya99 has quit [Ping timeout: 240 seconds]
mro_name has joined #ocaml
mro_name has quit [Remote host closed the connection]
mro_name has joined #ocaml
olle has quit [Ping timeout: 252 seconds]
pitag has quit [Quit: Connection closed]
oriba has joined #ocaml
serpent is now known as Serpent7776
narimiran has quit [Ping timeout: 268 seconds]
borne has quit [Ping timeout: 250 seconds]
borne has joined #ocaml
mro_name has quit [Read error: Connection reset by peer]
mro_name has joined #ocaml
Miracle has joined #ocaml
tane has quit [Quit: Leaving]
borne has quit [Ping timeout: 246 seconds]
mro_name has quit [Remote host closed the connection]
wonko7 has quit [Ping timeout: 268 seconds]
wonko7 has joined #ocaml
borne has joined #ocaml
mro_name has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
wonko7 has quit [Ping timeout: 268 seconds]
mxns has quit [Ping timeout: 252 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
mro_name has quit [Quit: Leaving...]
neiluj has quit [Quit: leaving]
mxns has quit [Ping timeout: 246 seconds]
mxns has joined #ocaml
mxns has quit [Ping timeout: 240 seconds]
Miracle has quit [Ping timeout: 240 seconds]
mxns has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
borne has quit [Ping timeout: 246 seconds]
borne has joined #ocaml
Serpent7776 has quit [Quit: leaving]
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 265 seconds]