sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
delueks has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
sgnb has quit [Ping timeout: 260 seconds]
sgnb has joined #ocaml
Edward has quit []
tmaeda has quit [Ping timeout: 272 seconds]
tmaeda has joined #ocaml
rks has quit [Ping timeout: 240 seconds]
rks has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
boscop has joined #ocaml
Amorphous has quit [Ping timeout: 272 seconds]
delueks has quit [Remote host closed the connection]
Amorphous has joined #ocaml
Modius has quit [Read error: Connection reset by peer]
Modius has joined #ocaml
alexyk has joined #ocaml
<alexyk>
what type constructor for enum corresponds to list and array, e.g. int enum <-- what here?
alexyk has quit [Read error: Connection reset by peer]
sgnb has quit [Ping timeout: 260 seconds]
sgnb has joined #ocaml
alexyk has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
alexyk has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
sgnb has quit [Ping timeout: 260 seconds]
sgnb has joined #ocaml
alexyk has joined #ocaml
<flux>
hm, List.enum and Array.enum?
alexyk has quit [Read error: Connection reset by peer]
ulfdoz has joined #ocaml
joewilliams is now known as joewilliams_away
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
hto has joined #ocaml
alexyk has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
dark has joined #ocaml
<dark>
I want to generate ocamldoc for a program with two files. it gives an error when one file tries to open the other
<dark>
it seems i need some .cmi for the opened module, is this right?
alexyk has quit [Read error: Connection reset by peer]
sgnb has quit [Remote host closed the connection]
sgnb has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
<dark>
can I include source code in ocamldoc?
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
sgnb has quit [Read error: Connection reset by peer]
alexyk has quit [Read error: Connection reset by peer]
sgnb has joined #ocaml
alexyk has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk has joined #ocaml
alexyk has quit [Client Quit]
eldragon has quit [Read error: Connection reset by peer]
<dark>
does ocaml do deforestation, or somehow optimizes out intermediate structures? (in my case, lists)
<dark>
my code looks like (expanding names) List.map (List.map (List.fold ..) ..) ..)
<dark>
it deals with 2d collision detection. I was thinking in doing it with arrays, because iterating on an array is faster. but for now I want it just to be correct
<dark>
but I'm wondering if a series of maps and folds are worse than condensing everything in a unique fold
<dark>
(I suppose the net effect of deforestation would be this)
<flux>
dark, ocaml doesn't do deforstation or any other high-level optimizations
<dark>
i'm between doing this in haskell, in ocaml, in something else, or giving up
<dark>
in ocaml, would it be better to make an imperative algorithm with arrays?
<flux>
if the algorithm lends itself to arrays (say, dynamic programming) then yes, I would use arrays
<flux>
but otherwise lists are the most common data structure
<dark>
i have an polygon that is a list of vertices. i will get a polygon, its position and its orientation (a rotation) and turn it into a list of sides (that are line segments, that are pairs of points), and a list of axis perpendicular to such sides. i mostly finished it
<dark>
if i have this, i can apply the separating axis theorem for collision of convex polygons easily
<dark>
but it amounts to a bunch of folds and maps to turn a polygon into a segment list and an axis list
<flux>
some algorithms like to insert or remove edges while maintaining order, lists can be nice for those
<flux>
dark, be sure to bump up the gc parameters for that kind of work, where you generate a lot of stuff and then discard (intermediate results)
<flux>
especially enlarging the minor heap is what's suitable here
<dark>
hm
<dark>
i can't use ocamlbuild for generating ocamldoc, ocamlbuild myprogram.docdir/index.html or ocamlbuild myprogram.docdir does not work
ikaros has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
eldragon has joined #ocaml
<f[x]>
gildor_, ping
<f[x]>
is ocamlcore migration finished?
<f[x]>
forge
<gildor_>
f[x]: It should be finished for lunch
<gildor_>
but I think the visible part has been migrated and is useable
<gildor_>
f[x]: what do you think of it ?
<f[x]>
I think that I am not the member of any projects anymore
<f[x]>
except the oldest one
<gildor_>
f[x]: you don't like it ?
<f[x]>
other than that interface looks little bit better (but some markup is now gone, some texts look weird), integration with git/other scms is cool
ttamttam has quit [Read error: Connection reset by peer]
tsuwabuki has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
<f[x]>
gildor_, the workaround is to provide read-only access to /jobs/extunix/config.xml not through hudson (with nginx rule) - now it works
ftrvxmtrx has quit [Quit: Leaving]
<gildor_>
f[x]: the iframe is ugly, but it is nice to have it here
<f[x]>
there is an extra widget on the main page
<gildor_>
f[x]: yes, just seen it, this one is really nice
<gildor_>
we will end up with a really nice forge ;-)
* f[x]
currently decides whether it is reasonable to include sctp bindings into extunix
<gildor_>
f[x]: do you use it ?
<f[x]>
evaluating
Snark_ has joined #ocaml
<f[x]>
it requires extra cclib so extra configure flag to enable/disable
<gildor_>
what cclib ?
<f[x]>
-lsctp
<gildor_>
well, if you are only evualating, maybe you should start a simple library to test, and consider inclusion if it is really worth
<alexyk>
I remember doing some kind of load in the repl which automagically loaded the dependencies... was I dreaming? #load instists I first load anything the .cmo is referencig...
<gildor_>
you need to load the library that it depends on using require
<gildor_>
and then load the .cmo
<alexyk>
gildor_: the problem is, I created a bunch of modules locally depending on each other. I need to load common.cmo which wants utils.cmo. I'd like to be able to just say, load common.cmo and whatever else it wants from the local directory
<gildor_>
create a library with all your cmo
<gildor_>
alexyk: ^^
<gildor_>
and load it
<alexyk>
aha! how? :)
<alexyk>
create how, locally?
<gildor_>
yes
<alexyk>
a .cma?
<gildor_>
how, with ocaml -a -o toto.cma common.cmo utils.cmo
<gildor_>
ocamlc
<gildor_>
yes
<alexyk>
kk
<alexyk>
I love the fact that ocaml is like a son of Unix, and everything is so much clearer than in Java world... shhh, I didn't say that)
joewilliams is now known as joewilliams_away
ttamttam has joined #ocaml
joewilliams_away is now known as joewilliams
alexyk_ has joined #ocaml
alexyk has quit [Read error: Connection reset by peer]
alexyk_ has quit [Ping timeout: 240 seconds]
mb has joined #ocaml
mb is now known as Guest32058
<Guest32058>
Hi. I'm trying to use dynlink under Cygwin. Calling Dynlink.loadfile raises an exception of type Dynlink.Cannot_open_dll with the error message "Permission denied". Any idea what's going wrong?
ftrvxmtrx has joined #ocaml
Yoric has quit [Quit: Yoric]
init1 has joined #ocaml
ttamttam has quit [Remote host closed the connection]