flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0 out now! Get yours from http://caml.inria.fr/ocaml/release.html
ikaros has quit [".quit"]
Cheshire has quit [Read error: 60 (Operation timed out)]
kg4qxk has quit [No route to host]
Yoric[DT] has quit ["Ex-Chat"]
<AxleLonghorn> This is going to be an obvious answer, but I can't for the life of me figure out what is going on
<AxleLonghorn> line 17 in eval.ml: let rec attributes = function ...
<AxleLonghorn> on line 19: | ObjDict lst -> List.map fst lst
<AxleLonghorn> where is ``fst'' coming from?
<AxleLonghorn> I can't figure out where the definition of fst is.
<AxleLonghorn> I've compiled the code too, so it typechecks
<AxleLonghorn> nevermind
<AxleLonghorn> the first thing I should do is check pervasives in these cases...
willb has quit [Read error: 113 (No route to host)]
hkBst has quit [Read error: 104 (Connection reset by peer)]
AxleLonghorn has left #ocaml []
Stefan_vK has quit [Read error: 110 (Connection timed out)]
Stefan_vK has joined #ocaml
seafood has quit []
seafood has joined #ocaml
hsuh has quit [Remote closed the connection]
ched has quit [Read error: 110 (Connection timed out)]
ched has joined #ocaml
hsuh has joined #ocaml
jeddhaberstro has joined #ocaml
Axioplase has joined #ocaml
jeddhaberstro has quit []
_jedai_ has joined #ocaml
mischief6 has joined #ocaml
<mischief6> hello :) can anyone tell me where i can find good introductions/tutorials for OCaml?
<mischief6> thanks kig
Stefan_vK has quit [Read error: 110 (Connection timed out)]
Stefan_vK has joined #ocaml
sporkmonger has quit []
_jedai_ has quit [Read error: 110 (Connection timed out)]
_jedai_ has joined #ocaml
Stefan_vK1 has joined #ocaml
Demitar has joined #ocaml
Stefan_vK has quit [Read error: 110 (Connection timed out)]
_jedai_ has quit [Connection timed out]
_jedai_ has joined #ocaml
_jedai_ has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"]
Yoric[DT] has joined #ocaml
Camarade_Tux has joined #ocaml
seafood has quit []
authentic has joined #ocaml
pierre- has joined #ocaml
_zack has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
Stefan_vK1 has quit [Read error: 110 (Connection timed out)]
Stefan_vK has joined #ocaml
|jeremiah has quit [Read error: 104 (Connection reset by peer)]
Snark has joined #ocaml
jeremiah has joined #ocaml
Snark has quit ["Ex-Chat"]
animist has quit ["Leaving"]
realtime has quit [Read error: 60 (Operation timed out)]
realtime has joined #ocaml
Stefan_vK has quit [Read error: 110 (Connection timed out)]
hkBst has joined #ocaml
s4tan has joined #ocaml
Stefan_vK has joined #ocaml
animist has joined #ocaml
OChameau has joined #ocaml
hsuh has quit [Remote closed the connection]
ikaros has joined #ocaml
vpalle has joined #ocaml
thelema has quit [Read error: 110 (Connection timed out)]
Associat0r has quit [Read error: 60 (Operation timed out)]
ikaros has quit [brown.freenode.net irc.freenode.net]
jlouis has quit [brown.freenode.net irc.freenode.net]
schme has quit [brown.freenode.net irc.freenode.net]
Ori_B has quit [brown.freenode.net irc.freenode.net]
munga has quit [brown.freenode.net irc.freenode.net]
ikaros has joined #ocaml
jlouis has joined #ocaml
schme has joined #ocaml
Ori_B has joined #ocaml
munga has joined #ocaml
mattc58 has joined #ocaml
mattc58 has left #ocaml []
seafood has joined #ocaml
slash_ has joined #ocaml
ikaros has quit [Remote closed the connection]
slash_ has left #ocaml []
slash_ has joined #ocaml
stmi has joined #ocaml
stmi has quit [Remote closed the connection]
seafood has quit [Read error: 110 (Connection timed out)]
stmi has joined #ocaml
^authentic has joined #ocaml
<stmi> Hello. I have problem with compiling following code http://codepad.org/NXuaqdrr using ocamlopt. It displays message Unbound module Random, but running same code with interpreter works just fine. What am I doing wrong?
<stmi> I'm using opsensuse 11.1
<flux> well, it compiles fine for me in both ocamlc and ocamlopt
<flux> it sounds like there could be issues with your ocaml installation
<stmi> ok, thx. I'll try to figure it out then
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
olegfink has quit [Read error: 60 (Operation timed out)]
olegfink has joined #ocaml
jlouis has quit ["Lost terminal"]
stmi has quit [Read error: 60 (Operation timed out)]
s4tan has quit [Read error: 110 (Connection timed out)]
stmi has joined #ocaml
stmi has quit [Remote closed the connection]
stmi has joined #ocaml
willb has joined #ocaml
jlouis has joined #ocaml
s4tan has joined #ocaml
mattc58 has joined #ocaml
stmi has quit [Remote closed the connection]
stmi has joined #ocaml
vpalle has quit [Read error: 60 (Operation timed out)]
Yoric[DT] has joined #ocaml
willb has quit [Read error: 60 (Operation timed out)]
vpalle has joined #ocaml
Waleee has joined #ocaml
jeremiah has quit [Read error: 104 (Connection reset by peer)]
stmi has left #ocaml []
brendan has quit [Read error: 101 (Network is unreachable)]
s4tan has quit [Read error: 110 (Connection timed out)]
jeremiah has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
Stefan_vK1 has joined #ocaml
Walee has joined #ocaml
Cheshire has joined #ocaml
jeremiah has quit [Read error: 104 (Connection reset by peer)]
Waleee has quit [Read error: 110 (Connection timed out)]
Stefan_vK has quit [Read error: 110 (Connection timed out)]
s4tan has joined #ocaml
mishok13 has quit ["Stopping IRC chat... [OK]"]
jeremiah has joined #ocaml
s4tan has quit [Read error: 110 (Connection timed out)]
mattc58 has left #ocaml []
willb has joined #ocaml
Yoric[DT] has joined #ocaml
s4tan has joined #ocaml
love-pingoo has joined #ocaml
Proteus has joined #ocaml
jeremiah has quit [Read error: 104 (Connection reset by peer)]
vpalle has quit [Read error: 60 (Operation timed out)]
vuln has joined #ocaml
<vuln> Is it true Ocaml is anything else besides a academic programming language?
jeremiah has joined #ocaml
<vuln> Is it true that Ocaml is nothing but a academic programming language?
<Camarade_Tux> not quite
s4tan has quit [Read error: 110 (Connection timed out)]
<vuln> Camarade_Tux: Why?
<vuln> I'm at the first term in my university and they're going to teach me Ocaml
<vuln> A friend told me it's useless and its single purpose is to be a academic programming language
<Camarade_Tux> vuln, you can do anything you want in ocaml and people actually code anything they want
<vuln> Camarade_Tux: But why not in C or other language?
<Camarade_Tux> because you'll soon see how faster you can code in ocaml and how many bugs you avoid
<Camarade_Tux> that said, nothing guarantees you'll love the language
vpalle has joined #ocaml
<vuln> Camarade_Tux: so Ocaml is a good language to code fast and avoid stupid bugs
<vuln> Even though you can't control it as you would do in an imperative language as C
<vuln> right?
<kig> quite
<Camarade_Tux> it also has very nice features
<vuln> Thanks :)
<Camarade_Tux> don't forget ocaml can be imperative too ;)
<vuln> I can choose the datatype for example?
<kig> i'd suggest you learn some C on the side as well, it'll give a better appreciation of the good and bad sides of each language
<vuln> kig: I already know C/C++ and other languages.
<vuln> I started coding early :)
<vuln> But I'll be treated as a noob in the university 'cuase I'm at the first term hehe
<Cheshire> btw you should always be open to the possibility that you know much less than you think, especially when it comes to programming
<vuln> Cheshire: true
<vuln> My first C code was when I was 14. I thought I was THE C programmer
<vuln> So I started again to study C and now I see how dumb I was and how dumb I still am in front of some problems
<vuln> There're always someone better than us, it's the law
<kig> ok, in C the idea is that everything you have is a stack/heap-allocated block of memory, and it's your responsibility to know the array dimensions and manage the memory. and functions are blocks of memory with instructions, so you can pass pointers to them around etc.
<vuln> It's awesome. And it shows always the same in C and it's making easier my reading
<kig> in ocaml, the actual variable->memory -mapping is harder to understand, but you get a GC and bounds-checking. and nicer function composition with which you can do stuff that'd be a total pain with function pointers
mattc58 has joined #ocaml
<vuln> kig: It seems very cool
<vuln> Now that I'm understanding (reading the tutorials)
<vuln> It is high level languagem, right?
<vuln> Or as you can also use it as imperative, you can also use it in a low level way?
Snark has joined #ocaml
vpalle has quit [Read error: 110 (Connection timed out)]
<kig> low level? like inline ASM or for writing device drivers?
<vuln> both
<vuln> It's impossible with Ocaml, right?
<kig> oh, probably
<olegfink> there's some driver code written in ocaml as part of some OS project
<vuln> olegfink: incredible
<olegfink> ah, here it is, probably: http://snowflake-os.googlecode.com/svn/trunk/kernel/
<vuln> olegfink: cool :)
<vuln> I'm pretty happier than before when they told me I'll have to learn Ocaml
<kig> oh wow, that's nifty
<Camarade_Tux> I wasn't aware of snowflake, I only knew funk ;)
<vuln> :)
<kig> i'd have thought the GC'd make it less desireable to write drivers in ocaml (not that i have measured the gc pause times though..)
<vuln> kig: Other question.
<vuln> OCaml is a proprietary language? Or is it free as Haskell?
<vuln> not free in charge, I dont mean it
<Camarade_Tux> the only time I actualy noticed the gc was when benchmarking a data structure and adding more than 10M elements at once
<olegfink> it's free as a strange mix of QPL and GPL :-)
<Camarade_Tux> and it was not very noticeable
<Camarade_Tux> to be more precise, core/compiler : qpl, libs : gpl with static linking exception iirc
<vuln> olegfink: Oh, not so bad
<vuln> :D
<schme> Hmm..
<olegfink> hm, seems snowflake doesn't yet do any sort of userspace support?
<olegfink> a scheduler implementation in ocaml is something I'd really want to look at.
Yoric[DT] has quit ["Ex-Chat"]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
Stefan_vK1 has quit [Read error: 104 (Connection reset by peer)]
Stefan_vK has joined #ocaml
schmx has joined #ocaml
schmx has quit [Read error: 104 (Connection reset by peer)]
schmx has joined #ocaml
schme has quit [Read error: 110 (Connection timed out)]
det_ has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
trisiak has left #ocaml []
marmotine has joined #ocaml
brendan has joined #ocaml
OChameau has quit [Read error: 113 (No route to host)]
_zack has quit ["Leaving."]
_zack has joined #ocaml
Walee has quit [Connection timed out]
mattc58 has left #ocaml []
|Jedai| has quit [Read error: 54 (Connection reset by peer)]
avsm has joined #ocaml
<avsm> does anyone here use OCamlMakefile / ocamlfind / camlp4 ?
<avsm> cant for the life of me figure out how to add a '-syntax camlp4' using OCamlMakefile, to use json-static
kg4qxk has joined #ocaml
pierre- has quit [Read error: 110 (Connection timed out)]
<avsm> oh, need camlp4find. compiling ocaml apps remains the toughest thing about using the language :)
<Cheshire> avsm, yaeh :(
<Camarade_Tux> ocamlbuild is actually wonderful :)
<brendan> _tags are annoying
<brendan> we need one more level of abstraction :)
<Camarade_Tux> _tags is rather short and yeah, sometimes annoying, but really not a big trouble ;)
ttamttam has joined #ocaml
_zack has quit ["Leaving."]
kc8pxy has joined #ocaml
ttamttam has quit [Remote closed the connection]
ttamttam has joined #ocaml
<kc8pxy> I'm trying to compile a program written in ocaml, and I've had to modify most of the include directives to make it compile. the one i can't seem to make work is -I +sha and it still gives me 'Unbound module Sha1'
Snark has quit ["Ex-Chat"]
<kc8pxy> is it a problem with my ocaml install, my sha install, or something else"
<kc8pxy> ??
seafood has joined #ocaml
Stefan_vK has quit [Read error: 104 (Connection reset by peer)]
Stefan_vK has joined #ocaml
ttamttam has left #ocaml []
jeremiah has quit [Read error: 110 (Connection timed out)]
hkBst has quit [Read error: 104 (Connection reset by peer)]
hkBst has joined #ocaml
marmotine has quit ["mv marmotine Laurie"]
love-pingoo has quit ["Connection reset by pear"]
mbana has joined #ocaml
<mbana> i'd like to see work being done on the jvm implementation for the janet thing
<mbana> that would be great
Associat0r has joined #ocaml
<vuln> Is there any beginner available to talk about Ocaml?
slash_ has quit ["leaving"]
ikaros has quit [".quit"]
gaja has quit ["Lost terminal"]
gueux has joined #ocaml
ched has quit ["Ex-Chat"]
gueux has left #ocaml []