00:15
Cenobit has joined #ocaml
00:15
<
Cenobit >
does anybody of you tried to use F# ??
00:23
hikozaemon has joined #ocaml
00:31
<
Smerdyakov >
I've used F# for a complete project inside Microsoft Research.
00:48
Cenobit has quit ["Cenobit has no reason"]
04:30
bohanlon has quit [Read error: 104 (Connection reset by peer)]
04:37
mikeX has joined #ocaml
05:16
Smerdyakov has quit ["Leaving"]
06:16
mikeX_ has joined #ocaml
06:16
love-pingoo has joined #ocaml
06:18
mikeX has quit [Read error: 110 (Connection timed out)]
06:22
mikeX_ is now known as mikeX
06:39
love-pingoo has quit ["Connection reset by by pear"]
06:45
Sir_Diddymus has joined #ocaml
06:50
ketty has quit [Read error: 113 (No route to host)]
06:58
ketty has joined #ocaml
07:23
debo has joined #ocaml
07:28
debo has left #ocaml []
07:37
ketty has quit [Read error: 110 (Connection timed out)]
08:08
love-pingoo has joined #ocaml
09:00
mikeX has quit ["leaving"]
09:19
Snark has joined #ocaml
09:28
hikozaemon has quit ["Leaving..."]
10:25
bzzbzz has quit ["leaving"]
11:07
m3ga has joined #ocaml
11:20
<
metaperl >
I'm confused about this
11:20
<
metaperl >
let init stack n = { ind=0; size=n; elts =[||] } ;;
11:20
<
metaperl >
what do the vertical bars do?
11:22
<
Snark >
they mean it's an array
11:22
<
Snark >
# let foo = [||];;
11:22
<
Snark >
val foo : 'a array = [||]
11:22
<
Snark >
# let bar = [];;
11:22
<
Snark >
val bar : 'a list = []
11:26
<
metaperl >
ok thanks
11:39
m3ga has quit ["disappearing into the sunset"]
11:52
Sir_Diddymus has quit [Read error: 110 (Connection timed out)]
12:00
Snark has quit ["Leaving"]
13:14
Sir_Diddymus has joined #ocaml
13:41
chessguy has joined #ocaml
13:58
slipstream has joined #ocaml
14:10
slipstream-- has quit [Read error: 110 (Connection timed out)]
14:56
chessguy2 has joined #ocaml
15:08
Smerdyakov has joined #ocaml
15:09
[1]chessguy has joined #ocaml
15:10
chessguy has quit [Connection timed out]
15:14
love-pingoo has quit ["Leaving"]
15:26
rossberg has quit [Remote closed the connection]
15:27
mikeX has joined #ocaml
15:28
chessguy2 has quit [Connection timed out]
15:52
Sir_Diddymus has quit [Read error: 148 (No route to host)]
16:04
jcreigh has joined #ocaml
16:24
jcreigh has quit ["Do androids dream of electric sheep?"]
16:39
love-pingoo has joined #ocaml
16:41
mikeX has quit ["leaving"]
17:00
finelemon has joined #ocaml
17:06
finelemo2 has joined #ocaml
17:13
mikeX has joined #ocaml
17:18
finelemo1 has quit [Read error: 110 (Connection timed out)]
17:18
finelemon has quit [Read error: 110 (Connection timed out)]
17:18
mikeX has quit [Remote closed the connection]
17:53
Snark has joined #ocaml
18:36
_JusSx_ has joined #ocaml
18:44
ketty has joined #ocaml
18:53
kral has joined #ocaml
19:40
_JusSx_ has quit ["leaving"]
19:57
Snark has quit ["Leaving"]
20:24
Purice has joined #ocaml
20:27
Purice has quit [Client Quit]
20:27
Purice has joined #ocaml
20:28
Purice has left #ocaml []
20:46
Revision17 has quit ["Ex-Chat"]
20:49
[1]chessguy has quit [Connection timed out]
20:50
Schmurtz has quit [Remote closed the connection]
21:11
Purice has joined #ocaml
21:11
Purice has left #ocaml []
21:12
Purice has joined #ocaml
21:15
Schmurtz has joined #ocaml
21:37
kral has quit ["Live fast, die young."]
21:40
Purice has quit ["Leaving"]
21:54
metaperl_ has joined #ocaml
22:16
metaperl has quit [Connection timed out]
22:16
metaperl_ is now known as metaperl
22:33
* ketty
gets bitten by polymorphic variants ^^
22:40
CosmicRay has joined #ocaml
22:40
love-pingoo has quit ["Connection reset by by pear"]
22:44
jer has joined #ocaml
22:45
<
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?
22:49
<
ketty >
jer: could you paste an example?
22:49
<
ketty >
on for example pastebin.com..
22:51
<
jer >
i get a: "This pattern matches values of type string but is here used to match values of type 'a option"
22:53
<
ketty >
optional parameters have type 'something option
22:54
<
ketty >
but not if you use fall backs or whatever it is called
22:54
<
ketty >
let create_foo ?(n="") = ...
22:55
<
jer >
right, thanks
22:55
<
ketty >
no problem :)
22:56
<
Smerdyakov >
Optional parameters make me puke.
22:57
* ketty
likes them :)
23:00
bohanlon has joined #ocaml
23:01
<
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 =]
23:12
shachaf has quit [Client Quit]
23:32
CosmicRay has quit ["Client exiting"]
23:53
mikeX has joined #ocaml