infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
zv has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
kareeeeem has quit [Quit: Connection closed for inactivity]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
barcabuona has quit [Ping timeout: 240 seconds]
Algebr has quit [Ping timeout: 260 seconds]
infinity0 has joined #ocaml
infinity0 has quit [Remote host closed the connection]
mengu has quit [Quit: Leaving...]
zv has joined #ocaml
zv has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
cbot_ has joined #ocaml
cbot has quit [Ping timeout: 260 seconds]
cbot_ has quit [Ping timeout: 260 seconds]
mfp has quit [Ping timeout: 240 seconds]
ziyourenxiang has joined #ocaml
zv has joined #ocaml
Algebr has joined #ocaml
average has joined #ocaml
Algebr has quit [Ping timeout: 240 seconds]
zv has quit [Ping timeout: 240 seconds]
silver has quit [Quit: rakede]
average has quit [Ping timeout: 245 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
yegods has quit [Remote host closed the connection]
zv has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 240 seconds]
diphuser has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 246 seconds]
ski has quit [Remote host closed the connection]
alexelcu has quit [Remote host closed the connection]
alexelcu has joined #ocaml
diphuser has quit [Ping timeout: 245 seconds]
shinnya has joined #ocaml
cbot has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 240 seconds]
infinity0 has joined #ocaml
_whitelogger has joined #ocaml
FreeBirdLjj has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 245 seconds]
<nicootje>
Leonidas: I still don't get the point of bucklescript over jsoo, but that's not relevant there (also, I don't do much webdev things)
MercurialAlchemi has joined #ocaml
Algebr has joined #ocaml
_whitelogger has joined #ocaml
ziyourenxiang has joined #ocaml
diphuser has joined #ocaml
<adrien>
nicootje: it could boild down to whether your goal is to publish stuff in the npm repository and to use what's published there, or to use existing OCaml libraries
jack5638 has quit [Ping timeout: 255 seconds]
jack5638 has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 240 seconds]
govg has quit [Remote host closed the connection]
govg has joined #ocaml
jlam__ has quit [Ping timeout: 240 seconds]
jlam has joined #ocaml
ziyourenxiang has quit [Ping timeout: 260 seconds]
Simn has joined #ocaml
<Leonidas>
nicootje: i think bucklescript is more geared for js developers and jsoo more for ocamlers.
cbot has quit [Ping timeout: 260 seconds]
diphuser has quit [Ping timeout: 245 seconds]
MercurialAlchemi has joined #ocaml
zpe has joined #ocaml
jnavila has joined #ocaml
average has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
tane_ has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 268 seconds]
<nicootje>
adrien: Integration with npm shouldn't require writing a completely new compiler, though, should it?
_whitelogger has joined #ocaml
diphuser has joined #ocaml
mfp has joined #ocaml
DanielRi1hman is now known as DanielRichman
<adrien>
nicootje: well, the workflow really is different
<adrien>
but I'm not saying anything about how the implementations are done
govg has joined #ocaml
yegods has joined #ocaml
TheLemonMan has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
silver has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
govg has joined #ocaml
andreas has joined #ocaml
<andreas>
I'm trying to get going with ocaml-migrate-parsetree, but even the simplest examples seem to fail, e.g. `Driver.register ~name:"foo" Versions.ocaml_403 Ast_403.Ast_mapper.default_mapper` gives a type error. Any hints on how to get started?
govg has quit [Ping timeout: 260 seconds]
ontologiae has joined #ocaml
<andreas>
Seems like the minimal example is `Driver.register ~name:"foo" Versions.ocaml_403 (fun _ _ -> Ast_403.Ast_mapper.default_mapper`. Was missing the "fun" part.
Algebr has quit [Ping timeout: 245 seconds]
Simn has quit [Read error: Connection reset by peer]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 246 seconds]
govg has joined #ocaml
govg has quit [Ping timeout: 260 seconds]
tennix has joined #ocaml
tennix_ has joined #ocaml
tennix_ has quit [Client Quit]
jlam__ has joined #ocaml
tennix has quit [Ping timeout: 260 seconds]
jlam has quit [Ping timeout: 260 seconds]
mengu has joined #ocaml
FreeBirdLjj has joined #ocaml
jlam has joined #ocaml
govg has joined #ocaml
jlam__ has quit [Ping timeout: 268 seconds]
richi238 has joined #ocaml
tane_ has quit [Ping timeout: 255 seconds]
mengu has quit [Remote host closed the connection]
silver has quit [Read error: Connection reset by peer]
jlam__ has joined #ocaml
jlam has quit [Ping timeout: 240 seconds]
dudelson has joined #ocaml
jlam has joined #ocaml
jlam__ has quit [Ping timeout: 245 seconds]
jlam_ has quit [Quit: Leaving]
jlam_ has joined #ocaml
jlam has quit [Ping timeout: 240 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
shinnya has quit [Ping timeout: 260 seconds]
zpe has quit [Ping timeout: 240 seconds]
diphuser has quit [Ping timeout: 240 seconds]
govg has quit [Quit: leaving]
<Leonidas>
andreas: hey, just wondering, would you be willing to do a talk about graphql on the polyglot meetup?
mengu has joined #ocaml
fraggle_ has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
mengu has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 260 seconds]
fraggle_ has joined #ocaml
Simn has joined #ocaml
ziyourenxiang has joined #ocaml
<adrien>
with ocsigen, does anyone know how to do logging for both client and server sides?
<adrien>
I don't need something smart but my code is shared between the two sides and I can't find anything besides printf
mengu has joined #ocaml
mengu has quit [Ping timeout: 260 seconds]
diphuser has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
groovy2shoes has quit [Remote host closed the connection]
sz0 has joined #ocaml
jlam_ has quit [Ping timeout: 240 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
groovy2shoes has joined #ocaml
jlam has joined #ocaml
FreeBirdLjj has joined #ocaml
argent_smith has joined #ocaml
govg has joined #ocaml
jnavila has joined #ocaml
ontologiae has quit [Ping timeout: 260 seconds]
jlam_ has joined #ocaml
ziyourenxiang has quit [Ping timeout: 268 seconds]
jlam has quit [Ping timeout: 268 seconds]
richi238 has quit [Ping timeout: 258 seconds]
argent_smith has quit [Quit: Leaving.]
ontologiae has joined #ocaml
<andreas>
Leonidas: Sure, when's that?
aniou has joined #ocaml
jlam has joined #ocaml
govg has quit [Ping timeout: 240 seconds]
govg has joined #ocaml
<Leonidas>
adrien: the next one is planned to be June 14th
<Leonidas>
andreas: --^ (sorry, wrong highlight)
<adrien>
:)
cokanut has joined #ocaml
<cokanut>
How can I map over a Map (Map.Make String), and return an array/list? This is what I'm trying to do:
<cokanut>
let to_kv_string index key value = key ^ (" => " ^ value)
<cokanut>
MyMap.mapi to_kv_string my_map
<cokanut>
mapi seems to return another map itself.
<cokanut>
i want to convert a normal map into an array/list, and have the key and value together as a string as each element.
diphuser has quit [Quit: leaving]
<octachron>
cokanut, you should use either "fold" or "bindings"
argent_smith has joined #ocaml
<andreas>
Leonidas: Unfortunately I'm at an off-site with work the 14th :( Maybe the following time?
<Leonidas>
andreas: sure, sounds good. There will definitely be more :)
<cokanut>
octachron: thanks! bindings was what I was looking for. `List.map (fun (key, value) => key ^ " : " ^ value) (bindings myMap);` worked.
silver has joined #ocaml
oliverfriedmann has joined #ocaml
<oliverfriedmann>
Hi there - I'm specifying a bunch of executables in my _oasis file - is there a way to specify the output path? It seems that by default, all the executables are being saved to the root directory, but I would rather keep them in a ./bin directory.
jlam__ has joined #ocaml
jlam has quit [Ping timeout: 260 seconds]
iitalics has joined #ocaml
silver has quit [Read error: Connection reset by peer]
jlam has joined #ocaml
jlam_ has quit [Ping timeout: 255 seconds]
letaris has joined #ocaml
cokanut has quit [Ping timeout: 240 seconds]
jlam__ has quit [Read error: Connection reset by peer]
jlam_ has joined #ocaml
cokanut has joined #ocaml
bitbckt has quit [Ping timeout: 246 seconds]
jlam_ has quit [Ping timeout: 255 seconds]
oliverfriedmann has quit [Read error: Connection reset by peer]
ontologiae has quit [Ping timeout: 240 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
jlam_ has joined #ocaml
jlam_ has quit [Ping timeout: 260 seconds]
jlam__ has joined #ocaml
bitbckt has joined #ocaml
iitalics has quit [Ping timeout: 245 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
jlam_ has joined #ocaml
jlam__ has quit [Read error: Connection timed out]
jbrown has quit [Ping timeout: 246 seconds]
pierpa has joined #ocaml
Simn has quit [Read error: Connection reset by peer]
jbrown has joined #ocaml
raphaelss has joined #ocaml
cokanut has quit [Ping timeout: 246 seconds]
jlam__ has joined #ocaml
jlam has quit [Ping timeout: 255 seconds]
dudelson has quit [Ping timeout: 245 seconds]
cokanut has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
jlam has joined #ocaml
jlam__ has quit [Ping timeout: 245 seconds]
<mfp>
adrien: use Lwt_log.xxx -- prepend [%%client module Lwt_log = Eliom_lib.Lwt_log ] at the top so that the module is defined in client-side code
cokanut has quit [Quit: Lost terminal]
kakadu has joined #ocaml
jnavila has quit [Remote host closed the connection]
yegods has quit [Remote host closed the connection]
mengu has joined #ocaml
ontologiae has joined #ocaml
yegods has joined #ocaml
ontologiae has quit [Ping timeout: 246 seconds]
dudelson has joined #ocaml
raphaelss has quit [Ping timeout: 260 seconds]
kolko has quit [Ping timeout: 246 seconds]
argent_smith has quit [Quit: Leaving.]
kakadu has quit [Remote host closed the connection]
letaris has quit [Quit: Leaving]
yegods has quit [Remote host closed the connection]
yegods has joined #ocaml
srcerer_ has joined #ocaml
srcerer has quit [Ping timeout: 272 seconds]
mengu has quit [Quit: Leaving...]
infinity0_ has joined #ocaml
infinity0 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]