ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
philtor_ has joined #ocaml
Muzer has quit [Excess Flood]
Muzer has joined #ocaml
philtor_ has quit [Ping timeout: 245 seconds]
jabesed has quit [Ping timeout: 264 seconds]
zpe has joined #ocaml
sh1ken has quit [Quit: leaving]
badon_ has joined #ocaml
badon has quit [Ping timeout: 255 seconds]
badon has joined #ocaml
badon_ has quit [Ping timeout: 264 seconds]
zpe has quit [Ping timeout: 250 seconds]
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
darkf_ is now known as darkf
badon has quit [Ping timeout: 240 seconds]
badon has joined #ocaml
pyx has quit [Quit: WeeChat 0.4.3]
voila has joined #ocaml
voila has quit [Client Quit]
jabesed has joined #ocaml
manud has joined #ocaml
jabesed has quit [Client Quit]
NoNNaN has quit [Remote host closed the connection]
manud has quit [Quit: manud]
fold has joined #ocaml
ygrek has joined #ocaml
shinnya has joined #ocaml
pyon has quit [Quit: Fiat justitia ruat caelum.]
pyon has joined #ocaml
pyon has quit [Client Quit]
pyon has joined #ocaml
badon_ has joined #ocaml
<mort___> hi
<mort___> am having a problem with oasis and finding libraries properly
<mort___> (i think)
<mort___> anyone around who could advise?
<mort___> specifically, i get an "unbound value" error but i'm pretty sure i've specified the right module dependency in the _oasis
<mort___> (and i know that if i run utop and #require the module in question, the value is not unbound)
badon has quit [Ping timeout: 250 seconds]
zpe has joined #ocaml
badon_ is now known as badon
manud has joined #ocaml
ontologiae has joined #ocaml
<Drup> can you give details of your setup ?
samrat has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
<mort___> sure — what would help?
<mort___> the specific unbound value is Io_page.to_cstruct
<mort___> if i run utop and #require "mirage-unix"
<mort___> then that value is bound
<mort___> but even if i specify mirage-unix as a BuildDepends in my _oasis file results in the make step failing with unbound value Io_page.to_cstruct
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
<Drup> did you rerun "oasis setup" ?
<mort___> yes
<mort___> aha
<mort___> solved it
<mort___> two misconfigurations beating against each other
<mort___> i was opening a provided module that bound one value but prevented the other being bound
<mort___> rather than providing the two correct packages
<mort___> sorry for the trouble :)
<Drup> no problem :)
mort___ has quit [Quit: Leaving.]
typedlambda has quit [Ping timeout: 250 seconds]
typedlambda has joined #ocaml
fold has quit [Ping timeout: 272 seconds]
ontologiae has quit [Ping timeout: 245 seconds]
bytbox has quit [Remote host closed the connection]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
manud has quit [Quit: manud]
fold has joined #ocaml
badon_ has joined #ocaml
troutwine_away is now known as troutwine
badon has quit [Disconnected by services]
englishm has quit [Remote host closed the connection]
badon_ is now known as badon
englishm has joined #ocaml
badon_ has joined #ocaml
badon has quit [Disconnected by services]
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
troutwine is now known as troutwine_away
bytbox has joined #ocaml
q66 has quit [Quit: Leaving]
badon__ has joined #ocaml
badon_ has quit [Ping timeout: 240 seconds]
WraithM has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
samrat has joined #ocaml
thomasga has quit [Quit: Leaving.]
markov_twain has joined #ocaml
oriba has quit [Quit: oriba]
zpe has joined #ocaml
badon__ has quit [Ping timeout: 255 seconds]
badon has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
badon has quit [Ping timeout: 245 seconds]
badon has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
badon has quit [Disconnected by services]
WraithM has quit [Ping timeout: 245 seconds]
badon has joined #ocaml
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
robink has quit [Ping timeout: 240 seconds]
robink has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
badon_ has joined #ocaml
samrat has joined #ocaml
badon has quit [Ping timeout: 250 seconds]
badon has joined #ocaml
badon_ has quit [Ping timeout: 260 seconds]
badon_ has joined #ocaml
badon has quit [Ping timeout: 250 seconds]
badon__ has joined #ocaml
badon__ is now known as badon
robink has quit [Ping timeout: 291 seconds]
badon_ has quit [Ping timeout: 250 seconds]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
_0xAX has joined #ocaml
badon_ has joined #ocaml
_0xAX has quit [Ping timeout: 272 seconds]
badon has quit [Ping timeout: 246 seconds]
ygrek has joined #ocaml
lopex has quit [Quit: Connection closed for inactivity]
robink has joined #ocaml
_0xAX has joined #ocaml
badon__ has joined #ocaml
badon_ has quit [Ping timeout: 250 seconds]
zpe has joined #ocaml
bytbox has quit [Ping timeout: 240 seconds]
ivan\ has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
zpe has quit [Ping timeout: 272 seconds]
MercurialAlchemi has joined #ocaml
manud has joined #ocaml
badon_ has joined #ocaml
markov_twain has quit [Ping timeout: 245 seconds]
badon__ has quit [Ping timeout: 246 seconds]
manud has quit [Client Quit]
manud has joined #ocaml
_0xAX has quit [Remote host closed the connection]
Hannibal_Smith has joined #ocaml
darkf_ has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
slash^ has joined #ocaml
robink has quit [Ping timeout: 255 seconds]
darkf_ is now known as darkf
robink has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
pyx has joined #ocaml
puzza007 has quit [Ping timeout: 272 seconds]
ollehar has joined #ocaml
puzza007_ has joined #ocaml
axiles has joined #ocaml
Hannibal_Smith has quit [Quit: Sto andando via]
maattdd has joined #ocaml
<andreypopp_> is there good ocaml project template for beginners which define project layout, build instructions and so on?
<andreypopp_> found this https://github.com/snim2/ocaml-template do you think it's good for beginners (doesn't contain anti patterns)
englishm has quit [Read error: Connection reset by peer]
<andreypopp_> Tekk_: I don't know, do you recommend make over ocamlbuild?
<Tekk_> personally I use make
<Tekk_> but that's because I use make in all of my projects
<andreypopp_> by make you mean regular make? I use it too, but I suppose it should call a tool like ocamlbuild?
<Tekk_> ocamlfind
zpe has joined #ocaml
rgrinberg has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
robink has quit [Ping timeout: 240 seconds]
robink has joined #ocaml
<andreypopp_> good introductory material on what's ocamlfind/ocamlbuild/...
<andreypopp_> ?
<whitequark> andreypopp_: http://ocaml.org/learn/tutorials/setting_up_with_oasis.html is a good introduction
<andreypopp_> whitequark: thanks, finally going to try ocaml after your talk about ocaml + eliom
<whitequark> andreypopp_: whoa. neat :D
tane has joined #ocaml
<jerith> whitequark: Is there a video of that talk?
maattdd has quit [Ping timeout: 260 seconds]
<andreypopp_> jerith: it's in russian
<jerith> Ah, that won't help me.
<whitequark> jerith: there will be a smaller version of the talk that will have an english translation at late Sep
Kakadu has joined #ocaml
<andreypopp_> there's also ocp-build, do you recommend using it? seems like a lot simpler than oasis
<whitequark> uh, no, I don't recommend using it
<whitequark> personally I now use bare ocamlbuild and topkg for packaging now
<whitequark> (since OASIS didn't quite work with some of the bleeding edge features I needed)
<whitequark> andreypopp_: if you specifically need it for eliom, I have a sample project: https://github.com/whitequark/eliom-example
<andreypopp_> I wanted to experiment with js_of_ocaml and writing bindings to React.js
<andreypopp_> whitequark: thanks for the link, seems like a good starting point
<whitequark> oh, did we chat about react.js at the conf?
<andreypopp_> nope, I've seen only video of your talk
<whitequark> ah ok, someone else at the conf was interested about binding react.js
<whitequark> just checking, do you know that js_of_ocaml includes support for React, OCaml's reactive programming library?
<whitequark> I don't know whether bindings to react.js would be a good idea, though it depends on React.js's API
<andreypopp_> reactive as in FRP?
<andreypopp_> well, React.js isn't about FRP
pyon has quit [Ping timeout: 250 seconds]
<whitequark> oh, I see
<andreypopp_> I've tried to build React.js bindings for PureScript and it was quite nice, though language isn't mature
<whitequark> reactive as in FRP, indeed
pyon has joined #ocaml
<andreypopp_> polymorphic records was fine for representing properties of components but lack of variants made optional props too verbose
<whitequark> purescript doesn't have variants? O_o
<andreypopp_> polymorphic variants, I meant
<whitequark> ah
<andreypopp_> btw. I've heard that React.js was prototyped with SML :-) so....
<whitequark> sounds worth trying
badon__ has joined #ocaml
slash^ has quit [Ping timeout: 245 seconds]
badon_ has quit [Ping timeout: 260 seconds]
fold has quit [Ping timeout: 260 seconds]
badon_ has joined #ocaml
badon__ has quit [Ping timeout: 255 seconds]
badon__ has joined #ocaml
<andreypopp_> whitequark: wow, thank you!
rgrinberg has quit [Quit: Leaving.]
badon_ has quit [Ping timeout: 240 seconds]
<whitequark> Drup: ping
ollehar has quit [Ping timeout: 264 seconds]
samrat has quit [Quit: Computer has gone to sleep.]
rand000 has joined #ocaml
Nahra has quit [Ping timeout: 246 seconds]
rgrinberg has joined #ocaml
pyx has quit [Quit: WeeChat 0.4.3]
Nahra has joined #ocaml
ivan\ has joined #ocaml
ollehar has joined #ocaml
zennist has left #ocaml [#ocaml]
englishm has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
pminten has joined #ocaml
zpe has joined #ocaml
eikke__ has joined #ocaml
rgrinberg has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
ollehar has quit [Ping timeout: 245 seconds]
NoNNaN has joined #ocaml
thomasga has joined #ocaml
samrat has joined #ocaml
manud has quit [Quit: manud]
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
jabesed has joined #ocaml
ggole has joined #ocaml
Thooms has joined #ocaml
ontologiae has joined #ocaml
BitPuffin has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
Kakadu has joined #ocaml
samrat has joined #ocaml
dsheets has joined #ocaml
dsheets has quit [Ping timeout: 245 seconds]
lopex has joined #ocaml
bezirg has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
ivan\ has quit [Ping timeout: 245 seconds]
ivan\ has joined #ocaml
elspru has joined #ocaml
tani has joined #ocaml
<Drup> whitequark: pong
<Drup> ocp-build is not finished and lack many feature
tane has quit [Ping timeout: 245 seconds]
<Drup> andreypopp_: React.js is virtual dom, right ?
<Drup> if so, we already have that in js_of_ocaml/eliom, you don't need it
dsheets has joined #ocaml
tani is now known as tane
samrat has quit [Quit: Computer has gone to sleep.]
ollehar has joined #ocaml
Nahra has quit [Remote host closed the connection]
Nahra has joined #ocaml
BitPuffin has quit [Ping timeout: 255 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
samrat has joined #ocaml
ivan\ has quit [Ping timeout: 245 seconds]
ivan\ has joined #ocaml
abbe has joined #ocaml
q66 has joined #ocaml
<whitequark> andreypopp_: indeed, take a look at http://ocsigen.org/eliom/dev/manual/clientserver-html
darkf has quit [Quit: Leaving]
BitPuffin has joined #ocaml
slash^ has joined #ocaml
bezirg has quit [Read error: Connection reset by peer]
maattdd has joined #ocaml
ontologiae has quit [Ping timeout: 260 seconds]
samrat has quit [Ping timeout: 250 seconds]
Rohan_14 has joined #ocaml
<Rohan_14> what does this line means "in function 1 0"
eizodo has joined #ocaml
<Rohan_14> mrvn:what does this line means "in function 1 0"
samrat has joined #ocaml
maattdd has quit [Ping timeout: 260 seconds]
<ollehar> Rohan_14: context?
<Rohan_14> ollehar: the last line "let maxint () = let rec loop i sum = if i < 0 then sum else loop (i * 2) (sum + i) in loop 1 0"
Rohan_14 has quit [Remote host closed the connection]
<def`> (:
<ollehar> Rohan_14: I believe this would be the correct indentation: http://pastebin.com/qf7ntczn
<ollehar> is it clear?
<ollehar> `loop` is a function declared in scope `in ...`
<ollehar> btw `function` is a keyword in ocaml
samrat has quit [Ping timeout: 246 seconds]
markov_twain has joined #ocaml
samrat has joined #ocaml
ollehar has quit [Ping timeout: 245 seconds]
ivan\ has quit [Ping timeout: 245 seconds]
msaegesser has joined #ocaml
markov_twain has quit [Ping timeout: 264 seconds]
ivan\ has joined #ocaml
markov_twain has joined #ocaml
markov_twain has left #ocaml [#ocaml]
fraggle_laptop has joined #ocaml
maattdd has joined #ocaml
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
rgrinberg has joined #ocaml
rgrinberg has quit [Client Quit]
cody__ has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
badon_ has joined #ocaml
badon__ has quit [Ping timeout: 272 seconds]
ollehar has joined #ocaml
shinnya has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
maattdd has quit [Ping timeout: 240 seconds]
badon__ has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
badon_ has quit [Ping timeout: 240 seconds]
badon_ has joined #ocaml
ontologiae has joined #ocaml
Hannibal_Smith has joined #ocaml
dsheets has quit [Ping timeout: 240 seconds]
badon__ has quit [Ping timeout: 245 seconds]
ontologiae has quit [Ping timeout: 246 seconds]
samrat has joined #ocaml
bytbox has joined #ocaml
badon__ has joined #ocaml
dsheets has joined #ocaml
thomasga has quit [Quit: Leaving.]
badon_ has quit [Ping timeout: 240 seconds]
badon_ has joined #ocaml
ollehar has quit [Quit: ollehar]
badon has joined #ocaml
samrat has quit [Ping timeout: 245 seconds]
badon__ has quit [Ping timeout: 250 seconds]
badon_ has quit [Ping timeout: 260 seconds]
thomasga has joined #ocaml
samrat has joined #ocaml
samrat has quit [Ping timeout: 272 seconds]
badon_ has joined #ocaml
badon has quit [Ping timeout: 246 seconds]
ygrek has quit [Ping timeout: 245 seconds]
samrat has joined #ocaml
badon__ has joined #ocaml
badon_ has quit [Ping timeout: 240 seconds]
thomasga has quit [Quit: Leaving.]
badon_ has joined #ocaml
pminten has joined #ocaml
badon__ has quit [Ping timeout: 246 seconds]
ivan\ has quit [Ping timeout: 245 seconds]
samrat has quit [Ping timeout: 260 seconds]
ivan\ has joined #ocaml
samrat has joined #ocaml
Hannibal_Smith has quit [Read error: Connection reset by peer]
johnnydiabetic has joined #ocaml
jabesed has quit [Quit: Konversation terminated!]
jabesed has joined #ocaml
_0xAX has joined #ocaml
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dsheets has quit [Ping timeout: 260 seconds]
msaegesser has quit [Ping timeout: 260 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 240 seconds]
BitPuffin has quit [Ping timeout: 240 seconds]
dsheets has joined #ocaml
rand000 has quit [Ping timeout: 272 seconds]
rand000 has joined #ocaml
yacks has quit [Read error: Connection reset by peer]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
msaegesser has joined #ocaml
bacam_ has joined #ocaml
bacam has quit [Quit: leaving]
bacam_ is now known as bacam
ontologiae has joined #ocaml
BitPuffin has joined #ocaml
<companion_cube> \o
samrat has quit [Ping timeout: 260 seconds]
zennist has joined #ocaml
<zennist> Can I write a function that converts between my data structure and string?
<zennist> for example, I have
<zennist> type 'a binary_tree = Empty | 'a * 'a binary_tree * 'a binary_tree
samrat has joined #ocaml
<zennist> type 'a binary_tree = Empty | Node of 'a *
<zennist> how can I have a function named tree_string that converts between this tree and string in both directions
jabesed has quit [Ping timeout: 245 seconds]
jabesed has joined #ocaml
samrat has quit [Ping timeout: 245 seconds]
samrat has joined #ocaml
<Drup> zennist: why not one function for each direction, instead ?
<zennist> I'm doing the 99 problems tutorial http://ocaml.org/learn/tutorials/99problems.html
<zennist> on the question 'a string representation of binary trees (medium)'
<zennist> The question asks 'Write an OCaml function which generates this string representation, if the tree is given as usual (as Empty or Node(x,l,r) term). Then write a function which does this inverse; i.e. given the string representation, construct the tree in the usual form. Finally, combine the two predicates in a single functiontree_string which can be used in both directions.'
<zennist> The last part is what baffles me apparently
badon has joined #ocaml
badon_ has quit [Ping timeout: 260 seconds]
<ggole> You could type t = Text of string | Tree of tree and then write convert : t -> t
<Drup> yeah
<ggole> Seems pretty useless to me.
<Drup> it's a completly useless function, but you can do it
<ggole> Doing the tree->string and string->tree functions is a useful exercise though.
samrat has quit [Quit: Computer has gone to sleep.]
<Drup> (also, these functions are not predicates ...)
<ggole> They are in Prolog, the origin of the exercises.
<ggole> Bit of a lazy translation, I guess.
<Drup> oooh
<Drup> hence the exercise.
<Drup> it's a prefectly valid thing in prolog
<ggole> Oh, I guess so
<Drup> bidirectionnal functions are a thing in prolog :)
englishm has quit [Ping timeout: 245 seconds]
thomasga has joined #ocaml
_0xAX has quit [Remote host closed the connection]
<zennist> All right, I see (you guys are really knowledgeable by the way!)
<Drup> prolog is a fun language, it's interesting to at least try it
<Drup> (I wouldn't use it for anything serious though)
zennist has quit [Ping timeout: 250 seconds]
rand000 has quit [Ping timeout: 245 seconds]
Thooms has quit [Quit: WeeChat 0.4.3]
slash^ has left #ocaml [#ocaml]
jprakash has joined #ocaml
rand000 has joined #ocaml
Nahra has quit [Ping timeout: 240 seconds]
badon_ has joined #ocaml
badon has quit [Ping timeout: 240 seconds]
Nahra has joined #ocaml
badon__ has joined #ocaml
badon_ has quit [Ping timeout: 272 seconds]
lordkryss has joined #ocaml
rand000 has quit [Ping timeout: 260 seconds]
rand000 has joined #ocaml
thomasga has quit [Quit: Leaving.]
jprakash has quit [Read error: Connection reset by peer]
<orbitz> hrm, does nix-env --description -qa work for anyone?
<orbitz> wrongplace!
maattdd has joined #ocaml
Nahra has quit [Remote host closed the connection]
<MercurialAlchemi> I'm looking at the eliom documentation
Nahra has joined #ocaml
<MercurialAlchemi> It doesn't seem to offer support for any kind of middleware, but maybe I'm missing something
<MercurialAlchemi> ah, I see there is something about Actions
<MercurialAlchemi> maybe that's what I'm looking for
<Drup> MercurialAlchemi: define "middleware"
<Drup> everyone has a different definition
<MercurialAlchemi> something which can set a variable by looking at the request before the service handler is executed
<MercurialAlchemi> (urls start with /$language/, all service handlers want to know what $language is)
<MercurialAlchemi> (side note: I'm very impressed by what I see so far, though it does sound awfully complicated)
<Drup> MercurialAlchemi: read carefully the tutorial (and the documentation) about services
<Drup> if you see a usecase that is not covered by the concept of services, I will be very interested to hear about it :p
ivan\ has quit [Ping timeout: 245 seconds]
typedlambda has quit [Ping timeout: 250 seconds]
<MercurialAlchemi> Drup: I'll let you know :)
rand000 has quit [Quit: leaving]
typedlambda has joined #ocaml
<Drup> MercurialAlchemi: you may also want to look at eliom references and scoping
<Drup> and yes, it's complicated, I agree ...
ivan\ has joined #ocaml
<MercurialAlchemi> well, probably no more than something like gwt :)
<Drup> I don't know gwt
<MercurialAlchemi> I have seen a little bit of it, and it did not seem pleasant
<MercurialAlchemi> On the other hand, typechecked HTML5? Totally kicks ass
<Drup> <3
<MercurialAlchemi> What I'm a little worried about is persistence
<Drup> MercurialAlchemi: Since you are in the middle of learning it, if you have any feedback at all, do not hesitate, I will collect it. Especially about the documentation.
<MercurialAlchemi> It sucks in every language
<Drup> There is out-of-the-box persistence, but it doesn't handle 1) changing types of the data 2) upgrading ocaml
<MercurialAlchemi> just found macaque, which looks like... exactly what I was looking for
Submarine has quit [Remote host closed the connection]
<rom1504> what a weird name
<MercurialAlchemi> fourberie is an actual English word? awesome
<rom1504> french
<rom1504> oh maybe english too, I don't know
<MercurialAlchemi> English too
<MercurialAlchemi> a kind of monkey
<Drup> really ? wiktionnary disagree http://en.wiktionary.org/wiki/fourberie
<rom1504> yeah, I meant for fourberie
<rom1504> fourberie is just french
<Drup> Anyway, according to a well known computational linguist : "Every french word is a fancy english word".
<rom1504> so french is fancy !
<Drup> (and he's neither french nor english :D)
<rom1504> :p
<MercurialAlchemi> hm, it appears on Merriam-Webster: http://www.merriam-webster.com/dictionary/fourberie
<Drup> this thingy asks me to register to get a free trial
<Drup> so, hum, NOPE.
<pjdelport> (rom1504 obligatory https://www.youtube.com/watch?v=x9u3xRlKBnE )
axiles has quit [Remote host closed the connection]
<MercurialAlchemi> Interestingly enough, the OED finds 'fourbe' but not fourberie
<MercurialAlchemi> oh, I was wrong: 'fourbery'!
<MercurialAlchemi> "A piece of deception; a fraud, trick, imposture."
<Drup> well, it's a frenchism :D
<Denommus> how do I use a ppx library in a oasis project?
<Denommus> e.g., sedlex
<MercurialAlchemi> I see a quote from 1650
<Drup> Denommus: mandatory preliminary question : do you have ocaml 4.02 and last ocamlfind installed ?
<Denommus> Drup: ocaml 4.02 yes, switched to it using opam
<Denommus> Drup: my ocamlfind is 1.5.2, I don't know if it's the latest
<Drup> I think it is, yeah
<Drup> just putting "sedlex.ppx" in BuildDependencies should be enough
<Drup> oh, no, just "sedlex"
<Drup> then naming for sedlew ocamlfind packages is not very intuitive
<Denommus> then I don't know what I'm doing wrong
<MercurialAlchemi> Drup: since you wanted feedback, https://ocsigen.org/tuto/manual/basicwebsite has a broken link to Eliom_registration.​Redirection
ivan\ has quit [Ping timeout: 245 seconds]
ggole has quit []
manud has joined #ocaml
<Drup> indeed, it's trying to link to the client part of the doc, while it should be server
manud has quit [Client Quit]
Kakadu has quit [Quit: Konversation terminated!]
<Drup> ping whitequark, for Denommus ^
manud has joined #ocaml
ivan\ has joined #ocaml
<MercurialAlchemi> one thing I would suggest, for the ocsigen tutorial, is to stay with we/our and not switch to 'I' occasionally
tane has quit [Quit: Verlassend]
msaegesser has quit [Ping timeout: 240 seconds]
<MercurialAlchemi> it's a bit shocking to read so much doc for an ocaml project, since the doc for most of the libraries I've used so far was more like 'read the .mlis on Github'
<Drup> ahah, imagine "just read the .mli" for eliom
<Drup> nobody would use it
<MercurialAlchemi> well, you would need a biiiig example folder
<MercurialAlchemi> :D
thomasga has joined #ocaml
<MercurialAlchemi> I need to try it for real, but I think I have a problem with ocsigen/eliom
<MercurialAlchemi> It's going to be impossible to go back to a 'traditional' web framework after that
<Drup> ahah
<Drup> yes, that's a ""problem""
<MercurialAlchemi> yes, it's the kind of problem I'm looking for
dsheets has quit [Ping timeout: 245 seconds]
<Drup> I'm not sure if it's something we will want to fix, though
<Drup> :D
<MercurialAlchemi> problems like that can be solved with a judicious application of PHP
<MercurialAlchemi> totally unrelated question, is there anything like joda-time for Ocaml?
<Drup> what is it ?
<MercurialAlchemi> a date/datetime/timedelta library which doesn't suck
<MercurialAlchemi> (as opposed to Java's Date/Calendar, which is... not very good)
<Drup> calendar
<Drup> It's a bit verbose, and changing timezone is a bit dangerous, but it mostly doesn't suck.
oriba has joined #ocaml
<MercurialAlchemi> it doesn't seem too terrible
<MercurialAlchemi> timezones...
<MercurialAlchemi> as long as you can convert anything in UTC, and then convert it out to $timezone for presentation, that's all I need
<Drup> MercurialAlchemi: links in basicwebsite tutorial should be fixed
<MercurialAlchemi> so they are
<MercurialAlchemi> bravo!
<MercurialAlchemi> however, I think I'm going to work on my sleep deficit
<MercurialAlchemi> thanks for your assistance
<MercurialAlchemi> and for making all that
<Drup> ahah, I didn't make it really, just working on some tiny parts :]
<MercurialAlchemi> well, anyway, it looks totally awesome
madroach has quit [Ping timeout: 250 seconds]
<MercurialAlchemi> hopefully I'll have forgotten everything about it by tomorrow, when I fix issues in PHP legacy code written by monkeys
<Drup> x)
* MercurialAlchemi rides off on his camel
madroach has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 246 seconds]
eikke__ has quit [Ping timeout: 260 seconds]
Zemeio has joined #ocaml
zennist has joined #ocaml
<Denommus> ok, I have been trying for some time and I still haven't figured out what I'm doing wrong
maattdd has quit [Ping timeout: 264 seconds]
manud has quit [Quit: manud]
<Zemeio> Hello. i'm trying to learn ocaml and i got confused on one thing. When i create a type pointfloat = {x : float; y : float };; and then a type pointint = {x : int; y : int};; my pointfloat vanishes. Can anyone help me/explain me why?
<Zemeio> Sorry for the noob question
<companion_cube> field names are unique, so you are shadowing "x" and "y" as field names when you introduce pointint
<Zemeio> I see, thanks
<Zemeio> Weird rule
lpw25 has joined #ocaml
Nahra has quit [Remote host closed the connection]
Nahra has joined #ocaml
badon_ has joined #ocaml
dsheets has joined #ocaml
<zennist> how can I concatenate a string and a character?
badon__ has quit [Ping timeout: 260 seconds]
<zennist> String.make 1 c
<zennist> got it
dsheets has quit [Ping timeout: 260 seconds]
manud has joined #ocaml
badon__ has joined #ocaml
badon_ has quit [Ping timeout: 250 seconds]
badon_ has joined #ocaml
badon__ has quit [Ping timeout: 264 seconds]
badon has joined #ocaml
badon_ has quit [Ping timeout: 240 seconds]
msaegesser has joined #ocaml
lpw25 has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
badon_ has joined #ocaml
darkf has joined #ocaml
badon has quit [Disconnected by services]
madroach has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
msaegesser has quit [Ping timeout: 272 seconds]
johnnydiabetic has quit [Ping timeout: 264 seconds]
msaegesser has joined #ocaml
ontologiae has quit [Ping timeout: 272 seconds]