flux__ changed the topic of #ocaml to: OCaml 3.09.2 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/
Cenobit has joined #ocaml
<Cenobit> hello #
<Cenobit> does anybody of you tried to use F# ??
<ketty> not me...
hikozaemon has joined #ocaml
<Smerdyakov> I've used F# for a complete project inside Microsoft Research.
Cenobit has quit ["Cenobit has no reason"]
bohanlon has quit [Read error: 104 (Connection reset by peer)]
mikeX has joined #ocaml
Smerdyakov has quit ["Leaving"]
mikeX_ has joined #ocaml
love-pingoo has joined #ocaml
mikeX has quit [Read error: 110 (Connection timed out)]
mikeX_ is now known as mikeX
love-pingoo has quit ["Connection reset by by pear"]
Sir_Diddymus has joined #ocaml
ketty has quit [Read error: 113 (No route to host)]
ketty has joined #ocaml
debo has joined #ocaml
debo has left #ocaml []
ketty has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
mikeX has quit ["leaving"]
Snark has joined #ocaml
hikozaemon has quit ["Leaving..."]
bzzbzz has quit ["leaving"]
m3ga has joined #ocaml
<metaperl> I'm confused about this
<metaperl> let init stack n = { ind=0; size=n; elts =[||] } ;;
<metaperl> what do the vertical bars do?
<Snark> they mean it's an array
<Snark> # let foo = [||];;
<Snark> val foo : 'a array = [||]
<Snark> # let bar = [];;
<Snark> val bar : 'a list = []
<metaperl> ok thanks
m3ga has quit ["disappearing into the sunset"]
Sir_Diddymus has quit [Read error: 110 (Connection timed out)]
Snark has quit ["Leaving"]
Sir_Diddymus has joined #ocaml
chessguy has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
chessguy2 has joined #ocaml
Smerdyakov has joined #ocaml
[1]chessguy has joined #ocaml
chessguy has quit [Connection timed out]
love-pingoo has quit ["Leaving"]
rossberg has quit [Remote closed the connection]
mikeX has joined #ocaml
chessguy2 has quit [Connection timed out]
Sir_Diddymus has quit [Read error: 148 (No route to host)]
jcreigh has joined #ocaml
jcreigh has quit ["Do androids dream of electric sheep?"]
love-pingoo has joined #ocaml
mikeX has quit ["leaving"]
finelemon has joined #ocaml
finelemo2 has joined #ocaml
mikeX has joined #ocaml
finelemo1 has quit [Read error: 110 (Connection timed out)]
finelemon has quit [Read error: 110 (Connection timed out)]
mikeX has quit [Remote closed the connection]
Snark has joined #ocaml
_JusSx_ has joined #ocaml
ketty has joined #ocaml
kral has joined #ocaml
<woggle> Argh.
_JusSx_ has quit ["leaving"]
Snark has quit ["Leaving"]
Purice has joined #ocaml
Purice has quit [Client Quit]
Purice has joined #ocaml
Purice has left #ocaml []
Revision17 has quit ["Ex-Chat"]
[1]chessguy has quit [Connection timed out]
Schmurtz has quit [Remote closed the connection]
Purice has joined #ocaml
Purice has left #ocaml []
Purice has joined #ocaml
Schmurtz has joined #ocaml
kral has quit ["Live fast, die young."]
Purice has quit ["Leaving"]
metaperl_ has joined #ocaml
metaperl has quit [Connection timed out]
metaperl_ is now known as metaperl
* ketty gets bitten by polymorphic variants ^^
CosmicRay has joined #ocaml
love-pingoo has quit ["Connection reset by by pear"]
jer has joined #ocaml
<jer> i've got a function with a couple optional params, one of which can only be a string and i'm getting an error about the type being an 'a option. now if i hint it (let foo ?(str_param : string) ... = ...) i still get that same error. i know i'm overlooking something obvious, but i can't see it; anyone have any ideas?
<ketty> jer: could you paste an example?
<jer> sure
<ketty> on for example pastebin.com..
<jer> nod
<jer> i get a: "This pattern matches values of type string but is here used to match values of type 'a option"
<ketty> ahh ...
<ketty> optional parameters have type 'something option
<jer> oh right
<ketty> but not if you use fall backs or whatever it is called
<ketty> let create_foo ?(n="") = ...
<jer> right, thanks
<ketty> no problem :)
<Smerdyakov> Optional parameters make me puke.
* ketty likes them :)
bohanlon has joined #ocaml
<jer> well i make no claims that this is the best way to do what i want, but at this point, i'm not concerned about the best way, just getting the prototype done =]
shachaf has quit [Client Quit]
CosmicRay has quit ["Client exiting"]
mikeX has joined #ocaml