dylan changed the topic of #ocaml to: OCaml 3.09.1 available! Archive of Caml Weekly News: http://sardes.inrialpes.fr/~aschmitt/cwn/ | A free book: http://cristal.inria.fr/~remy/cours/appsem/ | Mailing List: http://caml.inria.fr/bin/wilma/caml-list/ | Cookbook: http://pleac.sourceforge.net/
smimou has quit ["bli"]
alcojol has joined #ocaml
Axioplase has joined #ocaml
<Axioplase> Hi !
<ketty> hello
<Axioplase> isn't calm supposed to unify something like that: This expression has type Ast.ast_pattern |ID(m,c,d,l)-> p_nfast_cl([Ast_pattern_name m],[],c,d,l,l) * 'a list but is here used with type Ast.ast_pattern list * string list
<Axioplase> argh..
<Axioplase> This expression has type Ast.ast_pattern * 'a list but is here used with type Ast.ast_pattern list * string list
<Axioplase> Why wouldn't it just infer 'a <=> string ?
<ketty> that is not the problem
<ketty> the problem is ast_pattern vs. ast_pattern list
<Axioplase> ha damn.
<ketty> :)
<Axioplase> hadn't read that :/
<Axioplase> thanks
<ketty> np
dbueno has joined #ocaml
<dbueno> With module type AOEU = <something>, is there a <something> that means "the signature associated with a certain module"?
<dbueno> So module Foo has a signature... can I get that signature and make a module type out of it?
<ketty> i think you can associate several signatures to the same module...
<zmdkrbou> except if you have defined explicitely the signature for module Foo, i don't think so
<zmdkrbou> isn't it a kind of "typeof" that you want ?
alcojol has quit ["KVIrc 3.2.0 'Realia'"]
cratuki has joined #ocaml
<cratuki> I'm using ocaml on ubuntu linux. Is there an easy way to get it to make simple-tone sounds to my soundcard?
<cratuki> I just want to be able to say "44000 for pitch, 2000ms long, this volume - go for it!"
* zmdkrbou hands beep to cratuki
<zmdkrbou> i don't think there are ocaml bindings for alsa ...
<zmdkrbou> there's ocaml-sdl if you want
Axioplase has quit ["leaving"]
<cratuki> zmdkrbou: I'll check out alsa. I don't really care what platform I use, I just don't want to have to write and understand how an oscillator works in order to do what I think is probably a fairly simple requirement :)
<cratuki> My palm can do it :)
<cratuki> And my phone
<cratuki> But I can't seem to find a desktop dev platform that can :)
ertai has quit [Read error: 104 (Connection reset by peer)]
cratuki has left #ocaml []
ertai has joined #ocaml
jcreigh has joined #ocaml
jcreigh has quit [Client Quit]
ertai has quit [Success]
ertai has joined #ocaml
ertai has quit [Remote closed the connection]
mikeX has quit ["zz"]
ertai has joined #ocaml
ertai has quit [Read error: 104 (Connection reset by peer)]
ertai has joined #ocaml
ertai has quit [Read error: 104 (Connection reset by peer)]
ertai has joined #ocaml
ertai has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
Tachyon76 has joined #ocaml
Smerdyakov has quit ["Leaving"]
<pango> (to cratuki that's gone : Graphics.sound)
<love-pingoo> I just came back from holidays, and I've already discovered something new :p thanks pango..
<pango> ;)
_JusSx_ has joined #ocaml
pango is now known as pangoafk
<_JusSx_> hey ppl what are you coding?
<ayrnieu> nothing at the moment. Why do you ask?
<flux__> just to strike up conversation?-)
pangoafk is now known as pango
pauldia has joined #ocaml
<flux__> I'm writing a program to count coins from a flatbed scanned image.. but it's in c++, I think the c++ compiler might still have an edge in the efficiency ;)
<pauldia> hello, can you convert a sum type to a string?
<pauldia> ... more specific: convert the constructor name to a string
<pango> with a match, and no fire
<pauldia> ok.
<ski> # function None -> "None" | Some _ -> "Some";;
<ski> - : 'a option -> string = <fun>
<pauldia> I'm trying to generalize exceptions thrown from the curl lib. And curl lib has *a lot* of exception variants.
<ayrnieu> Failure "curl exception" ?
<pauldia> curl exception def: exception CurlException of (curlCode * int * string)
<flux__> libraries really should provide means to convert such curlCodes into strings
<pauldia> is there some other way i havent thought of to generalize exceptions and be able to print them all nicly?
<pauldia> pango: thanks, looking in to it
<pango> pauldia: Did you check Printexc module ?
julbouln has quit []
<pauldia> pango: hm that looks right. I'll try it. thanks!
Revision17 has quit ["Ex-Chat"]
<pauldia> I dont get Printexc. I have this: exception E of int * string;;
<pauldia> .... oh, wait it worked.
Revision17 has joined #ocaml
julbouln has joined #ocaml
julbouln has quit []
julbouln has joined #ocaml
julbouln has quit [Remote closed the connection]
julbouln has joined #ocaml
julbouln has quit [Remote closed the connection]
julbouln has joined #ocaml
revision17_ has joined #ocaml
alcojol has joined #ocaml
julbouln has quit [herbert.freenode.net irc.freenode.net]
pauldia has quit [herbert.freenode.net irc.freenode.net]
slipstream has quit [herbert.freenode.net irc.freenode.net]
joshcryer has quit [herbert.freenode.net irc.freenode.net]
cmeme has quit [herbert.freenode.net irc.freenode.net]
gim has quit [herbert.freenode.net irc.freenode.net]
julbouln has joined #ocaml
pauldia has joined #ocaml
slipstream has joined #ocaml
joshcryer has joined #ocaml
cmeme has joined #ocaml
gim has joined #ocaml
cmeme has quit [Connection reset by peer]
cmeme has joined #ocaml
Revision17 has quit [Read error: 110 (Connection timed out)]
__DL__ has joined #ocaml
joshcryer has quit [Connection timed out]
slipstream-- has joined #ocaml
joshcryer has joined #ocaml
slipstream has quit [Read error: 110 (Connection timed out)]
ramkrsna has joined #ocaml
rk_afk has left #ocaml []
Skal has joined #ocaml
smimou has joined #ocaml
Schmurtz has joined #ocaml
trace has joined #ocaml
trace is now known as dvekravy
Tachyon76 has quit [Remote closed the connection]
Skal has quit [Remote closed the connection]
_JusSx__ has joined #ocaml
Skal has joined #ocaml
mecolin has joined #ocaml
_JusSx_ has quit [Read error: 110 (Connection timed out)]
pango has quit [Read error: 110 (Connection timed out)]
mecolin_ has quit [Read error: 110 (Connection timed out)]
mikeX has joined #ocaml
pango has joined #ocaml
alcojol has quit [Remote closed the connection]
_JusSx__ is now known as _JusSx_
__DL__ has quit ["Bye Bye"]
rillig has joined #ocaml
Smerdyakov has joined #ocaml
_jol_ has joined #ocaml
_jol_ has quit ["leaving"]
pauldia has quit [Read error: 110 (Connection timed out)]
pango is now known as pangoafk
pangoafk is now known as pango
Schmurtz has quit ["Dodo !"]
rillig has quit ["exit(EXIT_SUCCESS)"]
pauldia has joined #ocaml
mikeX has quit ["leaving"]
Bigb[a]ng is now known as Bigbang
piggybox has joined #ocaml
Schmurtz has joined #ocaml
love-pingoo has quit [Read error: 110 (Connection timed out)]
ski_ has joined #ocaml
ski has quit [Read error: 110 (Connection timed out)]
ski_ is now known as ski
Bigbang is now known as Bigb[a]ng
pauldia has quit [Read error: 110 (Connection timed out)]
Quinthius_ has joined #ocaml
Schmurtz has quit ["Plouf !"]
Quinthius__ has quit [Read error: 110 (Connection timed out)]
_JusSx_ has quit ["leaving"]
rillig has joined #ocaml
jgrimes has quit [Remote closed the connection]
smimou has quit ["bli"]