gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
mjonsson has quit [Quit: Leaving]
mjonsson has joined #ocaml
<adrien> I've started to actually experiment with lablgtk2 + React (as in "FRP") and it's definitely doable, probably quite easy actually, and I think I'm already enjoying it :-)
<adrien> sample code: http://notk.org/~adrien/webkit_test.ml.html , a web browser which will output to stdout the page's title and load progress
oriba has quit [Remote host closed the connection]
oriba has joined #ocaml
oriba has quit [Remote host closed the connection]
aj2009 has joined #ocaml
brooksbp has quit [Remote host closed the connection]
sepp2k1 has quit [Quit: Leaving.]
aymeric has quit [Quit: aymeric]
aj2009 has quit [Quit: Leaving]
ccasin has quit [Quit: Leaving]
jakedouglas1 has quit [Quit: Leaving.]
Teltariat has joined #ocaml
<Teltariat> hello
ygrek has joined #ocaml
<Teltariat> Is anyone on? I wanted to get an idea of what are excellent examples of OCaml applications whose source new users should read (to get a better sense of how you right good/correct Ocaml apps)
<flux> teltariat, I haven't really read much source of existing ocaml apps
<flux> but, atleast unison seems to work
<Teltariat> how does one pick up the general good practices? I'm totally new to it. I am going through the ocaml-tutorial.org, but I'm wondering what else I should be knowing
<flux> maybe you could take a look at batteries
<flux> it isn't really an application, but it does have a wide set of functions
<flux> also it has an IO subsystem
<Teltariat> oh ok
<Teltariat> looks good, thanks
ttamttam has joined #ocaml
<flux> if you really want to browse source code, perhaps ocamlspotter is something you want to take a look at
Amorphous has quit [Ping timeout: 258 seconds]
yoruk has joined #ocaml
Amorphous has joined #ocaml
f[x] has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 245 seconds]
Associat0r has joined #ocaml
f[x] has joined #ocaml
xmarteo has joined #ocaml
ikaros has joined #ocaml
noj_ has quit [Quit: leaving]
noj has joined #ocaml
valross has quit [Quit: Ex-Chat]
<flux> cool, new version of caml-shift
chee has quit [Ping timeout: 272 seconds]
<flux> apparently it no longer has big warnings about not being production-quality
ikaros_ has joined #ocaml
slunk has quit [*.net *.split]
caligula__ has quit [*.net *.split]
theDroggl_ has quit [*.net *.split]
nimred has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
ikaros has quit [Ping timeout: 276 seconds]
slunk has joined #ocaml
caligula__ has joined #ocaml
theDroggl_ has joined #ocaml
nimred has joined #ocaml
Pepe_ has joined #ocaml
pikachuyann has joined #ocaml
Yoric has joined #ocaml
yoruk has quit [Ping timeout: 272 seconds]
ikaros_ has quit [Quit: Leave the magic to Houdini]
xmarteo has quit [Quit: Debian GNU/Hurd is Good.]
ygrek has joined #ocaml
Anarchos has joined #ocaml
spearalot has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
boscop has joined #ocaml
Teltariat has quit [Quit: leaving]
ASpiwack has quit [Read error: Operation timed out]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
fraggle_ has quit [Remote host closed the connection]
fraggle_ has joined #ocaml
<mfp> yummy
ASpiwack has joined #ocaml
_andre has joined #ocaml
_2x2l has joined #ocaml
oc13 has joined #ocaml
<oc13> Hi, try to use utf8 with camomile.
<oc13> demo camotest.ml is rejected by:
<oc13> philip@klara:~/opt/camomile-0.8.1$ ocamlfind ocamlc -package camomile -linkpkg camotest.ml -o camotest
<oc13> File "camotest.ml", line 5, characters 14-46:
<oc13> Error: Unbound module CamomileLibrary.Default
<oc13> just a plain installation with configure, make, make install
<oc13> any ideas, i am pretty new to ocaml
ASpiwack has quit [Ping timeout: 240 seconds]
<gildor> oc13: where can we find camotest.ml ?
npouillard has quit [Ping timeout: 260 seconds]
<oc13> hi, sorry thought its part of the distibution:
<oc13> it simply failed in the line:
<oc13> module PREF = CamomileLibrary.Default.Camomile
<gildor> I think it is an issue with v0.8.X
<gildor> try module PREF= CamomileLibraryDefault.Camomile
<gildor> (just a guess)
<oc13> i will try it. its uploaded to:
<oc13> thanks gildor, it compiles.
oc13 has left #ocaml []
ASpiwack has joined #ocaml
npouillard has joined #ocaml
Anarchos has joined #ocaml
npouillard has quit [Ping timeout: 272 seconds]
Anarchos has quit [Client Quit]
npouillard has joined #ocaml
npouilla1d has joined #ocaml
Anarchos has joined #ocaml
spearalot has quit [Quit: Computer has gone to sleep]
npouillard has quit [Quit: leaving]
npouilla1d has quit [Quit: leaving]
npouillard has joined #ocaml
npouillard has quit [Quit: leaving]
npouillard has joined #ocaml
_unK has joined #ocaml
ccasin has joined #ocaml
ski has quit [Ping timeout: 264 seconds]
jakedouglas has joined #ocaml
joewilliams_away is now known as joewilliams
ski has joined #ocaml
svenl has quit [Ping timeout: 264 seconds]
jakedouglas has quit [Quit: Leaving.]
Anarchos has quit [Quit: Vision[0.9.7-H-090423]: i've been blurred!]
ben_m has joined #ocaml
<ben_m> Good day!
<ben_m> Can anyone please tell me what the difference between `let () = ...` and `let _ = ...` is?
<ben_m> I see both as some sort of entry point
<flux> the first one says the ... must be of unit type
<flux> the second doesn't care
<ben_m> So () makes more sense as the entry point of your program
<ben_m> Right?
<flux> yes
<ben_m> Awesome, thanks.
<ben_m> Another thing ... I found read_line, read_int and read_float, but no read_char. Why is that and how could I get it?
<ben_m> input_char stdin;; seems to work
jakedouglas has joined #ocaml
ttamttam has quit [Remote host closed the connection]
jsk is now known as jsk-away
ulfdoz has joined #ocaml
Yoric has quit [Quit: Yoric]
test_ has joined #ocaml
ikaros has joined #ocaml
chee has joined #ocaml
slunk has quit [Remote host closed the connection]
slunk has joined #ocaml
test_ has quit [Quit: Page closed]
slunk has quit [Remote host closed the connection]
slunk has joined #ocaml
sepp2k has joined #ocaml
Shion has quit [Quit: leaving]
jakedouglas has quit [Quit: Leaving.]
joewilliams is now known as joewilliams_away
Associat0r has quit [Quit: Associat0r]
Yoric has joined #ocaml
Edward_ has joined #ocaml
joewilliams_away is now known as joewilliams
jakedouglas has joined #ocaml
<ben_m> Anyone using Tuareg experiencing funky stuff when trying to write a match .. with expression?
<adrien> define "funky"? (I'm onky asking, I'm not an emacs user)
<ben_m> After I write | x<space> it jumps back to the 'with'
<ben_m> For any character pretty much.
<ben_m> Can't write anything after | x
<ben_m> turning off abbrev-mode solved that.
oriba has joined #ocaml
Edward_ has quit [Ping timeout: 276 seconds]
<ben_m> I'm trying to write a function that takes a stream and returns a list of valid characters in that stream, but I'm getting an error
<ben_m> source & error here http://sprunge.us/Gdad?ocaml
<ben_m> I'd be grateful about help with the error and criticism of the code :)
_andre has quit [Quit: *pufF*]
<sgnb> ben_m: remove "in" line 8
Edward_ has joined #ocaml
<ben_m> Ah, works now, thanks. Why won't it work with the 'in'?
sepp2k1 has joined #ocaml
sepp2k has quit [Ping timeout: 276 seconds]
<sgnb> it doesn't make sense
<sgnb> if you want to put an "in" here, then you have to put another one after line 9
<sgnb> and put another expression
<ben_m> I thought it's good practice to limit the scope of auxiliary functions
<ben_m> Which is what I tried to do :)
<sgnb> then you should put it inside the function that uses it
<sgnb> (and yep, it is)
<ben_m> oh :D
ccasin has quit [Quit: Leaving]
chee has quit [Quit: <3 =^.^= Ɛ>]
ulfdoz has quit [Ping timeout: 240 seconds]
ccasin has joined #ocaml
Yoric has quit [Quit: Yoric]
jakedouglas has quit [Quit: Leaving.]
Associat0r has joined #ocaml
hto has quit [Ping timeout: 252 seconds]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 258 seconds]
jakedouglas has joined #ocaml
Edward_ has quit [Ping timeout: 272 seconds]
joewilliams is now known as joewilliams_away
ben_m has quit [Quit: woosh]
roconnor has joined #ocaml
<roconnor> Hi, I'm newish at ocaml and I'm trying to build findlib But after configuration, make all gives me an error:
<roconnor> ...binutils-2.20/bin/ld: cannot find -lncurses
<roconnor> when running:
<roconnor> ocamlc -custom -o ocamlfind findlib.cma unix.cma \
<roconnor> ocaml_args.cmo frontend.cmo
<roconnor> but I can't find a reference to ncurses anywhere in the sources of findlib
<roconnor> so I don't even know why it is looking for ncurses
<rwmjones> I'm pretty sure findlib shouldn't need it
Edward_ has joined #ocaml
sepp2k1 has quit [Quit: Leaving.]
ftrvxmtrx has quit [Ping timeout: 276 seconds]
ftrvxmtrx has joined #ocaml
Tianon has quit [Read error: Operation timed out]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
<roconnor> rwmjones: that's what I would have thought too
<roconnor> rwmjones: but libncurses is listed as a dependency in the debian package for findlib
<roconnor> oh it also says:
<roconnor> collect2: ld returned 1 exit status
<roconnor> I don't know what collect2 is
valross has joined #ocaml