SEcki has quit [Remote host closed the connection]
fraggle_ has quit [Ping timeout: 250 seconds]
fraggle_ has joined #ocaml
ccasin has quit [Quit: Leaving]
tmaeda has quit [Ping timeout: 260 seconds]
tmaeda has joined #ocaml
ccasin has joined #ocaml
ulfdoz has quit [Ping timeout: 240 seconds]
unkanon has joined #ocaml
eaburns has joined #ocaml
<unkanon>
I'm trying to compile glMLite
<unkanon>
I downloaded it and untarred it
<unkanon>
I do sudo make
<unkanon>
but it fails:
<unkanon>
varray.wrap.c:65:20: error: GL/glx.h: No such file or directory
<unkanon>
I bet that's an easy peasy fix
<adrien>
you need headers for mesa probably
<unkanon>
oh mesa
<adrien>
(if you're on linux that is)
<unkanon>
i'm on a mac
<adrien>
mesa-dev or something like that
<unkanon>
but the tutorial did mention mesa
<unkanon>
oh apt-get it?
<adrien>
hmmm
<adrien>
on mac?
<unkanon>
yep. I wanna do ocaml + opengl on a mac :)
<adrien>
I really don't know for mac os x, I think the "dev" tools are separate and if you have make/gcc you've probably installed part of them, so now you need to find which "package" it comes from
<unkanon>
it = mesa ?
<unkanon>
I wonder why I need this "mesa" thing though
<unkanon>
I can run opengl code from other languages fine
<adrien>
oh, sorry, it maybe won't be called mesa
<adrien>
I jsut don't know at all the name
<unkanon>
ok, I'll google the error, message
<unkanon>
oops, don't know what that comma is doing there
<adrien>
basically it's headers for opengl, on linux it'd be "mesa-dev" typically, on mac os x, if you can't find the info somewhere else, load the package manager or the list of packages for development and get what relates to opengl and headers/development
<unkanon>
they say the headers come with an installation of Xcode
<unkanon>
which is the devplatform for mac
<unkanon>
problem is, I already have Xcode installed
<unkanon>
soooo I think I'll as on #macosx
<adrien>
it's also possible that the headers are somewhere else or under a different name
<adrien>
I'm pretty sure there are people here who've done opengl on mac so you can probably wait (but it's the channel sleep-time so there aren't that many people)
<unkanon>
okay I found my header files!
<unkanon>
well, somebody else at #macosx found them for me
<unkanon>
now I need to find a way to tell make where they are
ccasin has quit [Quit: Leaving]
<xl0>
Do I get it right that one needs to use the string module to solve the second problem from the first ora chapter?
<xl0>
It is not introduced before 100 pages later.
<xl0>
Or is there a simple way to split characters from strings that I've missed?
<adrien>
afaict (late and horrible headache), not realy: you need to test if two strings are equal and you can do this with =
<adrien>
the only thing you'll need seems to be String.length
<xl0>
It seems that I'd need to be able to dissect strings into individial characters to build a lexical tree.
<adrien>
I can't think at all right now, but if you want to access the i-th character of a string s, use s.[i]
eaburns has quit [Quit: leaving]
<adrien>
also, the doc for the String module is quite easy, it won't take much thinking to understand so if something is missing, you can jump there directly
<adrien>
good night
<xl0>
Thank you.
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
eaburns has joined #ocaml
Amorphous has quit [Ping timeout: 272 seconds]
caligula_ has joined #ocaml
caligula has quit [Ping timeout: 264 seconds]
Amorphous has joined #ocaml
drunK has quit [Remote host closed the connection]
banisterfiend has quit [Ping timeout: 264 seconds]
<opla2>
how does one define an interface that in turn implements 2 other inferfaces?
ftrvxmtrx has joined #ocaml
Pip has joined #ocaml
Asmadeus has joined #ocaml
joewilliams is now known as joewilliams_away
banisterfiend has joined #ocaml
LeNsTR|emacs has joined #ocaml
LeNsTR|emacs has left #ocaml []
LeNsTR has joined #ocaml
Pip has quit [Quit: It's not my problem.]
kmicinski has joined #ocaml
edwin has joined #ocaml
kmicinski has quit [Ping timeout: 264 seconds]
ygrek has joined #ocaml
ski has quit [Ping timeout: 264 seconds]
ski has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
avsm has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
<gildor>
ygrek: more info about hudson broken links ?
<gildor>
too bad, I hope he won't stay stuck in this situation
<gildor>
I think he got banned due to too many invalid login
<ygrek>
btw imho the current aggressively red forge theme is worse than previous one..
<gildor>
ygrek: it can be improve, any suggestion are welcomed
<ygrek>
revert to the previous one :)
<gildor>
ygrek: you can do this for your account into your setting
<ygrek>
oh, just logged in - it is ok
<gildor>
ygrek: what is your problem with the theme ?
<ygrek>
no problem, I just think that the default anonymous theme is too aggressive (in color)
<gildor>
do you have an idea how to change the color to be less aggressive ?
<ygrek>
I like my current (when logged in) theme more - with silver background - it is called "default theme" in settings
<gildor>
yes, this is the one from fusionforge, but it lacks a bit of OCaml identity
<gildor>
ygrek: I can change background colors et al, I just would like to make the OCaml Forge theme different enough to the FusionForge theme
<ygrek>
maybe the "sand" color as in oasis front page? (anyway it is my subjective opinion)
<gildor>
that is an option
<gildor>
(to be honest, I am really bad at color scheme)
<gildor>
the pb with the sand color is that I take it from ocamlcore.com, and I don't want people to think that I am trying to convert the OCaml Forge into a commercial advertisement for my company
<edwin>
(both the project itself, and the way the welcome page looks like)
<gildor>
edwin: I know google code, but we don't have the same people behind the scene
<gildor>
I mean that google have some webdesigner -- I don't ;-)
<edwin>
:)
<edwin>
I'd say don't waste too much on design, getting oasis-db up and running would be far more interesting for me
<gildor>
ah thx, for the change of subject
<gildor>
I can focus on another windows of my workspace ;-)
<edwin>
the bundled tarball looks good, especially if you start using it with oasis itself. Right now I need to download 2 or 3 other tarballs, build and install them just to build oasis
<edwin>
does oasis support subprojects? or what will be the "script to compile everything"?
<adrien>
I believe there are a lot of poorly worded sentences and I hope I can get in touch with fusionforge next week, lots of low-hanging fruits
<adrien>
and will leave soon too: happy new year =)
<adrien>
(one thing done a lot in the forges is: write "Project Description" instead of "Description", and a general abuse of caps)
ftrvxmtrx has joined #ocaml
Pip has joined #ocaml
<rixed_>
Anything better than Facile for CSP in OCaml ?
almaisan-away is now known as al-maisan
al-maisan is now known as almaisan-away
almaisan-away is now known as al-maisan
al-maisan is now known as almaisan-away
dark has joined #ocaml
<dark>
may I say that in ocaml, all operators are left associative? (I see that 1 - 2 - 3 = (1 - 2) - 3, 12 / 2 / 3 = (12 / 2) / 3, ..)
<mrvn>
no
<dark>
::?
trch has left #ocaml []
<dark>
i see that a :: b :: c is a :: (b :: c)
<dark>
but is :: an operator?
<alpounet>
it's a special operator
<alpounet>
not like + for example
<mfp>
dark: (**), (^), (@), and other operators having these as the prefix (e.g (@@) or (^^)) are right-associative
<dark>
oh. thanks
<alpounet>
dark, for example, you can't do:
<alpounet>
# let foo f = f 0 [1;2];;
<alpounet>
# foo (::) ;;
<dark>
oh, ok
<dark>
is + left associative? (i guess its associativity may be undefined without much trouble)
<dark>
oh, the ocaml manual has a part on "operators" at "the ocaml language"
<dark>
ok, found the associativity table, +, -, *, .. are left associative
Yoric has quit [Quit: Yoric]
fraggle_ has quit [Read error: Operation timed out]
fraggle_ has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
ftrvxmtrx has quit [Ping timeout: 246 seconds]
ftrvxmtrx has joined #ocaml
mnabil_ has joined #ocaml
rixed_ has quit [Ping timeout: 246 seconds]
rks has joined #ocaml
lamawithonel has joined #ocaml
Pip has quit [Quit: It's not my problem.]
lamawithonel has quit [Read error: Connection reset by peer]
lamawithonel has joined #ocaml
<thelema_>
alpounet: (::) isn't a function, it's a variant constructor
<banisterfiend>
thelema_: stop talking fancy
edwin has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 240 seconds]
<hcarty>
banisterfiend: It may be fancy talk, but it's rather important and somewhat surprising to newcomers fancy talk
<dark>
thelema_, is :: really a constructor?
<dark>
i see haskell has this, uhm, concept, of infix constructors
<dark>
it seems :: is lonely in ocaml then
<dark>
also if I have type a = Something of int, I can't use Something as an int -> a function in ocaml. But I can use (::) as a function? why is that? (Btw (::);; at interpreter here gives syntax error..)
<dark>
oh, that foo (::) code does not work, alpounet..
<hcarty>
dark: I'm fairly certain you can't use ( :: ) as a function
<hcarty>
dark: I think that was part of alpounet's intention
<hcarty>
In the example, that is
<dark>
oh. uhm. well I should. ._. the constructor-used-as-function model is, erm, nice