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/
JSharp has quit [*.net *.split]
notnotdan has quit [*.net *.split]
terrorjack has quit [*.net *.split]
pieguy128_ has quit [*.net *.split]
theblatte has quit [*.net *.split]
farn has quit [*.net *.split]
engil1 has quit [*.net *.split]
nfc_ has quit [*.net *.split]
jyc has quit [*.net *.split]
tomku has quit [*.net *.split]
daimrod2 has quit [*.net *.split]
dinosaure has quit [*.net *.split]
Exa has quit [*.net *.split]
ansiwen has quit [*.net *.split]
tomku has joined #ocaml
theblatte has joined #ocaml
dinosaure has joined #ocaml
engil1 has joined #ocaml
daimrod2 has joined #ocaml
notnotdan has joined #ocaml
farn has joined #ocaml
JSharp has joined #ocaml
nfc_ has joined #ocaml
jyc has joined #ocaml
pieguy128 has joined #ocaml
ansiwen has joined #ocaml
Exa has joined #ocaml
terrorjack has joined #ocaml
vicfred has quit [Quit: Leaving]
<d_bot> <RegularSpatula> what about `cat packages.txt | xargs opam uninstall`?
Yehowshua has quit [Ping timeout: 256 seconds]
Tuplanolla has quit [Quit: Leaving.]
SpiceGuid has joined #ocaml
SpiceGuid has quit [Client Quit]
rgrinberg has joined #ocaml
Haudegen has quit [Ping timeout: 260 seconds]
Yehowshua has joined #ocaml
vicfred has joined #ocaml
brettgilio has quit [Quit: Leaving...]
brettgilio has joined #ocaml
Yehowshua has quit [Ping timeout: 256 seconds]
waleee has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
hendursaga has quit [Remote host closed the connection]
hendursaga has joined #ocaml
zebrag has joined #ocaml
zebrag has quit [Quit: Konversation terminated!]
Skyfire has quit [Quit: WeeChat 3.3]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klu has joined #ocaml
klu has quit [Changing host]
klu has joined #ocaml
vicfred has quit [Quit: Leaving]
klu has quit [Quit: .]
klu has joined #ocaml
klu has quit [Changing host]
klu has joined #ocaml
<d_bot> <antron> does ocaml platform work on wsl at this point?
<d_bot> <antron> i've installed the vscode extension, `ocaml-lsp-server` and `ocamlformat` in my local switch. the extension had me select the toolchain. i restarted vscode. ocaml platform doesn't appear to be able to even toggle ml/mli
bartholin has joined #ocaml
_whitelogger has joined #ocaml
hendursa1 has joined #ocaml
<d_bot> <antron> ah, it looks like lsp is mostly or at least somewhat working 🙂 i'll open an issue about the ml/mli thing
hendursaga has quit [Ping timeout: 276 seconds]
Tuplanolla has joined #ocaml
rgrinberg has joined #ocaml
hendursa1 has quit [Remote host closed the connection]
hendursa1 has joined #ocaml
olle has joined #ocaml
nimaje has joined #ocaml
Haudegen has joined #ocaml
bacam has quit [Quit: reboot]
bacam has joined #ocaml
bartholin has quit [Ping timeout: 252 seconds]
jlrnick has joined #ocaml
bartholin has joined #ocaml
jlrnick has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spip has joined #ocaml
bobo has quit [Ping timeout: 264 seconds]
bartholin has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
asm has quit [Changing host]
asm has joined #ocaml
bartholin has quit [Ping timeout: 245 seconds]
mro has joined #ocaml
bartholin has joined #ocaml
olle has quit [Ping timeout: 264 seconds]
dinosaure has quit [Quit: WeeChat 2.3]
dinosaure has joined #ocaml
hyphen has quit [Ping timeout: 268 seconds]
hyphen has joined #ocaml
waleee has joined #ocaml
waleee has quit [Ping timeout: 265 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
Skyfire has joined #ocaml
mro has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 264 seconds]
average has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 245 seconds]
bartholin has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
waleee has quit [Ping timeout: 268 seconds]
waleee has joined #ocaml
olle has joined #ocaml
sagax has quit [Ping timeout: 264 seconds]
hyphen has quit [Read error: Connection reset by peer]
waleee has quit [Ping timeout: 264 seconds]
hyphen has joined #ocaml
sagax has joined #ocaml
hyphen has quit [Ping timeout: 246 seconds]
hyphen has joined #ocaml
mro has quit [Remote host closed the connection]
hyphen has quit [Ping timeout: 252 seconds]
mro has joined #ocaml
bartholin has joined #ocaml
mro has quit [Ping timeout: 245 seconds]
dstein64 has quit [Ping timeout: 252 seconds]
hyphen has joined #ocaml
hornhack has joined #ocaml
dstein64 has joined #ocaml
hackinghaunt has quit [Ping timeout: 260 seconds]
jlrnick has joined #ocaml
bartholin has quit [Ping timeout: 264 seconds]
mro has joined #ocaml
bartholin has joined #ocaml
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #ocaml
mro has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
zebrag has joined #ocaml
rgrinberg has joined #ocaml
jlrnick has quit [Remote host closed the connection]
mro has joined #ocaml
<d_bot> <Mukal> I installed base a few hours ago but couldn't use it, anybody could pin point the reason why?
<d_bot> <Mukal>
<d_bot> <Mukal> Installed base :
<d_bot> <Mukal> ```
<d_bot> <Mukal> opam install base
<d_bot> <Mukal> ```
<d_bot> <Mukal> Open utop and type open base:
<d_bot> <Mukal> ```
<d_bot> <Mukal> opam exec utop
<d_bot> <Mukal> ----utop interface----
<d_bot> <Mukal> utop # open Base ;;
<d_bot> <Mukal> Error: Unbound module Base
<d_bot> <Mukal> ```
<d_bot> <RegularSpatula> Did you `#require “base”;;` first?
mro has quit [Ping timeout: 260 seconds]
<d_bot> <Mukal> No I didn't the tutorial didn't tell that, let me try
<d_bot> <Mukal> Yep it works now, thank you 🙂
<d_bot> <RegularSpatula> No problem!
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgrinberg has joined #ocaml
vicfred has joined #ocaml
rgrinberg has quit [Ping timeout: 260 seconds]
rgrinberg has joined #ocaml
mro has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
gravicappa has quit [Ping timeout: 246 seconds]
waleee has quit [Ping timeout: 260 seconds]
bartholin has quit [Ping timeout: 264 seconds]
cross_ has quit [Remote host closed the connection]
waleee has joined #ocaml
mro has joined #ocaml
bartholin has joined #ocaml
waleee has quit [Ping timeout: 245 seconds]
Anarchos has joined #ocaml
mro has quit [Quit: Leaving...]
Skyfire has quit [Quit: br]
Skyfire has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee has joined #ocaml
<d_bot> <gabenpls> is there a channel here to discuss compilers?
<d_bot> <NULL> Not in the Discord, but I think there is in the IRC
waleee has quit [Ping timeout: 245 seconds]
<d_bot> <gabenpls> ok ty
<d_bot> <gabenpls> i wonder if we can ask the mods to create a channel for that here. would be nice
bartholin has quit [Ping timeout: 245 seconds]
Anarchos has joined #ocaml
bartholin has joined #ocaml
waleee has joined #ocaml
waleee has quit [Ping timeout: 268 seconds]
<d_bot> <rbjorklin> For working with base/core you might find this useful: https://dev.realworldocaml.org/install.html#utop-setup
<d_bot> <Mukal> I'm actuallly following that very book
<d_bot> <Mukal> Although there are some codes that are not working/different in mine
<d_bot> <Mukal> Which makes me wonder
<d_bot> <Mukal> One is for **. for me it returns an error. The book says it's for float but for me 2 stars without the dot is for float
<d_bot> <Mukal> And for snippets that have ```~f:``` it returns an error also
<d_bot> <rbjorklin> These behave the same for me:
<d_bot> <rbjorklin> ```ocaml
<d_bot> <rbjorklin> utop # 2. ** 8.;;
<d_bot> <rbjorklin> - : float = 256.
<d_bot> <rbjorklin> >──────────────────────────
<d_bot> <rbjorklin> utop # Float.pow 2. 8.;;
<d_bot> <rbjorklin> - : float = 256.
<d_bot> <rbjorklin> ```
<d_bot> <rbjorklin> Do you have an example?
<d_bot> <Mukal> ```py
<d_bot> <Mukal> let languages = ["OCaml";"Perl";"C"] ;;
<d_bot> <Mukal> List.map languages ~f:String.length ;;
<d_bot> <Mukal> ```
<d_bot> <Mukal> This one
<d_bot> <NULL> (Replace "py" with "ocaml" in your code blocks)
<d_bot> <Mukal> Nice
<d_bot> <Mukal> Yep but the book says
<d_bot> <Mukal> ```ocaml
<d_bot> <Mukal> 2. **. 8.;;
<d_bot> <Mukal> ```
<d_bot> <Mukal> Well, maybe it's one of those "it works on my machine". But not that important either (maybe?)
<d_bot> <NULL> Did you open `Base` ?
<d_bot> <hcarty> @Klei023 I think the instructions assume you've done `open Base;;` to bring this all into scope
Anarchos has quit [Quit: Vision[]: i've been blurred!]
<d_bot> <Mukal> I did
<d_bot> <Mukal> Let me check it once more to reaffirm
<d_bot> <NULL> Your errors pretty much align with the default behaviour (i.e. not opening Base)
<d_bot> <Mukal> ....
<d_bot> <Mukal> It works now
<d_bot> <Mukal> I pity those IT support folks
<d_bot> <Mukal> Sorry guys
<d_bot> <rbjorklin> You can put `open Base` in `~/.ocamlinit` just after `require "base"` to have it be automatic every time you open up `utop`
<d_bot> <Mukal> Alright will do
<d_bot> <Mukal> Thanks
<d_bot> <Mukal> Yep works
bartholin has quit [Quit: Leaving]
bobo has joined #ocaml
spip has quit [Ping timeout: 264 seconds]
<d_bot> <gabenpls> #compilers is now a thing if anyone's interested
olle has quit [Ping timeout: 264 seconds]
rgrinberg has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
waleee has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
hendursaga has quit [Ping timeout: 276 seconds]