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)
<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
<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?
<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.:
<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)]
<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]