haesbaert has quit [Remote host closed the connection]
silver has quit [Read error: Connection reset by peer]
wilfredh has quit [Quit: Connection closed for inactivity]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
wham has quit [Ping timeout: 246 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tormen has joined #ocaml
kvda has joined #ocaml
tormen_ has quit [Ping timeout: 246 seconds]
mfp has quit [Ping timeout: 240 seconds]
dtornabene has joined #ocaml
<dtornabene>
hey does anyone know how to find where a function comes from, from within utop?
AnAverageHuman has joined #ocaml
wham has joined #ocaml
olle has joined #ocaml
groovy2shoes has quit [Remote host closed the connection]
marvin2 has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 268 seconds]
kakadu_ has quit [Ping timeout: 255 seconds]
kakadu_ has joined #ocaml
AnAverageHuman has quit [Ping timeout: 256 seconds]
ggole has joined #ocaml
dtornabene has quit [Remote host closed the connection]
mildtaste has joined #ocaml
freyr69 has joined #ocaml
crowley95 has quit [Ping timeout: 240 seconds]
jao has quit [Ping timeout: 250 seconds]
crowley95 has joined #ocaml
nicoo has quit [Ping timeout: 256 seconds]
nicoo has joined #ocaml
_whitelogger_ has joined #ocaml
olle has quit [Ping timeout: 255 seconds]
asymptotically has joined #ocaml
_whitelogger has joined #ocaml
amiloradovsky has joined #ocaml
freyr69 has quit [Read error: Connection reset by peer]
freyr69 has joined #ocaml
Serpent7776 has joined #ocaml
dhil has joined #ocaml
mildtaste has quit [Ping timeout: 250 seconds]
mfp has joined #ocaml
Haudegen has joined #ocaml
ollehar has joined #ocaml
ollehar_ has joined #ocaml
silver has joined #ocaml
mildtaste has joined #ocaml
malina has joined #ocaml
marvin2 has joined #ocaml
malina has quit [Ping timeout: 268 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #ocaml
malina has joined #ocaml
emias has quit [Quit: Reboot.]
emias has joined #ocaml
dhil has quit [Ping timeout: 255 seconds]
jao has joined #ocaml
dhil has joined #ocaml
themsay has joined #ocaml
wham has quit [Ping timeout: 250 seconds]
freyr69 has quit [Ping timeout: 255 seconds]
q9929t has joined #ocaml
freyr69 has joined #ocaml
jaar has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
dhil has quit [Ping timeout: 250 seconds]
q9929t has quit [Quit: q9929t]
FreeBirdLjj has joined #ocaml
malina has quit [Remote host closed the connection]
amiloradovsky has quit [Remote host closed the connection]
unyu has quit [Quit: Reboot.]
unyu has joined #ocaml
dhil has joined #ocaml
spew has joined #ocaml
Haudegen has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
unyu has quit [Ping timeout: 258 seconds]
freyr69 has quit [Remote host closed the connection]
mildtaste has left #ocaml [#ocaml]
orbifx has joined #ocaml
ygrek has joined #ocaml
themsay has quit [Ping timeout: 250 seconds]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
AnAverageHuman has joined #ocaml
unyu has joined #ocaml
Haudegen has quit [Remote host closed the connection]
orbifx has quit [Ping timeout: 258 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
kjak has quit [Ping timeout: 268 seconds]
wilfredh has joined #ocaml
kjak has joined #ocaml
unyu has quit [Ping timeout: 245 seconds]
AnAverageHuman has quit [Ping timeout: 256 seconds]
jaar has quit [Quit: Leaving]
ollehar_ has quit [Ping timeout: 255 seconds]
ollehar has quit [Ping timeout: 255 seconds]
unyu has joined #ocaml
jmiven has quit [Remote host closed the connection]
jmiven has joined #ocaml
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
<jstolarek>
how do I write more than one sharing constraint in a module signature?
<jstolarek>
module Foo : (FooSig with type t = P.t and s = R.s) = struct ... end
<jstolarek>
this results in a syntax error
<jstolarek>
though Real World Ocaml says it should work
<octachron>
"and type s ..."
unyu has quit [Ping timeout: 255 seconds]
dhil has quit [Ping timeout: 245 seconds]
<jstolarek>
ah... thanks!
gareppa has joined #ocaml
gareppa has quit [Remote host closed the connection]
Haudegen has joined #ocaml
unyu has joined #ocaml
dhil has joined #ocaml
<cemerick>
a type-level `with` expression would be neat
<cemerick>
e.g. `type foo' = { foo with field : type }`, etc
<ggole>
You can sort of do that with first-class modules
<ggole>
But it's pretty heavy
tane has joined #ocaml
jao has quit [Remote host closed the connection]
jao has joined #ocaml
<cemerick>
ggole: you mean module includes, etc?
<ggole>
Yeah. You can override or add fields to a module fairly easily.
orbifx has joined #ocaml
olle has joined #ocaml
themsay has joined #ocaml
themsay has quit [Ping timeout: 250 seconds]
ravenous_ has joined #ocaml
kakadu has joined #ocaml
webshinra_ has joined #ocaml
webshinra has quit [Remote host closed the connection]
marvin2 has quit [Ping timeout: 258 seconds]
orbifx has quit [Ping timeout: 240 seconds]
ggole has quit [Quit: Leaving]
tane has quit [Quit: Leaving]
orbifx has joined #ocaml
marvin2 has joined #ocaml
orbifx has quit [Ping timeout: 258 seconds]
dhil has quit [Ping timeout: 245 seconds]
wham has joined #ocaml
wham has quit [Quit: Leaving]
jnavila has joined #ocaml
dhil has joined #ocaml
wham has joined #ocaml
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ocaml
Haudegen has quit [Quit: No Ping reply in 180 seconds.]
spew has quit [Quit: going home]
Haudegen has joined #ocaml
jnavila has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 244 seconds]
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #ocaml
omarramo has joined #ocaml
<omarramo>
hey guys, if I want to apply a function on a list of tuples via list.map, but I only want to change the first element of each tuple, can I somehow match on the other elements of the tuple with _?
themsay has joined #ocaml
<companion_cube>
List.map (fun (x,y) -> f x, y) my_list
<omarramo>
but I always need to specify y, right? can't just wildcard it?
<companion_cube>
not if you want it to be in the result
<omarramo>
ok, thanks
kakadu has quit [Remote host closed the connection]
Serpent7776 has quit [Quit: leaving]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]