<smondet[m]>
Drup: too late, what you just said already gets people hyped,
<smondet[m]>
Now you have to tell us more ;)
<Drup>
Nope :p
<orbifx>
It's multi-multi-core OCaml.. :P
hobbes- has joined #ocaml
nomicflux has joined #ocaml
<jmiven>
ocaml_of_js! :-P
pierpa has joined #ocaml
maufred has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Changing host]
kerrhau has joined #ocaml
<Drup>
Actually, I really would like to write a compiler from Gameboy assembly to ocaml bytecode :>
<Drup>
ocaml_of_gb, if you will
<Armael>
um, but why
<Drup>
It would take quite some time that I don't really have time but that would be so awesome
sepp2k has quit [Quit: Leaving.]
<Drup>
Armael: do I even need a reason for that ? :D
<Armael>
I mean I guess then you could play GB games directly using ocamlrun
<Armael>
but that's it, right? you can't do more than what you could do with an emulator
<Drup>
isn't it sort of enough ? :D
<Armael>
I guess :(
<Drup>
(arguably, the other direction would be very cool too)
shinnya has quit [Ping timeout: 268 seconds]
enterprisey has quit [Remote host closed the connection]
ousado_ has quit [Remote host closed the connection]
_snhmib has quit [Ping timeout: 240 seconds]
jao has quit [Ping timeout: 240 seconds]
ousado_ has joined #ocaml
<whoman>
i wonder why ocaml browser needs each library added, and also why it does not show doc strings ?
raphaelss has quit [Ping timeout: 248 seconds]
<Drup>
whoman: are you talking about the old thing implemented with tk ?
ousado_ has quit [Remote host closed the connection]
ousado_ has joined #ocaml
nomicflux has quit [Quit: nomicflux]
<whoman>
yes
<Drup>
whoman: use ocp-browser instead ;)
mfp has quit [Ping timeout: 240 seconds]
jbrown has joined #ocaml
lostman has quit [Quit: Connection closed for inactivity]
jbrown has quit [Remote host closed the connection]
ousado_ has quit [Read error: Connection reset by peer]
jbrown has joined #ocaml
kerrhau has quit [Quit: bye!]
orbifx has quit [Ping timeout: 260 seconds]
raphaelss has joined #ocaml
rossberg has quit [Ping timeout: 264 seconds]
rossberg has joined #ocaml
sh0t has joined #ocaml
sh0t has quit [Remote host closed the connection]
barcabuona has quit [Ping timeout: 268 seconds]
bramford has joined #ocaml
whoman has quit [Read error: Connection reset by peer]
Jesin has joined #ocaml
whoman has joined #ocaml
nomicflux has joined #ocaml
andreas___ has quit [Quit: Connection closed for inactivity]
pierpa has quit [Quit: Page closed]
kerrhau has joined #ocaml
davs has joined #ocaml
nomicflux has quit [Quit: nomicflux]
TarVanimelde has joined #ocaml
BitPuffin|osx has joined #ocaml
davs has quit [Ping timeout: 276 seconds]
mbuf has joined #ocaml
ousado_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0_ has quit [Changing host]
infinity0 is now known as Guest14046
infinity0_ has joined #ocaml
Guest14046 has quit [Killed (card.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
raphaelss has quit [Remote host closed the connection]
KeyJoo has joined #ocaml
zmt01 has joined #ocaml
xvilka has joined #ocaml
zmt00 has quit [Ping timeout: 268 seconds]
<xvilka>
hi! I'm using oasis build system and added "BuildDepends: ctypes.foreign,core" into _oasis file, and if run "ocaml setup.ml -build" it requires to add "-thread" to ocamlbuild. If found the answer on StackOverflow, that I need to add "<**/*> : thread" in _tags file, but now it seems override the options that add dependency from "ctypes.foreign" and "core"
<xvilka>
(and what is the point of oasis anyway, if it can't handle such a simple case out of the box? Why not to add this as an option in _oasis file instead?)
<xvilka>
time to switch to jbuilder
TarVanimelde has quit [Quit: TarVanimelde]
malina has joined #ocaml
zmt01 has quit [Quit: Leaving]
zmt00 has joined #ocaml
malina has quit [Ping timeout: 248 seconds]
raphaelss has joined #ocaml
enterprisey has joined #ocaml
snhmib has joined #ocaml
zmt00 has quit [Quit: Leaving]
argent_smith has joined #ocaml
cbot has quit [Quit: Leaving]
jbrown has quit [Ping timeout: 276 seconds]
freusque has joined #ocaml
AltGr has joined #ocaml
enterprisey has quit [Remote host closed the connection]
sapristi has joined #ocaml
<companion_cube>
xvilka: oasis should add thread itself
<companion_cube>
I do modify _tags by hand sometimes, but only to set warnings or optim flags
jnavila has joined #ocaml
whoman has quit [Remote host closed the connection]
whoman has joined #ocaml
dlf42 has quit [Remote host closed the connection]
jnavila has quit [Ping timeout: 264 seconds]
beaumonta has joined #ocaml
rixed_ has joined #ocaml
ocabot_ has quit [Ping timeout: 240 seconds]
abeaumont has quit [Ping timeout: 240 seconds]
tg has quit [Ping timeout: 240 seconds]
rixed has quit [Ping timeout: 240 seconds]
M-jimt has quit [Ping timeout: 240 seconds]
M-ErkkiSeppl has quit [Ping timeout: 240 seconds]
rgr[m] has quit [Ping timeout: 240 seconds]
lapinot has quit [Ping timeout: 240 seconds]
maufred has quit [Ping timeout: 240 seconds]
aspiwack[m] has quit [Ping timeout: 240 seconds]
companion_cube has quit [Ping timeout: 240 seconds]
maufred has joined #ocaml
ocabot_ has joined #ocaml
lapinot has joined #ocaml
companion_cube has joined #ocaml
john51 has quit [Read error: Connection reset by peer]
sz0 has quit [Quit: Connection closed for inactivity]
john51 has joined #ocaml
beaumonta has quit [Ping timeout: 240 seconds]
rgr[m] has joined #ocaml
tg has joined #ocaml
aspiwack[m] has joined #ocaml
M-jimt has joined #ocaml
M-ErkkiSeppl has joined #ocaml
freyr has joined #ocaml
shiyaz has joined #ocaml
abeaumont has joined #ocaml
<xvilka>
companion_cube: but it didn't
BitPuffin|osx has quit [Ping timeout: 258 seconds]
superherointj has joined #ocaml
<companion_cube>
maybe you have to re-run oasis setup
Space_Sheep has joined #ocaml
thizanne_ has joined #ocaml
pacak1 has joined #ocaml
mfp has joined #ocaml
rgr[m]1 has joined #ocaml
ansiwen[m]1 has joined #ocaml
rgr[m] has quit [*.net *.split]
zaquest has quit [*.net *.split]
strmpnk has quit [*.net *.split]
kolko has quit [*.net *.split]
bitbckt has quit [*.net *.split]
ansiwen[m] has quit [*.net *.split]
jeffmo has quit [*.net *.split]
hdurer[m] has quit [*.net *.split]
MightyJoe has quit [*.net *.split]
pacak has quit [*.net *.split]
thizanne has quit [*.net *.split]
SpaceSheep has quit [*.net *.split]
andreas___ has joined #ocaml
ygrek_ has joined #ocaml
Space_Sheep is now known as SpaceSheep
picolino has quit [Ping timeout: 240 seconds]
hdurer[m] has joined #ocaml
bitbckt has joined #ocaml
jeffmo has joined #ocaml
zaquest has joined #ocaml
kolko has joined #ocaml
strmpnk has joined #ocaml
MightyJoe has joined #ocaml
hdurer[m] has quit [Changing host]
hdurer[m] has joined #ocaml
kolko has quit [Max SendQ exceeded]
jnavila has joined #ocaml
picolino has joined #ocaml
kolko has joined #ocaml
moei has quit [Ping timeout: 240 seconds]
zolk3ri has joined #ocaml
Serpent7776 has joined #ocaml
moei has joined #ocaml
sgnb has joined #ocaml
voglerr has joined #ocaml
_andre has joined #ocaml
thizanne_ is now known as thizanne
malina has joined #ocaml
webshinra has quit [Remote host closed the connection]
<voglerr>
for an opam package that depends on a fork of another package: is it best to make another package for the fork or should I pin it temporarily and then remove it when the build is done?
voglerr has quit [Remote host closed the connection]
rwmjones has quit [Ping timeout: 255 seconds]
samrat[m] has quit [Ping timeout: 255 seconds]
isaachodes[m] has quit [Ping timeout: 255 seconds]
orbifx[m] has quit [Ping timeout: 255 seconds]
sz0 has joined #ocaml
superherointj2 has joined #ocaml
isaachodes[m] has joined #ocaml
M-ErkkiSeppl has quit [Ping timeout: 240 seconds]
hdurer[m] has quit [Ping timeout: 250 seconds]
rwmjones has joined #ocaml
superherointj has quit [Ping timeout: 240 seconds]
kerrhau has quit [Ping timeout: 264 seconds]
smondet[m] has quit [Ping timeout: 240 seconds]
srenatus has quit [Ping timeout: 246 seconds]
Bluddy[m] has quit [Ping timeout: 252 seconds]
copy` has quit [Ping timeout: 240 seconds]
timclassic has quit [Ping timeout: 248 seconds]
M-x-matrix[m] has quit [Ping timeout: 246 seconds]
nadako[m] has quit [Ping timeout: 240 seconds]
equalunique[m] has quit [Ping timeout: 255 seconds]
ansiwen[m]1 has quit [Ping timeout: 248 seconds]
aantron has quit [Ping timeout: 248 seconds]
isaachodes[m] has quit [Ping timeout: 246 seconds]
aspiwack[m] has quit [Ping timeout: 246 seconds]
yetanotherion[m] has quit [Ping timeout: 246 seconds]
multiocracy[m] has quit [Ping timeout: 246 seconds]
peddie[m] has quit [Ping timeout: 246 seconds]
drsmkl[m] has quit [Ping timeout: 246 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
M-martinklepsch has quit [Ping timeout: 264 seconds]
rgr[m]1 has quit [Ping timeout: 255 seconds]
nkhodyunya has quit [Ping timeout: 252 seconds]
M-jimt has quit [Ping timeout: 276 seconds]
superherointj2 has quit [Quit: Leaving]
kerrhau has joined #ocaml
voglerr has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
mengu has joined #ocaml
<adrien>
is there something that can create an in_channel from a string?
<adrien>
(efficiency is optional)
<adrien>
ah, no need for that actually :)
<xvilka>
anyone knows a good example of using jbuilder to link with static library "mylibrary.a"? can't find anything definitive
kakadu has joined #ocaml
BitPuffin|osx has joined #ocaml
kerrhau has quit [Ping timeout: 252 seconds]
voglerr has quit []
shiyas has joined #ocaml
shiyaz has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
shinnya has joined #ocaml
jnavila has joined #ocaml
mengu has joined #ocaml
sepp2k has joined #ocaml
M-ErkkiSeppl has joined #ocaml
multiocracy[m] has joined #ocaml
samrat[m] has joined #ocaml
drsmkl[m] has joined #ocaml
srenatus has joined #ocaml
aspiwack[m] has joined #ocaml
nadako[m] has joined #ocaml
M-martinklepsch has joined #ocaml
equalunique[m] has joined #ocaml
M-jimt has joined #ocaml
aantron has joined #ocaml
peddie[m] has joined #ocaml
hdurer[m] has joined #ocaml
smondet[m] has joined #ocaml
regnat[m] has joined #ocaml
isaachodes[m] has joined #ocaml
rgr[m] has joined #ocaml
ansiwen[m] has joined #ocaml
Bluddy[m] has joined #ocaml
timclassic has joined #ocaml
copy` has joined #ocaml
M-x-matrix[m] has joined #ocaml
nkhodyunya has joined #ocaml
orbifx[m] has joined #ocaml
yetanotherion[m] has joined #ocaml
<xvilka>
nvm, found "self_build_stubs_archive" option
mal`` has quit [Quit: Leaving]
mbuf has quit [Quit: Leaving]
nahra has quit [Remote host closed the connection]
mal`` has joined #ocaml
freusque has quit [Ping timeout: 264 seconds]
silver has joined #ocaml
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
johnelse has quit [Ping timeout: 240 seconds]
KeyJoo has quit [Ping timeout: 240 seconds]
Associat0r has joined #ocaml
Associat0r has quit [Changing host]
Associat0r has joined #ocaml
nomicflux has joined #ocaml
freusque has joined #ocaml
nahra has joined #ocaml
Associat0r has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
spew has joined #ocaml
shiyas has quit [Ping timeout: 255 seconds]
mengu has joined #ocaml
jnavila has quit [Ping timeout: 240 seconds]
ziyourenxiang has joined #ocaml
spew has quit [Ping timeout: 240 seconds]
johnelse has joined #ocaml
jbrown has joined #ocaml
barcabuona has joined #ocaml
freusque has quit [Ping timeout: 264 seconds]
<leah2>
hi. is there a tool to topologically sort .cmx files (not .ml files) such that they can be linked properly?
spew has joined #ocaml
freusque has joined #ocaml
freyr has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 255 seconds]
sepp2k has joined #ocaml
sepp2k has quit [Ping timeout: 250 seconds]
Onemorenickname has joined #ocaml
<Onemorenickname>
In the following code https://ghostbin.com/paste/akzuj , I don't precisely understand why in bar, the call to printf works while the call to foo doesn't.
<Onemorenickname>
Are there resources about optional arguments so that I understand this better ?
<Onemorenickname>
In practice, this means I have to redefine functions locally instead of passing arguments to them.
<Onemorenickname>
(Leading to code that isn't dry)
<zozozo>
Onemorenickname: looks like the optional argument 'c' cannot be erased, you can fix that by explicitly passing None to it before passing f to foo
<Onemorenickname>
zozozo, I want foo to be able to use f ~c:10
<Onemorenickname>
- Giving the type of f in foo, the list of possible optional parameters
sh0t has joined #ocaml
<Onemorenickname>
- Passing the not callable (from foo) optional parameters to f before passing it to foo
<Onemorenickname>
- Use a universal type so that we don't have to type f too much (?param_a -> ?param_b -> 'a)
<Onemorenickname>
This works fine, thanks :)
mengu has quit [Remote host closed the connection]
mengu has joined #ocaml
jnavila has joined #ocaml
mengu has quit [Ping timeout: 248 seconds]
KeyJoo has joined #ocaml
mk9 has joined #ocaml
madroach has joined #ocaml
mk9 has quit [Ping timeout: 250 seconds]
mk9 has joined #ocaml
shiyas has joined #ocaml
FreeBirdLjj has joined #ocaml
acinigli1 has joined #ocaml
mk9 has quit [Ping timeout: 250 seconds]
mengu has joined #ocaml
freusque has quit [Quit: WeeChat 1.9.1]
mengu has quit [Ping timeout: 260 seconds]
bombastus has joined #ocaml
bombastus has quit [Remote host closed the connection]
bombastus has joined #ocaml
zmt00 has joined #ocaml
mengu has joined #ocaml
mengu has quit [Remote host closed the connection]
dmi3y has joined #ocaml
raphaelss has quit [Remote host closed the connection]
zaquest has quit [Read error: Connection reset by peer]
zaquest has joined #ocaml
ygrek_ has quit [Ping timeout: 268 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
_snhmib has joined #ocaml
snhmib has quit [Ping timeout: 248 seconds]
BitPuffin|osx has quit [Ping timeout: 240 seconds]
Jesin has quit [Ping timeout: 276 seconds]
sepp2k has joined #ocaml
Serpent7776 has quit [Quit: Leaving]
sepp2k has quit [Remote host closed the connection]
dmi3y has quit [Quit: dmi3y]
FreeBirdLjj has quit [Remote host closed the connection]
Jesin has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
zaquest has quit [Ping timeout: 268 seconds]
zaquest has joined #ocaml
sapristi has quit [Ping timeout: 240 seconds]
ziyourenxiang has quit [Ping timeout: 248 seconds]
bam365 has joined #ocaml
xttraces has joined #ocaml
mengu has joined #ocaml
sapristi has joined #ocaml
nomicflux has quit [Quit: nomicflux]
bam365 has quit [Quit: Page closed]
sepp2k has joined #ocaml
raphaelss has joined #ocaml
shiyas has quit [Ping timeout: 250 seconds]
davs has joined #ocaml
mengu has quit [Remote host closed the connection]
sapristi has quit [Quit: Leaving]
tane has joined #ocaml
bombastus has quit [Remote host closed the connection]
kakadu has quit [Quit: Konversation terminated!]
KeyJoo has quit [Read error: Connection reset by peer]
<Drup>
andreas___: you should really show what the API look like before showing how you implement it
<Drup>
reading your post, it feels like you have to use the datatypes explicitely, but you have nice combinators that are a lot more usable :)
<andreas___>
Yeah, I guess that might be confusing for newcomers -- I was trying to keep things simple. It might come up in one of the future parts..
davs has quit [Ping timeout: 240 seconds]
<Drup>
(also, you should just show the go example in OCaml, in order to wow the audiance a bit
dmi3y has joined #ocaml
sz0 has quit [Quit: Connection closed for inactivity]
cross has quit [Quit: leaving]
cross has joined #ocaml
dmi3y has quit [Quit: dmi3y]
<Leonidas>
hmm, strange, my opam is stuck in madvise(2)
kakadu has joined #ocaml
dmi3y has joined #ocaml
zmt00 has quit [Ping timeout: 240 seconds]
dmi3y has quit [Client Quit]
dmi3y has joined #ocaml
zmt00 has joined #ocaml
dmi3y has quit [Client Quit]
spew has quit [Quit: Connection closed for inactivity]
sepp2k has quit [Quit: Leaving.]
ski has quit [Ping timeout: 255 seconds]
_andre has quit [Quit: leaving]
ygrek has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 248 seconds]
ski has joined #ocaml
acinigli2 has joined #ocaml
clog has quit [Ping timeout: 240 seconds]
acinigli1 has quit [Ping timeout: 258 seconds]
clog has joined #ocaml
aciniglio has quit [Ping timeout: 250 seconds]
tane has quit [Quit: Leaving]
zolk3ri has joined #ocaml
mengu has joined #ocaml
mengu has quit [Ping timeout: 268 seconds]
mengu has joined #ocaml
madroach has quit [Quit: leaving]
davs has joined #ocaml
acinigli2 has quit [Ping timeout: 240 seconds]
aciniglio has joined #ocaml
thomasga has joined #ocaml
<M-martinklepsch>
How crazy would it be to implement shell style autocompletion in an ocaml terminal program?
<thomasga>
like in utop?
<thomasga>
but I guess that depends on what you mean by "ocaml terminal program"
<thomasga>
if it's for the toplevel/REPL, you have this in utop. If it's a CLI tool that you are building using OCaml, there were discussion to generate the script automatically when using cmdliner; I think that if you are using jane street command-line library, it's kind of generated automatically for you.
<M-martinklepsch>
thomasga: yeah, I guess utop is a good example of this
<Drup>
and if it's for your own shell or "full screen" CLI app, lambda-term is the right lib
thomasga has quit [Quit: Leaving.]
davs has quit [Ping timeout: 255 seconds]
jnavila has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 268 seconds]
govg has quit [Ping timeout: 240 seconds]
zv has joined #ocaml
Jesin has quit [Quit: Leaving]
govg has joined #ocaml
silver has quit [Read error: Connection reset by peer]
silver has joined #ocaml
govg has quit [Ping timeout: 255 seconds]
silver_ has joined #ocaml
silver has quit [Read error: Connection reset by peer]
shinnya has joined #ocaml
orbifx has joined #ocaml
acinigli1 has joined #ocaml
aciniglio has quit [Ping timeout: 268 seconds]
enterprisey has joined #ocaml
kerrhau has joined #ocaml
kerrhau has quit [Client Quit]
aciniglio has joined #ocaml
kerrhau has joined #ocaml
acinigli1 has quit [Ping timeout: 260 seconds]
aciniglio has quit [Ping timeout: 248 seconds]
Onemorenickname has quit [Read error: Connection reset by peer]
argent_smith has quit [Quit: Leaving.]
kerrhau has quit [Quit: bye!]
kakadu has quit [Remote host closed the connection]
zolk3ri has quit [Remote host closed the connection]