gildor changed the topic of #ocaml to: "Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0+rc1 http://permalink.gmane.org/gmane.comp.lang.caml.inria/49387
Edward has quit []
elehack has quit [Ping timeout: 245 seconds]
ulfdoz has quit [Ping timeout: 260 seconds]
elehack has joined #ocaml
elehack has quit [Quit: not a typewriter]
mal``` has quit [Quit: Coyote finally caught me]
mal`` has joined #ocaml
cixa has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
jakedouglas has joined #ocaml
cixa has left #ocaml []
joewilliams_away is now known as joewilliams
joewilliams is now known as joewilliams_away
|marius| has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
mjonsson has quit [Ping timeout: 276 seconds]
aja has joined #ocaml
Zer has quit []
matthew_ has joined #ocaml
matthew_ has left #ocaml []
Amorphous has quit [Ping timeout: 276 seconds]
Amorphous has joined #ocaml
ygrek has joined #ocaml
aja has quit [Read error: Connection reset by peer]
ttamttam has joined #ocaml
|marius| has quit [Remote host closed the connection]
ikaros has joined #ocaml
ikaros_ has joined #ocaml
ikaros has quit [Ping timeout: 240 seconds]
ikaros_ has quit [Quit: Leave the magic to Houdini]
Associat0r has quit [Read error: Connection reset by peer]
ikaros has joined #ocaml
ikaros has quit [Ping timeout: 240 seconds]
Vassia has joined #ocaml
ikaros has joined #ocaml
Vassia has quit [Ping timeout: 240 seconds]
ftrvxmtrx has quit [Ping timeout: 245 seconds]
ftrvxmtrx_ has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
Fandekasp has joined #ocaml
ftrvxmtrx_ is now known as ftrvxmtrx
Associat0r has joined #ocaml
ulfdoz has joined #ocaml
Fandekasp has quit [Ping timeout: 276 seconds]
Fandekasp has joined #ocaml
xmarteo has joined #ocaml
ztfw has quit [Remote host closed the connection]
ztfw has joined #ocaml
ulfdoz has quit [Ping timeout: 260 seconds]
pikachuyann has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 276 seconds]
ftrvxmtrx has joined #ocaml
ssbr has quit [Read error: Connection reset by peer]
Anarchos has joined #ocaml
ssbr has joined #ocaml
Associat0r has quit [Quit: Associat0r]
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 240 seconds]
philed has joined #ocaml
boscop has quit [Read error: Connection reset by peer]
oriba has joined #ocaml
ccasin has joined #ocaml
|marius| has joined #ocaml
avsm has joined #ocaml
schmrkc has quit [Ping timeout: 246 seconds]
schmrkc has joined #ocaml
ccasin has quit [Ping timeout: 265 seconds]
|marius| has quit [Remote host closed the connection]
Vassia has joined #ocaml
mjonsson has joined #ocaml
Vassia has quit [Ping timeout: 240 seconds]
fraggle_ has quit [Quit: -ENOBRAIN]
chee has quit [Ping timeout: 265 seconds]
fraggle_ has joined #ocaml
ccasin has joined #ocaml
<Anarchos> how to open all the cmo of a directory in toplevel ?
<thelema> one at a time the the correct order
<thelema> *in the
iratsu has quit [Ping timeout: 245 seconds]
joewilliams_away is now known as joewilliams
jakedouglas has joined #ocaml
ttamttam has quit [Quit: Leaving.]
<Anarchos> thelema oh ok
<Anarchos> i would rather make a .ocamlinit then
<thelema> Anarchos: or just a script to #load
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ttamttam has joined #ocaml
xcthulhu has quit [Ping timeout: 276 seconds]
<Anarchos> what means EINVAL when i use bind in unix.cma ?
ttamttam has quit [Client Quit]
<gildor> try to use a fd which is closed?
<gildor> Anarchos: ^^
<Anarchos> gildor i just create the socket !
<gildor> binpaste your invocation
<julm> | EINVAL (* Invalid argument *)
<Anarchos> let (sock_domain, sock_address) = (Unix.PF_UNIX, Unix.ADDR_UNIX "a") let sock = socket sock_domain SOCK_STREAM 0 in bind sock sock_address;;
joewilliams is now known as joewilliams_away
<gildor> Anarchos: works here
<gildor> (not the second time because EADDRINUSE)
<Anarchos> gildor ok it is my os which reponses EINVAL, not ocaml
<gildor> MacOS? FreeBSD?
<gildor> HaikuOS
<Anarchos> HaikuOS. but the net socket works for ocamldebug
<Anarchos> it was my need :)
<gildor> maybe HaikuOS has some limitation regarding the name of the ADDR_UNIX
<gildor> don't known
<Anarchos> gildor yes someone told me it was not so stable
xcthulhu has joined #ocaml
<Anarchos> for unix sockets
julm has quit [Ping timeout: 248 seconds]
oriba has quit [Quit: Verlassend]
<Anarchos> what means <|a|> in ocamldebug ?
<flux> it may mean the current point of evaluation? (my memories about that are hazy)
ttamttam has joined #ocaml
<Anarchos> ok i get <|a|> and <|b|>
brendan has quit [Ping timeout: 258 seconds]
Edward has joined #ocaml
<gildor> mfp: I have started on ocaml-markdown project
<gildor> mfp: derived from your ocsiblog project
<gildor> mfp: would you like to participate?
<mfp> gildor: I can't contribute atm. :-|
<gildor> mfp: but if you are interested in the project, you can still be noted as a developper
<gildor> mfp: for now I have corrected just one thing, so basically you are the main author
<mfp> if you're OK with having an inactive developer (at least for the time being) :-)
ttamttam has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
<gildor> mfp: no pb, it will give you commit access
<gildor> mfp: so you can adapt whatever you want to fit your ocsiblog (if you plan to to use it for your blog)
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
<gildor> mfp: can you point me to the list of incompatibilities between your ocsiblog's markdown parser and the standard one
<gildor> mfp: I know that '-' and '+' was not recognized for UList
<gildor> (and I corrected it)
<gildor> but I would like to fill my TODO list
<mfp> have you seen the alternative branch?
<gildor> nope
<asmanur> gildor: if I may, I'm currently developing a similar project, mldown : http://iuwt.fr/~asmanur/mldown
<gildor> asmanur: I would have prefe it on forge.ocamlcore.org ;-)
<gildor> asmanur: seems nice
<asmanur> thanks :)
<asmanur> I'll try to put it on ocamlcore's forge in the next week, I haven't registered there yet.
<gildor> asmanur: this is just a joke
<asmanur> gildor: I guess I can get more visibility there anyway
<gildor> asmanur: indeed, I don't know of your project at all
<gildor> asmanur: if it where on the forge I would have now it
<gildor> (or if you have somehow blogged about it)
<avsm> does the forge have easy git access?
<mfp> asmanur: if you are working on it, it's probably a better foundation that my markup hack (which I just wrote to scratch a personal itch for ocsiblog)
<mfp> *than
<asmanur> mfp: yep, i've been working on it since one year (not full-time though)
<gildor> avsm: you have git+ssh and anonymous access
<gildor> avsm: + gitweb
<asmanur> s/since/for
<gildor> avsm: but it is not as beautiful as github or gitorious
<avsm> i find developing on github is really convenient (as i just have to deal with one site). but mirroring ocaml projects to the forge might be quite convenient
<avsm> *as well
julm_ has joined #ocaml
<gildor> avsm: yes, this is what batteries do and I think it is a good way to get the best of git on the one hand and a good visibility in the ocaml community on the other hand
<gildor> mfp: so you think I should use asmanur's mldown
<gildor> asmanur: git clone git://gitorious.org/mldown/mldown.git
<gildor> asmanur: no extra branches ?
<asmanur> nop
<gildor> asmanur: you got a lot of "Warning P: this pattern-matching is not exhaustive."
<asmanur> gildor: indeed :D
<asmanur> gildor: this is mainly in old backends
<asmanur> that are currently used by virtually nobody
<asmanur> as the AST grows I didn't want to bother to extend them
<gildor> asmanur: you should not play with ocalmfind -destdir ...
<asmanur> hm
<asmanur> gildor: yep my install script is quite buggy, it's my first real project with an install script actually
Associat0r has joined #ocaml
<gildor> -destdir $(ocamlc -where) will force ocamlfind to install in a non-default directory for him
<asmanur> I had to to this otherwise it was not found iirc
<gildor> asmanur: want an OASIS setup? for this
<asmanur> yep that would be nice :)
<gildor> asmanur: if you don't set -destdir on the command people can override it using the environment varialb eOCAMLFIND_DESTDIR=/home/gildor/programmation/00build/ocaml-3.11.2-linux-amd64/lib/ocaml/
<gildor> for example
<asmanur> ok
<gildor> I can provide you with a _oasis + a working setup
<gildor> but you'll need to wait OASIS 0.2.0 to be able to have a setup-dev (i.e. a setup that auto-update when you add modules/options to _oasis)
<asmanur> ok
<asmanur> but is oasis ready to use yet ? last time I checked it wasn't
julm_ has left #ocaml []
<gildor> asmanur: what was your problem last time you checked?
julm has joined #ocaml
<asmanur> hm
<gildor> asmanur: GPL 3, is it on purpose?
<asmanur> there were no official release
<asmanur> hm
<gildor> since april there is a 0.1.0 release
ttamttam has joined #ocaml
<gildor> it has bugs but it works enough well
<asmanur> ok :)
<asmanur> well I hesitate between GPL and LGPL
<gildor> the 0.2.0 release is far better
<gildor> asmanur: for OCaml projects, we generally prefers LGPL + OCaml linking exception
<mfp> gildor: I haven't seem asmanur's code and don't know what he intends to do, so I can't really say. If he plans to work on it and implement all of markdown, probably.
<gildor> GPL for a library is quite strong
<asmanur> yes
<asmanur> maybe I'll switch to LGPL
<mfp> my code works and the more-markdown-compat branch approaches markdown, but I have no plans to work on it in the near future
<gildor> asmanur: you can handle README.text with mldown ?
<gildor> mfp: asmanur's project seems quite complete
<asmanur> gildor: yes
<asmanur> it's not "markdown" actually it's mdown but the syntax is very close
<gildor> what is the difference ? (any URL?)
<gildor> asmanur: you seems to have things in common with pandoc, is it on purpose ?
<asmanur> gildor: mdown is a spec designed by a friend of mine, there is a spec but it's more complicated than markdown and I implement only a major subset
<asmanur> gildor: I don't know about pandoc but it seems that they basically do what I do
Vassia has joined #ocaml
<gildor> asmanur: have you a kind of compatibility with markdown?
<asmanur> gildor: yes
<gildor> I see that you can use the Parser markdown
<asmanur> there's two frontend, markdown and mdown,
<gildor> I will probably use the markdown frontend
<asmanur> the markdown is not I think fully compatible with the the original implementation
<asmanur> but it's more a matter of testing than really a major issue
<gildor> asmanur: you would accept patches on the markdown part to make it more compliant ?
<asmanur> For now the frontend should be "good enough" to parse any typical data that don't use complicated and nested expressions
<asmanur> gildor: yes!
<asmanur> I hope the frontend can be hacked easily
<gildor> asmanur: ok, I will see how well it integrates with my needs
<asmanur> gildor: do you need an ocsigen integration by the way ?
<gildor> asmanur: yes
<asmanur> I have started a mldown_eliom module
<asmanur> (was not too sure how to integrate it with the repo)
<gildor> if you want the long story, I will use your library to parse _oasis description and display it on oasis.ocamlcore.org (the hopefully future OCaml CPAN)
<asmanur> ok
<gildor> is you mldown_eliom module ready for release ?
<asmanur> hm
<asmanur> not completely
<asmanur> there's still an Obj.magic to bypass Eliom's XHTML.M module because mldown's AST do not forbid "links in links" for instance
Vassia has quit [Ping timeout: 276 seconds]
<gildor> let me test your mldown parsing and integration
<asmanur> ok
<gildor> asmanur: you don't need directory = "+mldown" when you install the META file in the same directory as your library
<asmanur> ok
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
dmhouse has joined #ocaml
<asmanur> gildor: I fixed the install script and the META file along with some warnings.
<gildor> asmanur: thanks
<gildor> I probabl do something wrong
<asmanur> what is your test ?
<gildor> asmanur: the program http://ocaml.pastebin.org/439000
<asmanur> btw it's not fronted.markdown, just "markdown"
<gildor> still "warning: module markdown not found"
<asmanur> hm
<asmanur> ah
<asmanur> you need to link with -linkall
<gildor> the library or my program ?
<asmanur> your program
<asmanur> otherwise ocaml do not link the exxtensions who did not get a chance to register themselves
brendan has joined #ocaml
<gildor> asmanur: you can avoid the -linkall
<asmanur> how so ?
<gildor> Mldown_xhtml.Xhtml_backend.Meta.name
<asmanur> oh
<asmanur> nice :)
<asmanur> but works only if you supply yourself the modules to load
<gildor> yes
<gildor> but doing so you ensure that you can find the module
<gildor> at compile time
<asmanur> yes
<gildor> (hint: a shortcut Mldown_xhtml.module will be shorter to write
<gildor> )
<gildor> the -linkall have the problem to generate big programs if you use many other libraries, that don't need it
<asmanur> yep, there is no way to specify it per library ?
<gildor> not sure
<gildor> there is also the super-trick to define one META subpackage per extension and use a .cmo rather than a .cma
<asmanur> yes
verte has joined #ocaml
Edward has quit [Ping timeout: 246 seconds]
Edward has joined #ocaml
Anarchos has joined #ocaml
chee has joined #ocaml
dmhouse has quit [Ping timeout: 252 seconds]
Vassia has joined #ocaml
Vassia has quit [Ping timeout: 240 seconds]
philtor has joined #ocaml
jakedouglas has joined #ocaml
boscop has joined #ocaml
philtor has quit [Ping timeout: 265 seconds]
joewilliams_away is now known as joewilliams
ttamttam has quit [Quit: o<]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
itewsh has joined #ocaml
ccasin has quit [Remote host closed the connection]
rwmjones has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
rwmjones has joined #ocaml
jakedouglas has quit [Quit: Leaving.]
joewilliams is now known as joewilliams_away
xcthulhu has quit [Ping timeout: 276 seconds]
rwmjones is now known as rwmjones__
rwmjones__ has left #ocaml []
rwmjones__ has joined #ocaml
avsm has quit [Quit: Leaving.]
rwmjones__ is now known as rwmjones
xcthulhu has joined #ocaml
itewsh has quit [Quit: o/]
ztfw has quit [Ping timeout: 276 seconds]
philed has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
valross has joined #ocaml
coucou747 has quit [Remote host closed the connection]
xcthulhu has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 245 seconds]
xcthulhu has joined #ocaml
<pikachuyann> bonne nuit | good night
pikachuyann has quit [Quit: 'night]
emmanuelux has joined #ocaml
mjonsson has quit [Ping timeout: 248 seconds]
xmarteo has quit [Quit: Debian GNU/Hurd is Good.]
boscop has quit [Quit: See you later, alligator!]