<keep_learning_M>
Possibly noob question: What is Stack (Haskell) equivalent in OCaml ? I just want to fire the tool which would give me some basic skeleton which I can customise according to my needs.
<keep_learning_M>
Never mind. After some fiddling with dune, I figured it out (dune init project).
FreeBirdLjj has quit [Remote host closed the connection]
oni-on-ion has quit [Ping timeout: 250 seconds]
AtumT_ has quit [Quit: AtumT_]
_whitelogger has joined #ocaml
cantstanya has quit [Ping timeout: 260 seconds]
cantstanya has joined #ocaml
ihavelotsoffries has joined #ocaml
ihavelotsoffries has quit [Changing host]
ihavelotsoffries has joined #ocaml
ihavelotsoffries has joined #ocaml
ihavelotsoffries has quit [Remote host closed the connection]
Vikfret has joined #ocaml
keep_learning_M has quit [Quit: This computer has gone to sleep]
Jeanne-Kamikaze has joined #ocaml
liberiga has joined #ocaml
gravicappa has joined #ocaml
Vikfret has quit [Quit: Leaving]
ihavelotsoffries has joined #ocaml
ihavelotsoffries has quit [Changing host]
ihavelotsoffries has joined #ocaml
ihavelotsoffries has joined #ocaml
ihavelotsoffries has quit [Remote host closed the connection]
ihavelotsoffries has joined #ocaml
ihavelotsoffries has quit [Changing host]
ihavelotsoffries has joined #ocaml
ihavelotsoffries has joined #ocaml
FreeBirdLjj has joined #ocaml
zolk3ri has joined #ocaml
liberiga has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
narimiran has joined #ocaml
keep_learning_M has joined #ocaml
Birdface has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
Jeanne-Kamikaze has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
monstasat has joined #ocaml
Birdface has quit [Ping timeout: 250 seconds]
barockobamo has joined #ocaml
kakekongen has quit [Ping timeout: 268 seconds]
liberiga has joined #ocaml
ggole has joined #ocaml
ihavelotsoffries has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 244 seconds]
FreeBirdLjj has joined #ocaml
themsay has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
rwmjones|holiday is now known as rwmjones
gareppa has joined #ocaml
gareppa has quit [Client Quit]
liberiga has quit [Quit: Leaving]
TC01 has quit [Ping timeout: 245 seconds]
mfp has joined #ocaml
TC01 has joined #ocaml
zolk3ri has quit [Quit: Lost terminal]
zolk3ri has joined #ocaml
_13h has quit [Remote host closed the connection]
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
freyr69 has joined #ocaml
FreeBirdLjj has joined #ocaml
flux[m] has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
dl3br[m] has quit [Remote host closed the connection]
copy` has quit [Read error: Connection reset by peer]
FreeBirdLjj has quit [Ping timeout: 258 seconds]
Haudegen[m] has quit [Ping timeout: 252 seconds]
smondet[m] has quit [Ping timeout: 250 seconds]
stan[m] has quit [Ping timeout: 250 seconds]
regnat[m] has quit [Ping timeout: 250 seconds]
Virgile[m] has quit [Ping timeout: 250 seconds]
rgr[m] has quit [Ping timeout: 250 seconds]
otini has quit [Ping timeout: 252 seconds]
peddie has quit [Ping timeout: 252 seconds]
jimt[m] has quit [Ping timeout: 250 seconds]
isaachodes[m] has quit [Ping timeout: 265 seconds]
hdurer[m] has quit [Ping timeout: 265 seconds]
aspiwack[m] has quit [Ping timeout: 252 seconds]
aecepoglu[m] has quit [Ping timeout: 276 seconds]
bartholin has quit [Ping timeout: 245 seconds]
nullifidian has quit [Remote host closed the connection]
bartholin has joined #ocaml
nullifidian has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
Serpent7776 has joined #ocaml
aspiwack[m] has joined #ocaml
copy` has joined #ocaml
dl3br[m] has joined #ocaml
Haudegen[m] has joined #ocaml
aecepoglu[m] has joined #ocaml
hdurer[m] has joined #ocaml
jimt[m] has joined #ocaml
flux[m] has joined #ocaml
smondet[m] has joined #ocaml
peddie has joined #ocaml
otini has joined #ocaml
regnat[m] has joined #ocaml
rgr[m] has joined #ocaml
Virgile[m] has joined #ocaml
isaachodes[m] has joined #ocaml
sepp2k has joined #ocaml
stan[m] has joined #ocaml
<bronsen>
how can I tell toplevel to actually check the filesystem to see if a file (#use "file.ml";;) exists, if said file has been created after toplevel has started? Current I get "Cannot find file file.ml."
<bronsen>
this is for an older version: 4.08.0
<Drup>
wait, 4.08 is not older.
something_else has joined #ocaml
<bronsen>
oh, yes
something_else has quit [Remote host closed the connection]
<bronsen>
taht might explain other things
<Drup>
(also, I don't understand your issue. #use access the filesystem when it's "executed")
<bronsen>
ok
<bronsen>
can I also ask about the book "ocaml from the very beginning
<freyr69>
Your key_exists works differently than member from the book
<freyr69>
it requires a list of pairs according to the type error
<bronsen>
aha! thanks for the pointer :)
Birdface has joined #ocaml
<bronsen>
let's see if I can find member in the book
<bronsen>
yes it seems I am very confused about my own project layout
<bronsen>
woohoo it compiles now, thanks freyr69
keep_learning_M has quit [Quit: This computer has gone to sleep]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
dmiles has joined #ocaml
tristero has quit [Quit: WeeChat 2.3]
zolk3ri has quit [Ping timeout: 260 seconds]
zolk3ri has joined #ocaml
sagax has quit [Ping timeout: 244 seconds]
sagax has joined #ocaml
AtumT has joined #ocaml
klntsky has quit [Remote host closed the connection]
klntsky has joined #ocaml
<bronsen>
so #use "data.ml";; yield "Cannot find file data.ml." However, I am certain this file exists: vim finds it in the directory, ls also shows it. When I restart the repl I can #use that file. https://gist.github.com/bronsen/409307fa208b3e2a3d795d5644c18c3d Restarting ocml is simple, but how can I do without?
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
spew has joined #ocaml
<ggole>
You might need to #cd or use #directory to add to the search path
alexander_ has quit [Quit: Leaving]
<bronsen>
ggole: thanks for the hint :) when I #directory ".";; before #use then a new file is found
<ggole>
Hmm. How are you starting the toplevel?
FreeBirdLjj has quit [Remote host closed the connection]
<bronsen>
ggole: I type in "ocaml" and press enter
FreeBirdLjj has joined #ocaml
<ggole>
OK, that doesn't seem like it would need #directory "."
<ggole>
I'm not sure what would make that happen.
<bronsen>
I wonder if there are environment variables that influence behavior and perhaps these are "not quite correct" in my case
<bronsen>
"opam env" shows a OCAML_TOPLEVEL_PATH, but I haven't found out yet what it's used for
<ggole>
As far as I can tell, that allows paths to be specified in addition to the current directory, but files in the current directory should still be available.
gareppa has joined #ocaml
oni-on-ion has joined #ocaml
<wilfredh>
why does PPX show provide both a pp_foo and a show_foo? I would have thought a show_foo would be sufficient.
FreeBirdLjj has joined #ocaml
gareppa has quit [Quit: Leaving]
<Leonidas>
wilfredh: or you would've thought that pp is sufficient, since you can make show out of it instead.
gjaldon has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
ziyourenxiang_ has quit [Ping timeout: 248 seconds]
q9929t has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
freyr69 has quit [Remote host closed the connection]
q9929t has quit [Quit: q9929t]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
tane has joined #ocaml
<octachron>
wilfredh, you cannot build pp with break hints from show
gjaldon has quit []
ggole has quit [Quit: Leaving]
barockobamo has quit [Remote host closed the connection]
barockobamo has joined #ocaml
barockobamo has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
monstasat has quit [Ping timeout: 268 seconds]
bitwinery has joined #ocaml
themsay has quit [Ping timeout: 246 seconds]
serpent is now known as Serpent7776
zolk3ri has quit [Remote host closed the connection]
themsay has joined #ocaml
gravicappa has quit [Ping timeout: 245 seconds]
kakadu_ has joined #ocaml
jnavila has joined #ocaml
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 248 seconds]
AtumT_ has quit [Ping timeout: 268 seconds]
AtumT has joined #ocaml
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 248 seconds]
narimiran has joined #ocaml
Birdface has quit [Ping timeout: 250 seconds]
Vikfret has joined #ocaml
jnavila has quit [Remote host closed the connection]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
rosterok has joined #ocaml
rosterok has quit [Client Quit]
tane has quit [Quit: Leaving]
liberiga has joined #ocaml
troydm has quit [Ping timeout: 268 seconds]
troydm has joined #ocaml
jao has joined #ocaml
jao is now known as Guest66688
themsay has quit [Ping timeout: 248 seconds]
Guest66688 is now known as jao
themsay has joined #ocaml
narimiran has quit [Ping timeout: 248 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
spew has quit [Quit: going home]
kakadu_ has quit [Remote host closed the connection]
tormen has joined #ocaml
troydm has quit [Ping timeout: 248 seconds]
troydm has joined #ocaml
themsay has quit [Ping timeout: 245 seconds]
liberiga has quit [Ping timeout: 260 seconds]
bitwinery has quit [Quit: Leaving]
keep_learning_M has joined #ocaml
ziyourenxiang_ has joined #ocaml
bitwinery has joined #ocaml
Skaterhaym has joined #ocaml
bitwinery has quit [Ping timeout: 258 seconds]
vicfred has joined #ocaml
Skaterhaym has quit [Read error: Connection reset by peer]
Skaterhaym has joined #ocaml
Skaterhaym has quit [Client Quit]
Serpent7776 has quit [Quit: leaving]
oni-on-ion has quit [Remote host closed the connection]