00:23
mrvn has quit [Ping timeout: 14400 seconds]
01:19
Kinners has joined #ocaml
01:39
travisbemann has joined #ocaml
01:41
<
travisbemann >
does anyone know of a lisp that is easily embeddable in OCaml?
01:54
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
01:56
lament has joined #ocaml
02:06
reltuk has joined #ocaml
02:10
rhil_work has quit [Remote closed the connection]
02:10
rhil_work has joined #ocaml
02:13
travisbemann has quit ["leaving"]
02:37
Smerdyakov has joined #ocaml
02:54
reltuk has quit ["Client exiting"]
03:07
rhil_work is now known as rhil_out
03:19
polin8 has quit ["Now
_that's_ a good cup of coffee."]
03:19
polin8 has joined #ocaml
04:02
Smerdyakov has quit ["sleep"]
04:07
whee has joined #ocaml
04:09
reltuk has joined #ocaml
04:36
Kinners has left #ocaml []
04:41
reltuk has quit ["Client exiting"]
04:42
mrvn has joined #ocaml
04:47
travisbemann has joined #ocaml
05:07
lament has quit ["PORK IS NOT A VERB"]
05:10
kunphuzil has joined #ocaml
05:12
<
kunphuzil >
So why should I learn O'Caml ? :)
05:18
<
whee >
kunphuzil: why not? :D
05:19
<
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
05:20
<
whee >
it's worth learning
05:20
<
whee >
I use it when I want to do things with a functional style, yet still have the option of doing it differently
05:21
<
whee >
and it's fast, which is a plus
05:21
<
kunphuzil >
You can do it functionally or a different way?
05:22
<
whee >
you could go with a pure functional style, or imperatively
05:22
<
whee >
plus the object model is full featured if you like OO
05:23
<
kunphuzil >
how is that possible all in one langugage?
05:23
<
whee >
there's no monads like haskell but you could simulate them if you're crazy :)
05:24
<
kunphuzil >
Heh, yeah I know some haskell..
05:38
kunphuzil has left #ocaml []
05:39
<
mrvn >
Only thing missing is call/cc
05:41
whee has quit [Read error: 104 (Connection reset by peer)]
05:47
mattam has joined #ocaml
06:53
rhil_out has quit [Remote closed the connection]
06:53
rhil has joined #ocaml
06:54
travisbemann has quit ["leaving"]
08:35
whee has joined #ocaml
08:41
rhil is now known as rhil_zzz
08:52
systems has joined #ocaml
09:28
__DL__ has quit [Remote closed the connection]
09:29
karryall has joined #ocaml
09:54
systems has quit [Read error: 60 (Operation timed out)]
10:29
olrion has joined #ocaml
11:27
ad__ has joined #ocaml
11:30
ad_ has quit [Read error: 110 (Connection timed out)]
11:31
det has joined #ocaml
12:22
det has quit ["ircII EPIC4-1.1.2 -- Are we there yet?"]
12:29
<
vegai >
hmm, what was the datatype for very long numbers again..
12:31
<
vegai >
not a primitive type at least
12:36
<
vegai >
ok, yes. 64 bits should be more than enough for anybody
12:38
<
karryall >
and there's the Num library, with arbitrary precision numbers
12:45
<
vegai >
ah, even better
12:47
<
vegai >
# Num.num_of_int 1;;
12:47
<
vegai >
Reference to undefined global `Num'
12:48
<
karryall >
it's not linked with the toplevle
12:49
<
karryall >
#load "num.cma" ;;
12:50
<
mrvn >
Get a proper CPU and int has 63 bits.
13:00
<
vegai >
thus breaking all software?
13:33
<
mrvn >
Everything works fine here.
13:33
karryall has quit [Read error: 104 (Connection reset by peer)]
13:48
olrion has quit [Read error: 54 (Connection reset by peer)]
13:54
Vincenz has joined #ocaml
14:19
Smerdyakov has joined #ocaml
14:48
systems has joined #ocaml
15:18
systems has quit ["Client Exiting"]
15:27
lus|wazze has joined #ocaml
16:52
nerve has joined #ocaml
16:52
<
nerve >
can anyone help me compile ocaml?
16:53
<
nerve >
i keep getting errors on make world
16:53
<
whee >
what kind of errors?
16:53
<
nerve >
its five lines long
16:53
<
nerve >
is it ok to paste?
16:53
<
nerve >
make[2]:
*** [cltkImg.o] Error 1
16:53
<
nerve >
make[2]: Leaving directory `/home/nerve/ocaml-3.06/otherlibs/labltk/support'
16:53
<
nerve >
make[1]:
*** [all] Error 2
16:53
<
nerve >
make[1]: Leaving directory `/home/nerve/ocaml-3.06/otherlibs/labltk'
16:53
<
nerve >
make:
*** [otherlibraries] Error 2
16:54
<
whee >
what's right before those lines?
16:54
<
nerve >
gcc -fno-defer-pop -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -I../../../byterun -I/usr/X11R6/include -fPIC -c cltkImg.c
16:54
<
nerve >
cltkImg.c: In function `camltk_setimgdata_native':
16:54
<
nerve >
cltkImg.c:102: too few arguments to function `Tk_PhotoPutBlock
16:55
<
whee >
what version of tk do you have?
16:55
<
whee >
tk, as in tcl/tk
16:55
<
nerve >
ive never heard of tcl/tk how do i find out?
16:57
<
whee >
I guess you could look for tk.h in one of your include paths and grab TK_VERSION from there
16:57
<
whee >
ocaml's configure might tell you somewhere in there
16:59
<
nerve >
im not even sure if its installed
16:59
<
whee >
well if you don't want to use tk you can ./configure -no-tk and recompile
16:59
<
nerve >
is it important
16:59
<
whee >
I have a feeling you've got an older version of tcl/tk that isn't supported or some such
16:59
<
whee >
it's for guis
16:59
<
nerve >
/usr/include/tk.h
17:00
<
nerve >
thats where it is
17:00
<
whee >
grep TK_VERSION /usr/include/tk.h
17:00
<
nerve >
how do i grab TK_VERSION from there?
17:00
<
nerve >
its been four months and i still havent figured out what grep does :P
17:01
<
nerve >
four months since i switched to nix
17:01
<
whee >
hold on, I think that's a known problem in 3.06 fixed in cvs
17:05
<
whee >
er, wait that got wrapped wrong
17:06
<
mrvn >
grep does simple pattern matching
17:07
<
whee >
okay, redownload that patch :)
17:07
<
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
17:11
<
nerve >
Hunk #1 FAILED at 335.
17:11
<
nerve >
1 out of 1 hunk FAILED -- saving rejects to file /home/nerve/ocaml-3.06/otherlibs/labltk/support/cltkImg.c.rej
17:11
<
nerve >
is that ok?
17:12
<
whee >
it should work, hrmf heh
17:12
<
whee >
I guess youc ould do it by hand
17:12
<
nerve >
how do i do that lol
17:13
<
whee >
look at the patch and look at the source and decide what needs to be changed :)
17:14
<
nerve >
ok it worked the second time around
17:15
<
nerve >
does it matter which file i patch first?
17:15
<
nerve >
yep you bet
17:15
<
whee >
the patch has them in a certain order
17:16
<
nerve >
i patched the wrong file first
17:18
<
nerve >
is there any easier way to go about this problem?
17:18
<
nerve >
all im trying to do is install mldonkey
17:18
<
nerve >
didnt think it would be this hard :P
17:18
<
whee >
depends if mldonkey actually uses tk
17:19
<
nerve >
well it has a gui
17:19
<
nerve >
that i want to use, so i figure it probably does
17:19
<
whee >
is it compiling now?
17:19
<
nerve >
no ocaml is require
17:19
<
whee >
no, is ocaml compiling
17:19
<
whee >
same problem?
17:19
<
nerve >
same error after patchign the first file
17:20
<
nerve >
the second file i dont know how to edit by hand
17:21
<
whee >
grab those and replace whatever's in your tree now
17:27
olrion has joined #ocaml
17:29
<
nerve >
heh its compiling i think
17:36
BQF has joined #ocaml
17:37
BQF has left #ocaml []
17:42
rhil_zzz is now known as rhil
17:42
olrion is now known as olri{eat}
18:12
<
vegai >
I wonder if a help-function would be feasible in ocaml environment
18:12
<
vegai >
not unlike in python
18:12
lament has joined #ocaml
18:12
<
whee >
probably could add something like it with camlp4
18:12
olri{eat} is now known as olrion
18:13
<
vegai >
it's surprisingly helpful
18:13
<
vegai >
pun not intended
18:13
asqui has quit [Read error: 104 (Connection reset by peer)]
18:14
<
vegai >
this would require all the libraries to be documented in a unified way... are they?
18:14
<
vegai >
ok, so that
18:14
<
lus|wazze >
look up ocamldoc
18:14
<
vegai >
...'s not a problem
18:15
asqui has joined #ocaml
18:18
mrvn_ has joined #ocaml
18:20
<
vegai >
I wonder how much reflection this language supports...
18:24
* Smerdyakov
steps on reflection. :-)
18:24
<
vegai >
it would help with this help-thingie
18:32
mrvn has quit [Read error: 110 (Connection timed out)]
18:42
Smerdyakov has quit ["ok"]
19:08
nerve has quit [Remote closed the connection]
19:21
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
19:22
lus|wazze has joined #ocaml
19:45
Vincenz has quit [Success]
19:46
rhil is now known as rhil_ATL
19:49
Smerdyakov has joined #ocaml
20:12
Smerdyakov has quit ["I go"]
20:15
lament has quit ["TOKI PONA LI PONA ALA"]
20:40
ad__ has quit ["Fermeture du client"]
20:48
TachYon has joined #ocaml
21:08
olrion has quit [Read error: 54 (Connection reset by peer)]
21:55
Smerdyakov has joined #ocaml
22:06
TachYon has quit [Remote closed the connection]
22:27
reltuk has joined #ocaml
22:43
olrion has joined #ocaml
22:56
lament has joined #ocaml
23:14
Smerdyakov has quit ["goodbye"]
23:18
foxster has quit [Read error: 110 (Connection timed out)]
23:28
emu_ has joined #ocaml
23:29
emu has quit [Read error: 104 (Connection reset by peer)]
23:55
mattam_ has joined #ocaml