mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
azories has joined #ocaml
<azories> amm http://ip-adress.com - http://whatismyip.com - http://www.iplobster.com - ipchick.com and so on = any one can explain why the dumb utilizers dont use ipconfig ?
azories has left #ocaml []
<ita> there is a bot logging the channel, right ?
<ita> i am afraid this is spamadvertising
smkl_ has quit [Remote closed the connection]
l_a_m has quit [Remote closed the connection]
ita has quit [Read error: 110 (Connection timed out)]
simon has quit [Remote closed the connection]
simon has joined #ocaml
rutlov has joined #ocaml
rutlov has left #ocaml []
seafoodX has joined #ocaml
dbueno has quit ["Leaving"]
_PenPen_ has quit ["Leaving"]
seafoodX has quit [Read error: 104 (Connection reset by peer)]
seafoodX has joined #ocaml
seafoodX has quit []
seafoodX has joined #ocaml
bogdano has quit ["leaving"]
CRathman has joined #ocaml
kelaouchi has joined #ocaml
cmeme has quit [Read error: 104 (Connection reset by peer)]
cmeme has joined #ocaml
baruk has joined #ocaml
Tetsuo has joined #ocaml
dmentre has joined #ocaml
drice has quit [Read error: 110 (Connection timed out)]
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
CRathman has quit [Read error: 110 (Connection timed out)]
essiene has joined #ocaml
<essiene> hola * :)
<essiene> this is my obligatory ping to the ocaml community... i'm an ocaml newbie... yay
Halabund has joined #ocaml
Tetsuo has quit [Remote closed the connection]
<schme> essiene: Welcome.
<essiene> i'm going thru John Hickey's book... looking great... this is actually my 3rd attempt at a functional language (Haskell, Erlang earlier), those other attempts bent my brain somewhat but i didn't reach the golden gates :)
<essiene> thnx schme !
<schme> Glad to hear that you are not giving up just because it is a bit of a struggle :)
<essiene> finally it seems the not terribly pure stance of ocaml is the mid-way ground that my C/D/Java/Python/ challenged brain needed
<schme> It is well worth it just for the sake of expanding your mind a bit anyway.
<essiene> hehe
<essiene> schme: yeah
<schme> Excellent.
<schme> Overly pure can be a bit annoying and unpractical, for sure.
<essiene> schme: at the same time, i'm learning about parsers and compiler inner workings... so made up my mind that this year... its either brain burst or nirvana.
<schme> Gl on that. Sounds like a fun year :)
<essiene> so far... its rewarding... i *feel* more worthy of the intarwep now ;)
<schme> Does not python allow functional hacking though?
<essiene> anyways... lemme stop disturbing everyone with my silly noises and get back to chapter 3: Variables and Functions. so far... nothing has stumped me yet.
<schme> Have fun :)
<essiene> schme: it does... i do some of the stuff in python... but i don't have a real functional mindset yet...
* schme nods.
<essiene> i appreciate and in fact use map, apply, lambda, etc... but its not the norm really
<essiene> but honestly python is pretty functional and is getting so everyday... Paul Graham may just be right... and by a mythical Python 4.0 it will become either haskell or Lisp :)
<essiene> i'll be back if i run into rocks
<essiene> :)
<schme> :)
Tetsuo has joined #ocaml
ygrek has joined #ocaml
CRathman has joined #ocaml
CRathman has quit [Remote closed the connection]
l_a_m has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
olegfink has quit [Read error: 104 (Connection reset by peer)]
olegfink has joined #ocaml
pantsd has quit [Read error: 110 (Connection timed out)]
bluestorm_ has joined #ocaml
kelaouchi has quit [Client Quit]
ygrek_ has joined #ocaml
ygrek has quit [Remote closed the connection]
essiene has quit ["leaving"]
ita has joined #ocaml
kelaouchi has joined #ocaml
ygrek has joined #ocaml
ygrek has quit ["Leaving"]
ygrek_ has quit [Remote closed the connection]
ygrek has joined #ocaml
smimou has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
yminsky has joined #ocaml
noss has joined #ocaml
<noss> How do i handle arbitrary size tuples?
<noss> Say I want a list_to_tuple method.
<flux> let list_to_tuple2 (a, b) = [a;b] let list_to_tuple3 (a, b, c) = [a;b;c] - you get the picture
<noss> looking around, maybe the semantics of the erlang tuple is better managed by ocaml array?
<flux> unlikely, because in ocaml arrays all the elements need to be of the same type; multiple types are handled with sum types
<flux> what are you attempting to do?
<noss> type eterm = EInt of int | EList of eterm list | ETuple of eterm array;;
<noss> This seems to work.
<flux> yes, that seems reasonable
<flux> I wonder though why don't you call it EArray of eterm array?
<flux> hm, right, because the elements can be of different types?
<flux> but then the EList is a suspect
<noss> Erlang call its O(1) immutable type 'tuple'.
<noss> But arrays are mutable. hmm.
<noss> There is a bit of an impedance mismatch here. :/
crabstick_ has quit []
crabstick has joined #ocaml
joshcryer has quit [Client Quit]
crabstick has left #ocaml []
crabstick has joined #ocaml
crabstick has left #ocaml []
crabstick has joined #ocaml
joshcryer has joined #ocaml
pierpa has joined #ocaml
schme` has joined #ocaml
pierpa has left #ocaml []
pierpa has joined #ocaml
pierpa has left #ocaml []
pierpa has joined #ocaml
schme has quit [Connection timed out]
Halabund has quit ["bye-bye"]
seafoodX has quit []
pango has quit [Remote closed the connection]
pango has joined #ocaml
<flux> so you're interfacing with erlang, or writing erlang-like communication primitives for ocaml?
schme` is now known as schme
yminsky has quit []
drice has joined #ocaml
Mr_Awesome has joined #ocaml
bluestorm_ has joined #ocaml
Cygaal has joined #ocaml
_JusSx_ has joined #ocaml
Amorphous has quit [Read error: 104 (Connection reset by peer)]
Amorphous has joined #ocaml
dmentre has quit ["Leaving."]
ita is now known as ita|nap
EliasAmaral has quit [Remote closed the connection]
EliasAmaral has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
leo037 has joined #ocaml
crabstick has quit []
<noss> flux: i just thought i would look into writing a ocaml parser of erlang's serialized external format of erlang values.
<noss> flux: as erlocaml at google code was terribly empty.
schme has quit [Success]
schme has joined #ocaml
authentic has left #ocaml []
authentic has joined #ocaml
CRathman has joined #ocaml
ita|nap is now known as ita
ygrek has quit [Remote closed the connection]
schme has quit [Read error: 104 (Connection reset by peer)]
schme has joined #ocaml
Tetsuo has quit ["Leaving"]
CRathman has quit [Read error: 110 (Connection timed out)]
CRathman has joined #ocaml
Cygaal has quit [Remote closed the connection]
Sparkles has quit [Remote closed the connection]
Sparkles has joined #ocaml
dric1 has joined #ocaml
dric2 has joined #ocaml
yminsky has joined #ocaml
CRathman has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518]"]
drice has quit [Read error: 110 (Connection timed out)]
dric1 has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit ["leaving"]
pantsd has joined #ocaml
leo037 has quit ["sleep 420"]
yminsky has quit []
dric2 has quit ["Leaving."]
drice has joined #ocaml
drice has quit [Client Quit]
[azoic] has joined #ocaml
mr_hugo has joined #ocaml
<mr_hugo> hello
<mr_hugo> can someone help me with this code: http://pastebin.com/m60f4b9ea ?
<mr_hugo> when i try it on toplevel it outputs this: # locate_lib_aux "SDL" (list_lib_dirs ());;Exception:Unix.Unix_error (Unix.ENOENT, "opendir", "/opt/sun-jdk-1.4.2.15/jre/lib/i386/classic/").
<mr_hugo> :S
<mr_hugo> ah ok
bluestorm_ has quit ["Konversation terminated!"]
<mr_hugo> NOENT means "no such file or directory"
<mr_hugo> there is probably 1000 better ways to do this :P
<mr_hugo> c ya in 8 hours (gonna sleep)
<mr_hugo> ***
mr_hugo has left #ocaml []
flux has quit [Read error: 104 (Connection reset by peer)]
flux has joined #ocaml
pierpa has quit [Read error: 60 (Operation timed out)]
yminsky has joined #ocaml
ita has quit ["Hasta luego!"]