struktured has quit [Read error: 110 (Connection timed out)]
mike_mcclurg has joined #ocaml
mike_mcclurg has left #ocaml []
mike_mcclurg has joined #ocaml
ppsmimou has quit [Read error: 110 (Connection timed out)]
ozy` has quit [Remote closed the connection]
Kopophex has joined #ocaml
seafood has joined #ocaml
psnively has joined #ocaml
struktured_ is now known as struktured
psnively has quit [Remote closed the connection]
psnively has joined #ocaml
seafood has quit []
Amorphous has quit [Read error: 110 (Connection timed out)]
psnively has quit []
Amorphous has joined #ocaml
seafood has joined #ocaml
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
struktured has quit [Connection timed out]
jeddhaberstro has quit []
jonafan_ has joined #ocaml
seafood has quit []
jonafan has quit [Read error: 110 (Connection timed out)]
Kopophex has quit ["Leaving"]
seafood has joined #ocaml
ozy` has joined #ocaml
ozy` has quit ["Shop for a whopper"]
Mr_Awesome has joined #ocaml
seafood has quit []
ozy` has joined #ocaml
Associat0r has joined #ocaml
seafood has joined #ocaml
seafood has quit [Client Quit]
seafood has joined #ocaml
seafood has quit [Client Quit]
johnnowak has joined #ocaml
seafood has joined #ocaml
seafood has quit []
Yoric[DT] has joined #ocaml
lorph has left #ocaml []
Yoric[DT] has quit ["Ex-Chat"]
<flux>
you can do partial application in C with a few macros
<flux>
it's the capturing-the-environment that requires a language extension
<Associat0r>
that extension is called C++
<ulfdoz>
.oO( ... )
seafood has joined #ocaml
mishok13 has joined #ocaml
johnnowak has quit []
Snark has joined #ocaml
<flux>
associat0r, I don't think C++ has environment-capturing lambda expressions.. what one can build with boost isn't quite the same.
<Associat0r>
flux : have you looked at FC++?
<flux>
associat0r, I remember taking a look but I don't really remember anything about it :)
<flux>
in any case, what you write as lambda expressions isn't your regular kind of c++ code
<flux>
say, you cannot write a for-loop; you may be able to write the equivalent of one, though
<flux>
I wonder though if I should start taking advantage of boost or FC++ at work, but the build times are long enough as it is :)
<Associat0r>
I have used boost a lot but not much for the FP stuff
<flux>
associat0r, so, how's your compiling times?-)
<flux>
(hm, s/'s/ are/)
<Associat0r>
it was acceptable if you structured the code well
<Associat0r>
boost spirit was the heaviest of boost I used
<flux>
do you use boost functionality in header files?
<flux>
looking at FC++ I must admit it applies some dark magic
<flux>
or rather, assume
<Associat0r>
some stuff were in headers yes but you should strive to put forward declaration only in headers
<Associat0r>
but in many cases you can't avoid that
<Associat0r>
I used smart pointers heavily
<Associat0r>
naked pointers only in the lowest levels of code
<flux>
heh, a type of one short lambda function, which one might even need to write at times: LEType<LAM<LET<BIND<1,int>,BIND<2,int>, CALL<Minus,LV<1>,LV<2> > > > >::Type
<Associat0r>
yeah lots of magic
<Associat0r>
coincidentally I found out that one of the F# guys is coauthor of FC++
<Yoric[DT]>
What about putting ast.ml in the beginning?
<GustNG>
Then it complains about the next file, including the ones that need the preprocessor.
<gildor>
GustNG: what is your version of ocaml/Linux distribution...
<GustNG>
3.10.0, Cygwin
<GustNG>
Hm calling it from Windows seems to not die
<gildor>
GustNG: it is probably a command line problem
<Yoric[DT]>
:/
<gildor>
(missing quote in camlp4o or smthg like that)
<Yoric[DT]>
Well, time for lunch.
<Yoric[DT]>
Good luck.
<GustNG>
Yes I'll try to finish it by hand
<gildor>
cygwin for buildsys and msvc or pure cygwin
<gildor>
GustNG: just have read a mail from rwmjones that remind me that what you are speaking about is maybe a real bug in camlp4
<gildor>
GustNG: that should have been fixed in 3.10.2
<GustNG>
Alright then it's not Cygwin
<GustNG>
I got it to compile
xevz has quit [Read error: 110 (Connection timed out)]
authentic has left #ocaml []
authentic has joined #ocaml
shortc|desk has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
jlouis has joined #ocaml
seafood has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
Axioplase has joined #ocaml
seafood has quit [Read error: 104 (Connection reset by peer)]
seafood has joined #ocaml
seafood has quit [Connection reset by peer]
seafood has joined #ocaml
seafood has quit []
ozzloy has quit [zelazny.freenode.net irc.freenode.net]
ozzloy has joined #ocaml
guillem_ has joined #ocaml
Axioplase has quit ["leaving"]
Asmadeus_ has joined #ocaml
Asmadeus_ has quit [Client Quit]
Asmadeus_ has joined #ocaml
Associat0r has quit []
Asmadeus has quit [Read error: 110 (Connection timed out)]
DroneZilla has joined #ocaml
Asmadeus_ has quit ["Stupidnes Error"]
Asmadeus has joined #ocaml
DroneZilla has left #ocaml []
DroneZilla has joined #ocaml
DroneZilla_ has joined #ocaml
DroneZilla_ has left #ocaml []
mishok13 has quit [Read error: 110 (Connection timed out)]
guillem_ has quit [Read error: 104 (Connection reset by peer)]
rmns has left #ocaml []
DroneZilla has left #ocaml []
tomh_-_ has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
Linktim has joined #ocaml
Linktim_ has joined #ocaml
Koordin has joined #ocaml
<Koordin>
Hi, i have a problem with ocaml. In string.ml, external unsafe_bilt is called, but i would like to know what this function does. How can i do that ?
<Koordin>
Where is it defined ?
_andre has joined #ocaml
Yoric[DT] has joined #ocaml
Proteus has joined #ocaml
Linktim has quit [Read error: 113 (No route to host)]
<Koordin>
noone knows ?
<flux>
in the sources, obviously :)
<flux>
koordin, find string.ml, it says it's an external function
<Yoric[DT]>
hi again
<flux>
there is says the function is caml_blit_stirng
<flux>
the find -name \*.c | xargs grep -l caml_blit_string
<flux>
and you will find ./byterun/str.c
<Koordin>
ok thanks a lot
<Koordin>
what does -name \*.c mean ?
<flux>
it's a switch specific to find
<olegfink>
find(1) might know the answer
<flux>
man find will describe all the available switches
<Koordin>
ok
<flux>
\* is a quoted *; if it wasn't quoted (as in: *.c), *.c files in the current directory would replace the string, and the find would most likely give wrong or no results
<Koordin>
i didn't understand well
<Koordin>
find -name \*.c | xargs grep -l caml_blit_string returned no result
<flux>
where did you run it?
<olegfink>
you probably want to run it in a directory with ocaml sources
<Koordin>
oh
<Koordin>
jado@Jado:/usr/lib/ocaml/3.10.0$ sudo find / -type d -name byterun