Algebr` has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
silver has quit [Quit: rakede]
breitenj has joined #ocaml
Algebr` has joined #ocaml
bruce_r has quit [Ping timeout: 258 seconds]
breitenj has quit [Ping timeout: 264 seconds]
jtmcf has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Ping timeout: 244 seconds]
pierpa has quit [Ping timeout: 255 seconds]
bruce_r has joined #ocaml
jtmcf has joined #ocaml
Sorella has joined #ocaml
gyro has joined #ocaml
<gyro>
Is there any way to have an exception of polymorphic type? As in: type exn += AlreadyInMap of 'k val add_but_dont_override: ('k, 'v) map -> 'k -> 'v -> unit
f[x] has quit [Ping timeout: 258 seconds]
<Algebr`>
I think there was a stackoverflow answer that indirectly did this
<Algebr`>
probably will use a local module
breitenj has joined #ocaml
breitenj has quit [Ping timeout: 276 seconds]
breitenj has joined #ocaml
<Algebr`>
anyone used hopper with ocaml code? useful?
breitenj has quit [Ping timeout: 260 seconds]
gyro has quit [Quit: Leaving]
breitenj has joined #ocaml
Denommus has joined #ocaml
<Denommus>
anyone there?
breitenj has quit [Ping timeout: 258 seconds]
breitenj has joined #ocaml
Reshi has joined #ocaml
breitenj has quit [Ping timeout: 265 seconds]
M-jimt has quit [Ping timeout: 250 seconds]
evhan` has joined #ocaml
M-jimt has joined #ocaml
vinoski_ has joined #ocaml
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cantstanya has quit [Ping timeout: 250 seconds]
smondet_ has joined #ocaml
Leonidas_ has joined #ocaml
atsampso1 has joined #ocaml
pippijn has quit [Ping timeout: 250 seconds]
mehdib has joined #ocaml
al-maisan_ has joined #ocaml
pippijn has joined #ocaml
alpen- has joined #ocaml
evhan has quit [Ping timeout: 258 seconds]
vinoski has quit [Ping timeout: 258 seconds]
Sorella has quit [Ping timeout: 258 seconds]
al-maisan has quit [Ping timeout: 258 seconds]
mankyKitty has quit [Ping timeout: 258 seconds]
osheeta has quit [Ping timeout: 258 seconds]
rfv has quit [Ping timeout: 258 seconds]
msch has quit [Ping timeout: 258 seconds]
Kakadu2[m] has quit [Ping timeout: 258 seconds]
smondet has quit [Ping timeout: 258 seconds]
adi___ has quit [Ping timeout: 258 seconds]
maker has quit [Ping timeout: 258 seconds]
atsampson has quit [Ping timeout: 258 seconds]
Leonidas has quit [Ping timeout: 258 seconds]
cnu- has quit [Ping timeout: 258 seconds]
chelfi has quit [Ping timeout: 258 seconds]
mehdib_ has quit [Ping timeout: 258 seconds]
alpen has quit [Ping timeout: 258 seconds]
vinoski_ is now known as vinoski
Kakadu2[m] has joined #ocaml
maker1 has joined #ocaml
osheeta has joined #ocaml
cnu- has joined #ocaml
chelfi has joined #ocaml
Sorella has joined #ocaml
adi___ has joined #ocaml
cantstanya has joined #ocaml
<bruce_r>
Hey guys can someone tell me how to do this please:
<bruce_r>
let f () = (`A : [`A])
mankyKitty has joined #ocaml
<bruce_r>
let g () = (f () :> [> `A])
<bruce_r>
I want g to return [> `A] and not [`A], but this doesn't work
rfv has joined #ocaml
msch has joined #ocaml
infinity0 has quit [Remote host closed the connection]
reynir has quit [Ping timeout: 250 seconds]
reynir has joined #ocaml
infinity0 has joined #ocaml
breitenj has joined #ocaml
<Drup>
replace the second one by
<Drup>
let g () = (f () : [` A] :> [> `A])
breitenj has quit [Ping timeout: 265 seconds]
FreeBirdLjj has joined #ocaml
<bruce_r>
Thanks Drup, that indeed works.
<bruce_r>
I wonder why the type is needed here
Heasummn has quit [Quit: Leaving]
breitenj has joined #ocaml
breitenj has quit [Ping timeout: 255 seconds]
ohama has quit [Ping timeout: 264 seconds]
bruce_r has quit [Ping timeout: 250 seconds]
ohama has joined #ocaml
bruce_r has joined #ocaml
breitenj has joined #ocaml
breitenj has quit [Ping timeout: 264 seconds]
breitenj has joined #ocaml
breitenj has quit [Ping timeout: 252 seconds]
MercurialAlchemi has joined #ocaml
breitenj has joined #ocaml
breitenj has quit [Ping timeout: 264 seconds]
tane has joined #ocaml
Algebr` has quit [Ping timeout: 240 seconds]
Reshi has quit [Quit: WeeChat 1.5]
d0nn1e has quit [Ping timeout: 265 seconds]
d0nn1e has joined #ocaml
copy` has quit [Quit: Connection closed for inactivity]
parsnip has joined #ocaml
ggole has joined #ocaml
breitenj has joined #ocaml
Algebr` has joined #ocaml
<Denommus>
uh
tmtwd has quit [Ping timeout: 252 seconds]
breitenj has quit [Ping timeout: 258 seconds]
<Denommus>
I can't install ocsigen-start
<Denommus>
it requires ocsigen-toolkit, which seems to have broken dependencies
tmtwd has joined #ocaml
<Denommus>
ah, I had to pin A LOT of other things
soupault has quit [Remote host closed the connection]
Leonidas_ is now known as Leonidas
<Leonidas>
Algebr: what is hopper?
<Algebr`>
Leonidas: the most amazing disassembler
<Algebr`>
Made by a Frenchmen too
bruce_r has quit [Ping timeout: 264 seconds]
tmtwd has quit [Ping timeout: 265 seconds]
tmtwd has joined #ocaml
breitenj has joined #ocaml
antranigv has quit [Ping timeout: 244 seconds]
antranigv has joined #ocaml
Simn has joined #ocaml
<Algebr`>
its an awesome debugger too
Denommus has quit [Quit: sleeping]
tane has quit [Quit: Leaving]
Algebr` has quit [Ping timeout: 276 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
yegods has joined #ocaml
tmtwd has joined #ocaml
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
tmtwd has quit [Ping timeout: 244 seconds]
yegods has quit [Remote host closed the connection]
<tormen>
My 2 problems (described in the pastebin as well): (a) Signature match "t not included in 'a" .... whaaaaat ? ;) (b) How do I deal with a functor function that can get 2 different inputs (depending on the type of functor involved) ?
jbrown has quit [Ping timeout: 276 seconds]
copy` has joined #ocaml
<Algebr``>
what happened with that jabber client, is it still working
<tormen>
... jabber client ?
soupault has quit [Remote host closed the connection]
soupault has joined #ocaml
<Algebr``>
hannes made one I thought
<tormen>
ah :)
jbrown has joined #ocaml
martinkl_ has joined #ocaml
<Algebr``>
wasn't there a way to recreate everything on a switch quickly? like `opam list | opam switch new -R -A 4.02.3 ` would be nice
<Algebr``>
or apparenly there was a switch import
soupault has quit [Remote host closed the connection]