cmk_zzz has quit [Remote host closed the connection]
mfp has quit [Ping timeout: 240 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
silver has quit [Read error: Connection reset by peer]
jao has quit [Remote host closed the connection]
Jesin has joined #ocaml
jao has joined #ocaml
ziyourenxiang has quit [Ping timeout: 250 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 245 seconds]
keep_learning has joined #ocaml
gravicappa has joined #ocaml
cschneid has joined #ocaml
jao has quit [Ping timeout: 272 seconds]
marvin3 has joined #ocaml
marvin2 has quit [Ping timeout: 268 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]
jnavila has joined #ocaml
jnavila has quit [Ping timeout: 246 seconds]
pierpal has quit [Ping timeout: 268 seconds]
mildtaste has joined #ocaml
freyr69 has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
ygrek has joined #ocaml
sagotch has joined #ocaml
_whitelogger has joined #ocaml
rks` has joined #ocaml
mfp has joined #ocaml
freyr69 has quit [Ping timeout: 246 seconds]
ollehar has joined #ocaml
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #ocaml
notnotdan` is now known as notnotdan
pierpal has quit [Ping timeout: 246 seconds]
ziyourenxiang has joined #ocaml
freyr69 has joined #ocaml
moolc has joined #ocaml
moolc has left #ocaml [#ocaml]
themsay has quit [Ping timeout: 272 seconds]
themsay has joined #ocaml
pierpal has joined #ocaml
jbrown has joined #ocaml
sagax has quit [Ping timeout: 250 seconds]
kakadu has joined #ocaml
notnotdan has quit [Remote host closed the connection]
notnotdan has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
mfp has joined #ocaml
silver has joined #ocaml
ggole has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
sagotch has quit [Ping timeout: 250 seconds]
FreeBirdLjj has joined #ocaml
GreyFaceNoSpace has quit [Ping timeout: 240 seconds]
sagotch has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
jao has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
q9929t has joined #ocaml
q9929t has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
sagax has joined #ocaml
AnAverageHuman has joined #ocaml
ygrek has joined #ocaml
AnAverageHuman has quit [Ping timeout: 256 seconds]
powerbit has quit [Read error: Connection reset by peer]
jao has quit [Ping timeout: 246 seconds]
status402 has joined #ocaml
loli has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 246 seconds]
loli has joined #ocaml
raduom has joined #ocaml
SpiceGuid has joined #ocaml
<cemerick>
I'd like to have a set of printers installed in utop all the time. Doing this manually for each utop session obviously isn't great. Is `.ocamlinit` the best way to "automate" this, or is there an easier route?
marsam has joined #ocaml
<ggole>
Starting the toplevel with -init scriptfile
<ggole>
Well, that's if you have project-specific pretty printers... is that what you meant?
<cemerick>
correct
<ggole>
Yeah, you want -init
<cemerick>
but -init is essentially the same as using `.ocamlinit`, except I need to provide additional args to utop right?
<ggole>
The file specified by -init replaces .ocamlinit
AnAverageHuman has joined #ocaml
<_y>
iirc you can also have an .ocamlinit local to your project
spew has joined #ocaml
<zozozo>
iirc, the toplevel (including utop) loads the local ocamlinit script (i.e. ./.ocamlinit), then the home one ( ~/.ocamlinit) ?
<_y>
i believe it only loads one ocamlinit, as i recall hacking something in order to “source” the global one
tane has joined #ocaml
<ggole>
Oh, I remember that being annoying
<ggole>
Because the names aren't interpreted by the shell, you can't use ~/.ocamlinit
FreeBirdLjj has joined #ocaml
<_y>
right, i found a local .ocamlinit that i wrote once, which starts like this: http://paste.awesom.eu/hjUU&ln
marsam has quit [Ping timeout: 252 seconds]
<_y>
also note that dune has a command to invoke utop with your current project loaded in: dune utop
<cemerick>
_y: right, the project-local `.ocamlinit` is what I set up first
<companion_cube>
I don't do that anymore, fwiw
<cemerick>
At the moment, I wish utop directives could be included right inside modules or something :-P
<companion_cube>
`dune utop` is sufficient to load the library
<cemerick>
companion_cube: that doesn't install all your custom printers though? Doing something nicer than `.ocamlinit` for that was my original Q.
<companion_cube>
yeah... you may make a `top` library maybe
<companion_cube>
foo.top I mean
asymptotically has joined #ocaml
loli has quit [Ping timeout: 244 seconds]
loli has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
SpiceGuid has quit [Quit: ChatZilla 0.9.93 [SeaMonkey 2.49.4/20180713174829]]
ggole has quit [Remote host closed the connection]
freyr69 has quit [Remote host closed the connection]
ggole has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]
status402 has quit [Quit: status402]
gareppa has joined #ocaml
gareppa has quit [Max SendQ exceeded]
gareppa has joined #ocaml
ollehar has quit [Ping timeout: 268 seconds]
AnAverageHuman has joined #ocaml
jbrown has joined #ocaml
loli has quit [Ping timeout: 246 seconds]
gareppa has quit [Quit: Leaving]
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #ocaml
loli has joined #ocaml
Haudegen has quit [Remote host closed the connection]
jao has joined #ocaml
ziyourenxiang has quit [Ping timeout: 250 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]
<tchell>
2
<companion_cube>
3
tchell has quit [Quit: leaving]
loli has quit [Ping timeout: 244 seconds]
Serpent7776 has joined #ocaml
ravenousmoose has joined #ocaml
Haudegen has joined #ocaml
dhil has joined #ocaml
sagotch has quit [Quit: Leaving.]
loli has joined #ocaml
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]