infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
bitwinery has joined #ocaml
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
Serpent7776 has quit [Quit: leaving]
Exagone313 has quit [Read error: Connection reset by peer]
Exagone313 has joined #ocaml
mahmudov has quit [Read error: Connection reset by peer]
mahmudov has joined #ocaml
narimiran has quit [Ping timeout: 258 seconds]
Haudegen has joined #ocaml
silver has quit [Read error: Connection reset by peer]
wingsorc has joined #ocaml
mahmudov has quit [Ping timeout: 240 seconds]
tormen has joined #ocaml
Haudegen has quit [Ping timeout: 258 seconds]
tormen_ has quit [Ping timeout: 265 seconds]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
wingsorc has quit [Ping timeout: 248 seconds]
karan[m]1 has joined #ocaml
karan[m]1 is now known as karan[m]2
gravicappa has joined #ocaml
_whitelogger has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ocaml
_whitelogger has joined #ocaml
gravicappa has joined #ocaml
mahmudov has joined #ocaml
mahmudov has quit [Remote host closed the connection]
_whitelogger has joined #ocaml
mahmudov has joined #ocaml
ggole has joined #ocaml
gravicappa has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
mahmudov has quit [Remote host closed the connection]
mahmudov has joined #ocaml
tane has joined #ocaml
narimiran has joined #ocaml
mahmudov has quit [Ping timeout: 258 seconds]
tizoc has quit [Quit: Coyote finally caught me]
tizoc has joined #ocaml
Serpent7776 has joined #ocaml
dborisog has joined #ocaml
mahmudov has joined #ocaml
jimt has joined #ocaml
<companion_cube>
Armael, rwmjones: indeed CCSexp now ships a functor so you can use your own Sexp type (possibly with locations, which was also my use case)
jim7j1ajh has quit [Ping timeout: 265 seconds]
oni-on-ion has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 265 seconds]
mahmudov has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 248 seconds]
dx has quit [Quit: brb upgrading]
penguwin has quit [Quit: NO CARRIER]
penguwin has joined #ocaml
<Serpent7776>
try.ocamlpro.com says it's version 4.01, is that ocaml compiler version?
jnavila has joined #ocaml
dx has joined #ocaml
dx has joined #ocaml
dborisog has quit [Ping timeout: 260 seconds]
mahmudov has joined #ocaml
_whitelogger has joined #ocaml
<companion_cube>
yes, most likely
<Serpent7776>
this seems quite outdated, is there more up to date online tool to try ocaml?
<companion_cube>
sketch.sh/ maybe
<Serpent7776>
thanks companion_cube, it looks nice, doesn't tell version tho
<companion_cube>
yeah I'm not sure; the source code might be on github though
<Serpent7776>
yeah, I'm looking at the source, but can't find any version
<companion_cube>
maybe look for an opam file
<companion_cube>
(possibly a constraint on `ocaml` or `compiler-libs`?)
<Serpent7776>
too bad https://godbolt.org/ doesn't have support for executing ocaml code, they have recent version of ocaml compiler
Haudegen has joined #ocaml
wingsorc has joined #ocaml
ziyourenxiang has quit [Ping timeout: 265 seconds]
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
wingsorc has quit [Quit: Leaving]
wingsorc has joined #ocaml
narimiran has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
jnavila has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
vicfred has quit [Quit: Leaving]
jnavila has quit [Ping timeout: 256 seconds]
Anarchos has left #ocaml [#ocaml]
ggole has quit [Quit: Leaving]
iZsh_ has quit [Ping timeout: 246 seconds]
brettgilio has quit [Read error: Connection reset by peer]
<wingsorc>
Armael, do you have an example where you use your pp_loc library? I can't wrap my head around it
jnavila has joined #ocaml
iZsh has joined #ocaml
<Armael>
Hum, not at the moment
<Armael>
What is confusing you? Maybe I can try to clarify in the meantime
<wingsorc>
There is this input module that is accepted as an argument. I don't quite understand how to define such a module? Is this an ocaml thing I don't understand?
<Armael>
It's a value of type Input.t
<Armael>
Input is just a submodule of Pp_loc
<Armael>
An Input.t is an abstraction over the input file (or string, or...)
<Armael>
Basically the pp function needs to be able to read the input file to get the code snippet to print
<Armael>
If your input is indeed a file, you can use the Input.file function to get a corresponding Input.t
<wingsorc>
Ok thanks I got it to work. I was confused about the Input.t part. I passed in Input.string with the corresponding string and that does it.
Anarchos has joined #ocaml
okuu has joined #ocaml
Anarchos has quit [Client Quit]
unyu has quit [Ping timeout: 246 seconds]
<Armael>
Cool!
<Armael>
Feel free to make a PR to add a simple example
<Armael>
If you think that it would help
madroach_ has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
mahmudov has quit [Ping timeout: 265 seconds]
mahmudov has joined #ocaml
narimiran has quit [Ping timeout: 268 seconds]
brettgilio has joined #ocaml
gravicappa has quit [Ping timeout: 260 seconds]
barockobamo has joined #ocaml
barockobamo has quit [Remote host closed the connection]
silver has joined #ocaml
jnavila has quit [Remote host closed the connection]
okuu is now known as unyu
Serpent7776 has quit [Quit: leaving]
ziyourenxiang has joined #ocaml
mahmudov has quit [Remote host closed the connection]