adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.06.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.06/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
gsingh93_ has joined #ocaml
spew has quit [Ping timeout: 268 seconds]
pierpal has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
haesbaert has quit [Ping timeout: 265 seconds]
hdon has joined #ocaml
hdon has quit [Changing host]
hdon has joined #ocaml
hdon has quit [Ping timeout: 265 seconds]
pierpal has joined #ocaml
haesbaert has joined #ocaml
pierpa has quit [Quit: Page closed]
tormen has joined #ocaml
tormen_ has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 256 seconds]
slacko_580 has joined #ocaml
sh0t has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
gsingh93_ has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has joined #ocaml
hdon has joined #ocaml
Algebr has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
SegFaultAX has quit [Ping timeout: 260 seconds]
slacko_580 has quit [Remote host closed the connection]
SegFaultAX has joined #ocaml
FreeBirdLjj has joined #ocaml
hdon has quit [Ping timeout: 260 seconds]
dtornabene has joined #ocaml
Algebr has joined #ocaml
hdon has joined #ocaml
gtrak has quit [Ping timeout: 260 seconds]
gtrak has joined #ocaml
tarptaeya has joined #ocaml
shinnya has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
Algebr has quit [Ping timeout: 265 seconds]
cobreadmonster has quit [Quit: Connection closed for inactivity]
zv has joined #ocaml
hdon has joined #ocaml
_whitelogger has joined #ocaml
argent_smith has joined #ocaml
argent_smith has quit [Client Quit]
hdon has quit [Ping timeout: 260 seconds]
cbot has quit [Quit: Leaving]
tarptaeya has quit [Remote host closed the connection]
tarptaeya has joined #ocaml
kakadu has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 265 seconds]
dariusf has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
silver has joined #ocaml
tarptaeya has quit [Quit: Konversation terminated!]
argent_smith has joined #ocaml
zolk3ri has joined #ocaml
malina has joined #ocaml
jnavila has joined #ocaml
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #ocaml
dtornabene has quit [Remote host closed the connection]
__monty__ has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
dariusf has quit [Remote host closed the connection]
dariusf has joined #ocaml
dariusf has quit [Ping timeout: 268 seconds]
mfp has joined #ocaml
on_ion has quit [Ping timeout: 265 seconds]
pierpal has joined #ocaml
Anarchos has joined #ocaml
pyx has joined #ocaml
pyx has quit [Client Quit]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
_whitelogger has joined #ocaml
argent_smith has quit [Quit: Leaving.]
FreeBirdLjj has joined #ocaml
pierpal has quit [Ping timeout: 240 seconds]
TarVanimelde has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Client Quit]
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 256 seconds]
Haudegen has joined #ocaml
TarVanimelde has quit [Quit: TarVanimelde]
apache2 has joined #ocaml
<apache2> what is the syntax for defining something like let ([$ $]) str index = String.get str index
<apache2> I am sure I read about this at some point, but I am not sure which term to google
<octachron> apache2, do you mean 'let (%![]) = String.get;; "hello".![1] ' ?
<octachron> ' let (.![]) ' *
<apache2> hmm I can't get that to work, which ocaml version does that require?
<apache2> I'm on 4.04.2, in utop I get: utop # let (%![]) = String.get;; "hello".![1] ;;
<apache2> Error: Syntax error: ')' expected, the highlighted '(' might be unmatched
<octachron> This requires OCaml 4.06 or later
<apache2> thank you
pierpal has joined #ocaml
pierpal has quit [Ping timeout: 276 seconds]
jnavila has quit [Ping timeout: 245 seconds]
Anarchos has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
Anarchos has joined #ocaml
sh0t has joined #ocaml
FreeBird_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
dariusf has joined #ocaml
dariusf has quit [Remote host closed the connection]
dariusf has joined #ocaml
shinnya has quit [Ping timeout: 265 seconds]
dariusf has quit [Ping timeout: 260 seconds]
FreeBird_ has quit [Remote host closed the connection]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #ocaml
sh0t has quit [Remote host closed the connection]
pierpal has quit [Read error: Connection reset by peer]
hannes` is now known as hannes
pierpal has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 256 seconds]
pierpal has quit [Read error: Connection reset by peer]
spew has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Client Quit]
pierpal has joined #ocaml
jnavila has joined #ocaml
sh0t has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
spew has quit [Remote host closed the connection]
spew has joined #ocaml
rostero_ has joined #ocaml
<rostero_> new to ocaml. what's wrong with this syntax: fun f {x : real, y : real, R} = {x = 2 * x, y = 2 * y, R};
<octachron> rostero_, the record syntax is wrong, `fun x -> x` is the syntax for anonymous function, and function declaration should be `let f {x; y} = {x= 2 * x; y = 2 * y }`
<discord5> <Perry> rostero_: what reference are you using to learn the syntax?
jnavila has quit [Ping timeout: 240 seconds]
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
<apache2> rostero_: you also need to define type mything = {x : real; y: real; r: int} first
<apache2> record labels (x,y,r) cannot start with an uppercase letter
<apache2> once that type is defined you can write:
<apache2> fun f {x;y;r} = {x=2*x; y = 2 * y; r}
<apache2> fun f {x;y;r} -> {x=2*x; y = 2 * y; r}
<apache2> ^--sorry
<apache2> if you want to define a function called f you need to do:
<apache2> let f {x;y;r} = {x=2*x; y = 2 * y; r}
<apache2> alternatively yo can use 'with':
<apache2> let f myrecord = {myrecord with x=2*x; y = 2 * y}
spew has quit [Ping timeout: 276 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
pierpal has joined #ocaml
mcspud has joined #ocaml
Denommus has joined #ocaml
spew has joined #ocaml
pierpal has quit [Ping timeout: 256 seconds]
spew has quit [Ping timeout: 260 seconds]
spew has joined #ocaml
jnavila has joined #ocaml
spew has quit [Ping timeout: 240 seconds]
mk9 has joined #ocaml
mk9 has quit [Remote host closed the connection]
rostero_ has quit [Quit: Connection closed for inactivity]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 260 seconds]
jnavila has quit [Ping timeout: 256 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
mk9 has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.2]: i've been blurred!]
mk9 has quit [Quit: mk9]
gtrak has quit [Ping timeout: 265 seconds]
gtrak has joined #ocaml
pierpal has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
Haudegen has quit [Remote host closed the connection]
jnavila has joined #ocaml
pierpal has joined #ocaml
steenuil has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
Haudegen has joined #ocaml
groovy2shoes has quit [Quit: moritura te salutat]
pierpal has joined #ocaml
JimmyRcom_ has joined #ocaml
jnavila has quit [Remote host closed the connection]
spew has joined #ocaml
JimmyRcom_ has quit [Ping timeout: 245 seconds]
jack5638 has quit [Ping timeout: 240 seconds]
jack5638 has joined #ocaml
gtrak has quit [Ping timeout: 268 seconds]
spew has quit [Ping timeout: 255 seconds]
spew has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 276 seconds]
dariusf has joined #ocaml
dariusf has quit [Ping timeout: 256 seconds]
spew has quit [Ping timeout: 240 seconds]
TheLemonMan has joined #ocaml
on_ion has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
malina has quit [Ping timeout: 240 seconds]
pierpa has joined #ocaml
<orbifx[m]> Time to close my Github account
<Fardale> Why ?
<__monty__> Microsoft acquisition probably.
<Fardale> Oh I saw the title of a article on that but did read it
<Fardale> But github was a private company what the difference with know ?
<__monty__> The difference is microsoft which has a proven track record of fucking good things up.
<Fardale> I can't deny
exarkun has quit [Read error: Connection reset by peer]
<orbifx[m]> It's the same story, they can't live anything good out there , money talks and good things get hoovered.
<silver> their developer facing products weren't so bad last few years
<orbifx[m]> Like a black hole. So now we can get tracked by them.
silver has quit [Quit: rakede]
silver has joined #ocaml
exarkun has joined #ocaml
silver has quit [Quit: rakede]
silver has joined #ocaml
sh0t has quit [Remote host closed the connection]
Soni is now known as Soni|Work
Soni|Work is now known as cat5e
cat5e is now known as Soni
Haudegen has quit [Read error: Connection reset by peer]
cbot has joined #ocaml
spew has joined #ocaml
dtornabene has joined #ocaml
<orbifx[m]> Account deleted :)
__monty__ has quit [Quit: leaving]
<companion_cube> sadly it's just going to make your life harder and not hurt them
<orbifx[m]> I doubt it. Hardly used it to begin with.
<orbifx[m]> Got my own git server
<silver> lol
sh0t has joined #ocaml
<orbifx[m]> If anything I've probably helped them, by clearing some garbage. But I can't part-take in this. Several months ago they bought another company I had to delete my data from.
<orbifx[m]> If OCamlers are so hooked on the UI, check this: https://gitlab.camlcity.org
<companion_cube> it's not the UI, it's the community effect
<companion_cube> it makes it much easier to contribute to tons of projects
zolk3ri has quit [Remote host closed the connection]
<orbifx[m]> It may. Why not use a more decentralised one.
<companion_cube> like what?
<companion_cube> gitlab main instances have the same issue, and gitlab individual instances won't let you contibute as easily… I suppose?
<orbifx[m]> Our forum + personal repos
<orbifx[m]> The web worked before they showed up.
<orbifx[m]> Email patches. That's what I'd like to see.
<companion_cube> well now people are used to a more convenient model, that's the issue
<orbifx[m]> Yeah, I think Gitlab.com (the service) is not a good idea
<companion_cube> well I'm clearly not moving away from github this time… there isn't any serious alternative for me