adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
<Kitambi> sure looks like I can install a 4.08 switch, though
JimmyRcom has quit [Ping timeout: 268 seconds]
JimmyRcom has joined #ocaml
ziyourenxiang_ has joined #ocaml
NSA_Spy has joined #ocaml
_whitelogger has joined #ocaml
AtumT has quit [Quit: AtumT]
NSA_Spy has quit [Quit: Leaving]
<oni-on-ion> Kitambi, not here. just beta and release candidate and trunk.
_whitelogger has joined #ocaml
kapilp has quit [Quit: Connection closed for inactivity]
niklasl has quit [Quit: Nettalk6 - www.ntalk.de]
niklasl has joined #ocaml
q9929t has joined #ocaml
JimmyRcom has quit [Ping timeout: 248 seconds]
JimmyRcom has joined #ocaml
q9929t has quit [Quit: q9929t]
jao has quit [Ping timeout: 268 seconds]
mfp has quit [Ping timeout: 248 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
gravicappa has joined #ocaml
_whitelogger has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
_whitelogger has joined #ocaml
Gcf_ has joined #ocaml
Gcf__ has quit [Ping timeout: 246 seconds]
peddie has quit [*.net *.split]
interruptinuse has quit [*.net *.split]
stan[m] has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
plow has quit [*.net *.split]
rntz2 has quit [*.net *.split]
lobo has quit [*.net *.split]
dmiles has quit [*.net *.split]
wilfredh has quit [*.net *.split]
chindy has quit [*.net *.split]
kalio has quit [*.net *.split]
erwanou has quit [*.net *.split]
anton-trunov has quit [*.net *.split]
jack5638 has quit [Ping timeout: 272 seconds]
jack5638 has joined #ocaml
peddie has joined #ocaml
interruptinuse has joined #ocaml
dmbaturin has joined #ocaml
stan[m] has joined #ocaml
plow has joined #ocaml
rntz2 has joined #ocaml
lobo has joined #ocaml
wilfredh has joined #ocaml
anton-trunov has joined #ocaml
dmiles has joined #ocaml
chindy has joined #ocaml
kalio has joined #ocaml
erwanou has joined #ocaml
Jeanne-Kamikaze has quit [Remote host closed the connection]
wilfredh has quit [Ping timeout: 248 seconds]
gravicappa has quit [Ping timeout: 248 seconds]
wilfredh has joined #ocaml
iovec has joined #ocaml
ggole has joined #ocaml
greenbagels has joined #ocaml
<greenbagels> Hiya frens, just starting to learn ocaml seriously, thinking about just learning by trying to write programs, since im already familiar with a few other languages and cant stand books
<greenbagels> hope to bring some nontrivial questions to liven up the place :)
Anarchos has joined #ocaml
jnavila has joined #ocaml
<oni-on-ion> awesome! looking forward to it, honestly =)
Anarchos has quit [Read error: Connection timed out]
<reynir> greenbagels: check out also the forum https://discuss.ocaml.org/
kakadu has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Ping timeout: 258 seconds]
Serpent7776 has joined #ocaml
erkin has quit [Quit: Ouch! Got SIGIRL, dying...]
erkin has joined #ocaml
jnavila has quit [Ping timeout: 248 seconds]
erkin has quit [Quit: Ouch! Got SIGIRL, dying...]
erkin has joined #ocaml
jun has quit [Ping timeout: 258 seconds]
thizanne has quit [Ping timeout: 250 seconds]
artart78 has quit [Ping timeout: 264 seconds]
jun has joined #ocaml
thizanne has joined #ocaml
artart78 has joined #ocaml
zolk3ri has joined #ocaml
kotrcka has joined #ocaml
tane has joined #ocaml
JimmyRcom has quit [Ping timeout: 248 seconds]
mfp has joined #ocaml
JimmyRcom has joined #ocaml
JimmyRcom has quit [Ping timeout: 248 seconds]
Haudegen has joined #ocaml
JimmyRcom has joined #ocaml
JimmyRcom has quit [Ping timeout: 248 seconds]
jack5638 has quit [Ping timeout: 272 seconds]
jack5638 has joined #ocaml
JimmyRcom has joined #ocaml
JimmyRcom has quit [Max SendQ exceeded]
iovec has quit [Quit: Connection closed for inactivity]
oni-on-ion has quit [Remote host closed the connection]
<Leonidas> btw, is there a ocaml wishlist thing? like stuff people would find useful but don't exist yet?
<Leonidas> greenbagels: yes, that works too. I find many books too basic (like "what is a loop"), though I can recommend the latter chapters of RWO, they have quite interesting info on the runtime etc.
kapilp has joined #ocaml
_whitelogger has joined #ocaml
dhil has joined #ocaml
<Leonidas> is it just me or does https://github.com/ocaml-community/awesome-ocaml hava a lot of "not so awesome stuff" there? It feels more like "available ocaml" than "awesome ocaml"
<kotrcka> It is on github, you can fork it and create a not-so-awesome-ocaml repo :-D
<Leonidas> I guess I could also make a PR and remove those but it feels sort of "bad" to do so.
AtumT has joined #ocaml
jao has joined #ocaml
_whitelogger has joined #ocaml
Anarchos has joined #ocaml
<Drup> Leonidas: at some point, awesome-ocaml tried to be "representative"
<Drup> (or "not opinionated"
<Drup> which I consider complete nonsense, precisely because it leads to this
uzuki has quit [Ping timeout: 258 seconds]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
jnavila has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Client Quit]
FreeBirdLjj has joined #ocaml
Anarchos has joined #ocaml
sapristi has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
sapristi has quit [Remote host closed the connection]
sapristi has joined #ocaml
<greenbagels> am I missing somethign or is there really no library function for building a list in a range
tane has quit [Quit: Leaving]
FreeBirdLjj has quit [Remote host closed the connection]
ziyourenxiang_ has quit [Ping timeout: 248 seconds]
FreeBirdLjj has joined #ocaml
uzuki has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
<ggole> You can use List.init n (fun x -> x) for the common case of 0..n
Jeanne-Kamikaze has joined #ocaml
dimitarvp has joined #ocaml
Gcf_ has quit [Quit: Leaving]
iovec has joined #ocaml
jao has quit [Ping timeout: 272 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
kotrcka has quit [Quit: Page closed]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
dimitarvp has quit [Quit: Bye]
sapristi_ has joined #ocaml
sapristi has quit [Ping timeout: 246 seconds]
sapristi_ has quit [Remote host closed the connection]
gravicappa has joined #ocaml
ggole has quit [Quit: Leaving]
<greenbagels> thanks, i missed that when looking at the docs
oni-on-ion has joined #ocaml
narimiran has joined #ocaml
Anarchos has joined #ocaml
Jesin has quit [Quit: Leaving]
uzuki has quit [Ping timeout: 258 seconds]
Jeanne-Kamikaze has quit [Ping timeout: 248 seconds]
<aecepoglu[m]> (in js_of_ocaml)
<aecepoglu[m]> Given I have a Svg_types.rect elt, How can I set its x attribute?
<aecepoglu[m]> (tyxml won't work because it thinks <text> elements can't have x properties)
Jesin has joined #ocaml
<oni-on-ion> Svg_sigs ?
<Drup> aecepoglu[m]: can you give a bit more context ? where does that element come from ?
<Drup> You don't usually "set" anything in tyxml elements, you only build them (or use FRP)
<aecepoglu[m]> It's just something I created using Tyxml.Svg.text. Like "let myelement = Svg.text []"
<aecepoglu[m]> I expect there to be a "setAttribute" method upon conversion to a Dom object from svg
<aecepoglu[m]> But I haven't found such a conversion yet. There is a "Svg.toelt" but the resulting object doesn't have the method I am looking for
<aecepoglu[m]> Drup: you're right in that I don't set anything. I just wanted to answer anyone who might say "why don't you do [%svg {| text x="5" |}] ?"
Jeanne-Kamikaze has joined #ocaml
<Drup> aecepoglu[m]: Tyxml.Svg is not a dom API, it's a textual API
<Drup> for a DOM API, use Tyxml_js.Svg (from the package js_of_ocaml-tyxml)
<Drup> In theory, you should be using Tyxml_js.To_dom to obtain the right class easily, but it seems SVG is not very well covered there, so you'll have to do an upcast by hand :(
<aecepoglu[m]> oh, and my mistake, the Svg module I'm using is Tyxml_js.Svg, not Tyxml.Svg
<Drup> Well, then, look up how the functions in Tyxml_js.To_dom are implemented, and do the same for your target class
<Drup> (Alternatively, use the reactive version and you won't need to set anything :3
jao has joined #ocaml
jao has quit [Remote host closed the connection]
jao has joined #ocaml
<aecepoglu[m]> Do you mean ocaml-reactjs?
<aecepoglu[m]> I am actually doing reactive programming but I thought it'd be a nice practice and also an excuse to learn the ocsigen libraries first hand if I did this without relying on a framework
<aecepoglu[m]> I imagined the whole thing would end in 2-3 days, considering I wrote the original in JS in half a day but I keep hitting road blocks :/
<Drup> aecepoglu[m]: No, I mean Tyxml_js.R.Svg
<Drup> in the `R` variety of the Html/SVG modules, everything is a signal, here is an example of website written like this: https://github.com/talex5/js-skeleton
<aecepoglu[m]> I see I see
<aecepoglu[m]> but I'd still need to manually set x,y coordinates of svg text attributes
<aecepoglu[m]> That's a very nice example though Drup ; finding an example like it was going to be my next task :) Bookmarked for future reference
Anarchos has quit [Ping timeout: 248 seconds]
<oni-on-ion> how come 4.08.0 is not showing up in opam ?
<oni-on-ion> oh, there it is !! finally =) now is there a way to remove 4.07 since i dont use it, so that everything is not going to get copied twice ?
<oni-on-ion> figured it out
tizoc has quit [Ping timeout: 272 seconds]
tizoc has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
madroach has joined #ocaml
<oni-on-ion> heh --- "Cannot find topfind"
cropcircle has joined #ocaml
dedgrant has quit [Read error: Connection reset by peer]
dedgrant_ has quit [Read error: Connection reset by peer]
webshinra has quit [Ping timeout: 258 seconds]
webshinra has joined #ocaml
cropcircle has quit [Quit: Leaving]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
zolk3ri has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml
narimiran has quit [Ping timeout: 268 seconds]
gravicappa has quit [Ping timeout: 248 seconds]
iovec has quit [Quit: Connection closed for inactivity]
uzuki has joined #ocaml
uzuki has quit [Ping timeout: 258 seconds]
uzuki has joined #ocaml
uzuki has quit [Client Quit]
NSA_Spy has joined #ocaml
uzuki has joined #ocaml
jnavila has quit [Ping timeout: 248 seconds]
Serpent7776 has quit [Quit: leaving]
AtumT_ has joined #ocaml
AtumT has quit [Ping timeout: 258 seconds]
AtumT has joined #ocaml
AtumT_ has quit [Ping timeout: 272 seconds]
kakadu has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 245 seconds]