systems changed the topic of #ocaml to: http://icfpcontest.cse.ogi.edu/ -- OCaml wins | http://www.ocaml.org/ | http://caml.inria.fr/oreilly-book/ | http://icfp2002.cs.brown.edu/ | SWIG now supports OCaml| Early releases of OCamlBDB and OCamlGettext are available | Caml Weekly news http://pauillac.inria.fr/~aschmitt/cwn/
mrvn has quit [Ping timeout: 14400 seconds]
Kinners has joined #ocaml
travisbemann has joined #ocaml
<travisbemann> does anyone know of a lisp that is easily embeddable in OCaml?
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
lament has joined #ocaml
reltuk has joined #ocaml
rhil_work has quit [Remote closed the connection]
rhil_work has joined #ocaml
travisbemann has quit ["leaving"]
Smerdyakov has joined #ocaml
reltuk has quit ["Client exiting"]
rhil_work is now known as rhil_out
polin8 has quit ["Now _that's_ a good cup of coffee."]
polin8 has joined #ocaml
Smerdyakov has quit ["sleep"]
whee has joined #ocaml
reltuk has joined #ocaml
Kinners has left #ocaml []
reltuk has quit ["Client exiting"]
mrvn has joined #ocaml
travisbemann has joined #ocaml
lament has quit ["PORK IS NOT A VERB"]
kunphuzil has joined #ocaml
<kunphuzil> So why should I learn O'Caml ? :)
<whee> kunphuzil: why not? :D
<kunphuzil> I'm not sure.. I probably will. Not sure. I need to concentrate on one lang.. So many langs I want to learn :P
<whee> it's worth learning
<whee> I use it when I want to do things with a functional style, yet still have the option of doing it differently
<whee> and it's fast, which is a plus
<kunphuzil> You can do it functionally or a different way?
<whee> you could go with a pure functional style, or imperatively
<whee> plus the object model is full featured if you like OO
<kunphuzil> Wow
<kunphuzil> how is that possible all in one langugage?
<whee> there's no monads like haskell but you could simulate them if you're crazy :)
<kunphuzil> Heh, yeah I know some haskell..
kunphuzil has left #ocaml []
<mrvn> Only thing missing is call/cc
whee has quit [Read error: 104 (Connection reset by peer)]
mattam has joined #ocaml
rhil_out has quit [Remote closed the connection]
rhil has joined #ocaml
travisbemann has quit ["leaving"]
whee has joined #ocaml
rhil is now known as rhil_zzz
systems has joined #ocaml
__DL__ has quit [Remote closed the connection]
karryall has joined #ocaml
systems has quit [Read error: 60 (Operation timed out)]
olrion has joined #ocaml
ad__ has joined #ocaml
ad_ has quit [Read error: 110 (Connection timed out)]
det has joined #ocaml
det has quit ["ircII EPIC4-1.1.2 -- Are we there yet?"]
<vegai> hmm, what was the datatype for very long numbers again..
<vegai> not a primitive type at least
<vegai> any ideas?
<whee> int64?
<whee> nativeint?
<vegai> ok, yes. 64 bits should be more than enough for anybody
<karryall> and there's the Num library, with arbitrary precision numbers
<vegai> ah, even better
<vegai> # Num.num_of_int 1;;
<vegai> Reference to undefined global `Num'
<karryall> it's not linked with the toplevle
<vegai> ah, yes
<karryall> #load "num.cma" ;;
<mrvn> Get a proper CPU and int has 63 bits.
<vegai> thus breaking all software?
<vegai> great
<mrvn> Everything works fine here.
karryall has quit [Read error: 104 (Connection reset by peer)]
olrion has quit [Read error: 54 (Connection reset by peer)]
Vincenz has joined #ocaml
<Vincenz> Hello
Smerdyakov has joined #ocaml
systems has joined #ocaml
systems has quit ["Client Exiting"]
lus|wazze has joined #ocaml
nerve has joined #ocaml
<nerve> can anyone help me compile ocaml?
<nerve> i keep getting errors on make world
<whee> what kind of errors?
<nerve> its five lines long
<nerve> is it ok to paste?
<whee> go for it
<nerve> make[2]: *** [cltkImg.o] Error 1
<nerve> make[2]: Leaving directory `/home/nerve/ocaml-3.06/otherlibs/labltk/support'
<nerve> make[1]: *** [all] Error 2
<nerve> make[1]: Leaving directory `/home/nerve/ocaml-3.06/otherlibs/labltk'
<nerve> make: *** [otherlibraries] Error 2
<whee> what's right before those lines?
<nerve> gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -I/usr/X11R6/include -fPIC -c cltkImg.c
<nerve> cltkImg.c: In function `camltk_setimgdata_native':
<nerve> cltkImg.c:102: too few arguments to function `Tk_PhotoPutBlock
<whee> mm
<whee> what version of tk do you have?
<nerve> tk?
<nerve> gtk?
<whee> tk, as in tcl/tk
<nerve> ive never heard of tcl/tk how do i find out?
<whee> I guess you could look for tk.h in one of your include paths and grab TK_VERSION from there
<whee> ocaml's configure might tell you somewhere in there
<nerve> im not even sure if its installed
<whee> well if you don't want to use tk you can ./configure -no-tk and recompile
<nerve> is it important
<whee> I have a feeling you've got an older version of tcl/tk that isn't supported or some such
<whee> it's for guis
<nerve> /usr/include/tk.h
<nerve> thats where it is
<whee> grep TK_VERSION /usr/include/tk.h
<nerve> how do i grab TK_VERSION from there?
<nerve> ah
<nerve> 8.4
<whee> hrmf, okay
<nerve> its been four months and i still havent figured out what grep does :P
<nerve> four months since i switched to nix
<whee> hold on, I think that's a known problem in 3.06 fixed in cvs
<nerve> okie
<whee> http://roofles.ath.cx/cltkImg-tk.patch grab that file and put it in the ocaml dir
<whee> er, wait that got wrapped wrong
<mrvn> grep does simple pattern matching
<whee> okay, redownload that patch :)
<whee> then just do patch < cltkImg-tk.patch and give it otherlibs/labltk/support/cltkImg.c for the first file and otherlibs/labltk/tkanim/tkAnimGIF.c for the second
<nerve> hrm
<nerve> woa
<nerve> Hunk #1 FAILED at 335.
<nerve> 1 out of 1 hunk FAILED -- saving rejects to file /home/nerve/ocaml-3.06/otherlibs/labltk/support/cltkImg.c.rej
<nerve> is that ok?
<nerve> or no
<whee> er, no
<whee> it should work, hrmf heh
<whee> I guess youc ould do it by hand
<nerve> how do i do that lol
<whee> look at the patch and look at the source and decide what needs to be changed :)
<nerve> lol
<nerve> ok it worked the second time around
<nerve> oh wait
<nerve> does it matter which file i patch first?
<nerve> yep you bet
<whee> the patch has them in a certain order
<whee> so
<nerve> blah
<nerve> i patched the wrong file first
<nerve> is there any easier way to go about this problem?
<nerve> all im trying to do is install mldonkey
<nerve> didnt think it would be this hard :P
<whee> heh
<whee> depends if mldonkey actually uses tk
<nerve> well it has a gui
<nerve> that i want to use, so i figure it probably does
<whee> is it compiling now?
<nerve> no ocaml is require
<nerve> to compile
<whee> no, is ocaml compiling
<nerve> no its not
<whee> same problem?
<nerve> same error after patchign the first file
<whee> er, hrm
<nerve> the second file i dont know how to edit by hand
<whee> grab those and replace whatever's in your tree now
<whee> heh
<nerve> lol
<whee> yaaaaar
olrion has joined #ocaml
<nerve> heh its compiling i think
BQF has joined #ocaml
BQF has left #ocaml []
<nerve> yay
<nerve> wheeeeeeee
<nerve> :)
rhil_zzz is now known as rhil
olrion is now known as olri{eat}
<vegai> I wonder if a help-function would be feasible in ocaml environment
<vegai> not unlike in python
lament has joined #ocaml
<whee> probably could add something like it with camlp4
olri{eat} is now known as olrion
<vegai> it's surprisingly helpful
<vegai> pun not intended
asqui has quit [Read error: 104 (Connection reset by peer)]
<vegai> this would require all the libraries to be documented in a unified way... are they?
<lus|wazze> yep
<vegai> ok, so that
<lus|wazze> look up ocamldoc
<vegai> ...'s not a problem
asqui has joined #ocaml
mrvn_ has joined #ocaml
<vegai> I wonder how much reflection this language supports...
* Smerdyakov steps on reflection. :-)
<vegai> it would help with this help-thingie
mrvn has quit [Read error: 110 (Connection timed out)]
Smerdyakov has quit ["ok"]
nerve has quit [Remote closed the connection]
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
lus|wazze has joined #ocaml
Vincenz has quit [Success]
rhil is now known as rhil_ATL
Smerdyakov has joined #ocaml
Smerdyakov has quit ["I go"]
lament has quit ["TOKI PONA LI PONA ALA"]
ad__ has quit ["Fermeture du client"]
TachYon has joined #ocaml
olrion has quit [Read error: 54 (Connection reset by peer)]
Smerdyakov has joined #ocaml
TachYon has quit [Remote closed the connection]
reltuk has joined #ocaml
olrion has joined #ocaml
lament has joined #ocaml
Smerdyakov has quit ["goodbye"]
foxster has quit [Read error: 110 (Connection timed out)]
emu_ has joined #ocaml
emu has quit [Read error: 104 (Connection reset by peer)]
mattam_ has joined #ocaml