01:02
Amorphous has quit [Ping timeout: 276 seconds]
01:13
ztfw has quit [Remote host closed the connection]
01:17
Amorphous has joined #ocaml
01:30
drunK has quit [Remote host closed the connection]
01:33
joewilliams is now known as joewilliams_away
01:33
zubeen has quit [Quit: rcirc on GNU Emacs 23.1.1]
01:40
gnuvince has quit [Remote host closed the connection]
01:40
gnuvince has joined #ocaml
01:52
lamawithonel has joined #ocaml
01:58
lamawithonel has quit [Ping timeout: 255 seconds]
01:59
lamawithonel has joined #ocaml
02:01
valross has joined #ocaml
02:03
lamawithonel_ has joined #ocaml
02:04
lamawithonel has quit [Ping timeout: 255 seconds]
02:06
mfp has quit [Ping timeout: 252 seconds]
02:08
lamawithonel has joined #ocaml
02:09
lamawithonel_ has quit [Ping timeout: 264 seconds]
02:12
lamawithonel has quit [Ping timeout: 255 seconds]
02:20
mfp has joined #ocaml
02:21
carm has joined #ocaml
02:25
thelema has quit [Remote host closed the connection]
02:26
thelema has joined #ocaml
02:53
lamawithonel has joined #ocaml
02:58
lamawithonel has quit [Ping timeout: 255 seconds]
02:58
carm has quit [Ping timeout: 245 seconds]
03:11
carm has joined #ocaml
03:17
thelema has quit [Read error: Connection reset by peer]
03:17
thelema has joined #ocaml
03:26
mjonsson has quit [Remote host closed the connection]
03:27
<
orbitz >
can I pattern match and assign to a variable?
03:28
<
thelema >
let foo = match bar with Some x -> x | None -> 2 in
03:34
<
orbitz >
I was hoping for osmethign like @ in Haskell
03:34
<
orbitz >
thanks thelema
03:36
thelema has quit [Remote host closed the connection]
03:36
thelema has joined #ocaml
04:15
easy4 has joined #ocaml
04:16
lewis1711 has joined #ocaml
04:17
<
lewis1711 >
whats the speed of calling C functions in Ocaml like? I know ocaml is very fast in of itself, but I wish to use a C lib for rendering, meaning I'd have to make a lot of calls to it so the overhead has to be small
04:41
joewilliams_away is now known as joewilliams
04:49
lewis1711 has left #ocaml []
04:59
ulfdoz has joined #ocaml
05:06
easy4 has quit [Quit: easy4]
05:08
joewilliams is now known as joewilliams_away
05:38
philtor has joined #ocaml
06:02
Yoric has joined #ocaml
06:09
ttamttam has joined #ocaml
06:24
ftrvxmtrx has quit [Quit: Leaving]
06:29
ulfdoz has quit [Read error: Operation timed out]
06:29
philtor has quit [Ping timeout: 245 seconds]
06:49
ygrek has joined #ocaml
07:00
ski has joined #ocaml
07:09
ftrvxmtrx has joined #ocaml
07:16
Yoric has quit [Quit: Yoric]
07:28
ikaros has joined #ocaml
07:31
ygrek has quit [Ping timeout: 245 seconds]
07:52
bzzbzz_ has quit [Read error: Connection reset by peer]
07:52
bzzbzz has joined #ocaml
08:08
init1 has joined #ocaml
08:39
Gooffy has joined #ocaml
08:45
rwmjones is now known as rwmjones_biab
08:55
ttamttam has quit [Remote host closed the connection]
08:57
ttamttam has joined #ocaml
08:57
Yoric has joined #ocaml
09:04
rwmjones_biab is now known as rwmjones
09:13
ikaros has quit [Quit: Leave the magic to Houdini]
09:17
th5 has joined #ocaml
09:31
zubeen has joined #ocaml
10:02
boscop_ has joined #ocaml
10:02
boscop has quit [Ping timeout: 240 seconds]
10:21
pikachuyann has joined #ocaml
10:30
valross has quit [Quit: Ex-Chat]
10:51
<
zubeen >
can anybody help me with this?
10:52
<
gildor >
zubeen: int is not a module type
10:53
<
gildor >
zubeen: in fact, you don't need functor in your code
10:58
<
zubeen >
gildor: what is the way out then?
11:06
ygrek has joined #ocaml
11:20
<
gildor >
zubeen: zerol is an infinite list of zero ?
11:24
<
zubeen >
gildor: yes
11:25
<
zubeen >
i need a list of n zeros, similarly for 1 and so on..
11:25
<
gildor >
and sublist start at element [b]th and end at element [e]th
11:25
<
gildor >
fastest way to do this
11:25
<
zubeen >
i need to work on a vector space of n elements but n is not decided before hand
11:26
<
gildor >
Array.to_list (Array.make n 0);;
11:26
<
gildor >
let zeron n = Array.to_list (Array.make n 0);;
11:27
<
zubeen >
the issue is that n varies from implementation to implementation, as a result we dont know n and i have to define a zero operator which returns a vector of 0s for a given n in asystem
11:27
<
gildor >
you want n to be fixed ?
11:29
<
zubeen >
depending on the vector space i start with. would you like to have a look at my code?
11:29
<
zubeen >
i will paste the original code..
11:36
<
zubeen >
what is the difference between module type <name> and module <name> ?
11:44
<
gildor >
module type describe a module
11:44
<
gildor >
same difference between .ml and .mli
11:45
pheredhel has quit [Ping timeout: 245 seconds]
11:46
Smerdyakov has joined #ocaml
11:47
ztfw has joined #ocaml
11:52
ygrek has quit [Ping timeout: 245 seconds]
12:19
pheredhel has joined #ocaml
12:25
ikaros has joined #ocaml
12:36
ttamttam has left #ocaml []
13:17
metasyntax` has joined #ocaml
13:52
ikaros has quit [Read error: Connection reset by peer]
13:57
Smerdyakov has quit [Quit: Leaving]
13:58
munga has joined #ocaml
14:01
<
hcarty >
melwtech35: I think there is a String.escape or similar in the standard library, if that's what you're looking for
14:02
ccasin has joined #ocaml
14:09
Yoric has quit [Read error: Connection reset by peer]
14:10
Yoric has joined #ocaml
14:10
munga has quit [Ping timeout: 276 seconds]
14:14
<
rossberg >
indeed, there is String.toString and String.toCString, depending what kind of escaping you need
14:14
<
orbitz >
in stdlib??
14:14
<
orbitz >
are you sure? ocaml stdlib doesn't use caml case
14:15
<
rossberg >
oh you're right, I'm being in the wrong channel :-} sorry
14:17
<
hcarty >
And the function is String.escaped, not String.escape in the OCaml stdlib
14:19
<
orbitz >
so is it escaping the string or telling you if thes tring was escaped?! confusing tense
14:20
<
hcarty >
orbitz: Indeed.
14:21
<
hcarty >
In this case, it escapes the string
14:21
<
hcarty >
Or returns the original string if no modifications are needed
14:30
ikaros has joined #ocaml
14:30
lamawithonel has joined #ocaml
14:46
haelix has joined #ocaml
14:47
kennyp has joined #ocaml
14:48
joewilliams_away is now known as joewilliams
15:05
philtor has joined #ocaml
15:14
ftrvxmtrx has quit [Quit: Leaving]
15:18
drunK has joined #ocaml
15:27
ccasin__ has joined #ocaml
15:28
ccasin has quit [Ping timeout: 264 seconds]
15:30
th5 has quit [Quit: th5]
15:38
ikaros has quit [Quit: Leave the magic to Houdini]
15:41
ccasin__ is now known as ccasin
15:51
munga has joined #ocaml
15:51
Gooffy has quit [Quit: Leaving.]
15:51
robthebob has joined #ocaml
15:52
boscop_ is now known as boscop
15:54
joewilliams is now known as joewilliams_away
16:08
ikaros has joined #ocaml
16:09
ftrvxmtrx has joined #ocaml
16:15
joewilliams_away is now known as joewilliams
16:16
drunK has quit [Remote host closed the connection]
16:18
ftrvxmtrx has quit [Quit: Leaving]
16:20
ftrvxmtrx has joined #ocaml
16:47
eldragon has quit [Read error: Connection reset by peer]
16:47
ski has quit [Read error: Connection reset by peer]
16:48
munga has quit [Read error: Operation timed out]
16:48
ikaros has quit [Ping timeout: 245 seconds]
16:48
Tobu has joined #ocaml
16:50
eldragon has joined #ocaml
16:54
ski has joined #ocaml
16:55
ikaros has joined #ocaml
17:20
ygrek has joined #ocaml
17:20
ftrvxmtrx has quit [Remote host closed the connection]
17:22
ftrvxmtrx has joined #ocaml
17:26
boscop has quit [Ping timeout: 245 seconds]
17:27
Yoric has quit [Quit: Yoric]
18:18
fraggle_ has quit [Read error: Connection reset by peer]
18:37
DimitryKakadu has joined #ocaml
18:53
roconnor has joined #ocaml
18:56
pikachuyann has quit [Quit: Quitte]
19:01
fraggle_ has joined #ocaml
19:09
pikachuyann has joined #ocaml
19:28
jmcarthur has joined #ocaml
19:28
EvanR-work has joined #ocaml
19:29
ksf has joined #ocaml
19:34
ftrvxmtrx has quit [Quit: Leaving]
19:37
ftrvxmtrx has joined #ocaml
19:39
drunK has joined #ocaml
20:02
<
pikachuyann >
Bonne nuit / good night
20:04
pikachuyann has quit [Quit: Quitte]
20:12
jmcarthur has left #ocaml []
20:20
DimitryKakadu has quit [Remote host closed the connection]
20:26
ftrvxmtrx has quit [Quit: Leaving]
20:27
ulfdoz has joined #ocaml
20:30
ftrvxmtrx has joined #ocaml
20:38
yezariaely has joined #ocaml
20:43
yezariaely has left #ocaml []
20:53
ygrek has quit [Ping timeout: 245 seconds]
20:58
avsm has joined #ocaml
21:05
_unK has joined #ocaml
21:06
drunK has quit [Ping timeout: 265 seconds]
21:06
boscop has joined #ocaml
21:06
ztfw has quit [Remote host closed the connection]
21:08
_unK is now known as drunK
21:14
avsm has quit [Quit: Leaving.]
21:14
avsm has joined #ocaml
21:27
lamawithonel has quit [*.net *.split]
21:27
Nahra has quit [*.net *.split]
21:27
snarkyboojum has quit [*.net *.split]
21:27
ksf has quit [*.net *.split]
21:27
ikaros has quit [*.net *.split]
21:27
roconnor has quit [*.net *.split]
21:27
fabjan has quit [*.net *.split]
21:27
mikemc has quit [*.net *.split]
21:27
rwmjones has quit [*.net *.split]
21:27
noj has quit [*.net *.split]
21:27
avsm has quit [*.net *.split]
21:27
robthebob has quit [*.net *.split]
21:27
xl0 has quit [*.net *.split]
21:27
logicus has quit [*.net *.split]
21:27
tmaeda has quit [*.net *.split]
21:27
despa has quit [*.net *.split]
21:27
dcolish has quit [*.net *.split]
21:27
hyperboreean has quit [*.net *.split]
21:27
melwtech35 has quit [*.net *.split]
21:27
init1 has quit [*.net *.split]
21:27
dsturnbull has quit [*.net *.split]
21:27
Asmadeus has quit [*.net *.split]
21:27
asmanur has quit [*.net *.split]
21:27
explodus has quit [*.net *.split]
21:27
adrien has quit [*.net *.split]
21:27
jonathandav has quit [*.net *.split]
21:27
bacam has quit [*.net *.split]
21:27
mbac has quit [*.net *.split]
21:27
sgnb has quit [*.net *.split]
21:27
maskd has quit [*.net *.split]
21:27
shachaf has quit [*.net *.split]
21:27
ulfdoz has quit [*.net *.split]
21:27
ski has quit [*.net *.split]
21:27
Tobu has quit [*.net *.split]
21:27
Amorphous has quit [*.net *.split]
21:27
strlen has quit [*.net *.split]
21:27
gildor has quit [*.net *.split]
21:27
emias has quit [*.net *.split]
21:27
cthuluh has quit [*.net *.split]
21:27
npouillard has quit [*.net *.split]
21:27
jlouis has quit [*.net *.split]
21:27
flux has quit [*.net *.split]
21:27
thomasga has quit [*.net *.split]
21:27
theDroggl has quit [*.net *.split]
21:27
thieusoai has quit [*.net *.split]
21:27
hto has quit [*.net *.split]
21:27
manveru has quit [*.net *.split]
21:27
vk0 has quit [*.net *.split]
21:27
mehdid has quit [*.net *.split]
21:27
fraggle_ has quit [*.net *.split]
21:27
infoe has quit [*.net *.split]
21:27
sohum has quit [*.net *.split]
21:27
srcerer has quit [*.net *.split]
21:27
drunK has quit [*.net *.split]
21:27
kennyp has quit [*.net *.split]
21:27
carm has quit [*.net *.split]
21:27
Man_of_Wax has quit [*.net *.split]
21:27
nimred has quit [*.net *.split]
21:27
xcthulhu has quit [*.net *.split]
21:27
haelix has quit [*.net *.split]
21:27
fremo___ has quit [*.net *.split]
21:27
nejimban has quit [*.net *.split]
21:27
ftrvxmtrx has quit [*.net *.split]
21:27
jonafan has quit [*.net *.split]
21:27
rks has quit [*.net *.split]
21:27
brendan has quit [*.net *.split]
21:27
willb1 has quit [*.net *.split]
21:27
bitbckt has quit [*.net *.split]
21:27
rossberg has quit [*.net *.split]
21:27
caligula_ has quit [*.net *.split]
21:27
rixed_ has quit [*.net *.split]
21:27
_2x2l has quit [*.net *.split]
21:27
thelema has quit [*.net *.split]
21:27
Tianon has quit [*.net *.split]
21:27
hcarty has quit [*.net *.split]
21:27
EvanR-work has quit [*.net *.split]
21:27
|marius| has quit [*.net *.split]
21:27
Axioplase_ has quit [*.net *.split]
21:27
pheredhel has quit [*.net *.split]
21:27
zubeen has quit [*.net *.split]
21:27
iratsu` has quit [*.net *.split]
21:27
patronus has quit [*.net *.split]
21:27
svenl has quit [*.net *.split]
21:27
rudi_s has quit [*.net *.split]
21:27
mjuad has quit [*.net *.split]
21:27
f[x] has quit [*.net *.split]
21:27
ccasin has quit [*.net *.split]
21:27
bzzbzz has quit [*.net *.split]
21:27
joewilliams has quit [*.net *.split]
21:27
Pepe_ has quit [*.net *.split]
21:27
Obfuscate has quit [*.net *.split]
21:27
Leonidas has quit [*.net *.split]
21:27
eldragon has quit [*.net *.split]
21:27
philtor has quit [*.net *.split]
21:27
mfp has quit [*.net *.split]
21:27
iris1 has quit [*.net *.split]
21:27
mattam has quit [*.net *.split]
21:27
eelte has quit [*.net *.split]
21:27
julm has quit [*.net *.split]
21:27
orbitz has quit [*.net *.split]
21:27
mal`` has quit [*.net *.split]
21:27
tab has quit [*.net *.split]
21:28
avsm has joined #ocaml
21:28
drunK has joined #ocaml
21:28
ftrvxmtrx has joined #ocaml
21:28
ksf has joined #ocaml
21:28
EvanR-work has joined #ocaml
21:28
fraggle_ has joined #ocaml
21:28
roconnor has joined #ocaml
21:28
ikaros has joined #ocaml
21:28
ski has joined #ocaml
21:28
eldragon has joined #ocaml
21:28
Tobu has joined #ocaml
21:28
robthebob has joined #ocaml
21:28
ccasin has joined #ocaml
21:28
philtor has joined #ocaml
21:28
haelix has joined #ocaml
21:28
lamawithonel has joined #ocaml
21:28
pheredhel has joined #ocaml
21:28
zubeen has joined #ocaml
21:28
init1 has joined #ocaml
21:28
bzzbzz has joined #ocaml
21:28
thelema has joined #ocaml
21:28
carm has joined #ocaml
21:28
mfp has joined #ocaml
21:28
Amorphous has joined #ocaml
21:28
Tianon has joined #ocaml
21:28
thieusoai has joined #ocaml
21:28
xl0 has joined #ocaml
21:28
Man_of_Wax has joined #ocaml
21:28
mikemc has joined #ocaml
21:28
iris1 has joined #ocaml
21:28
mattam has joined #ocaml
21:28
cthuluh has joined #ocaml
21:28
Nahra has joined #ocaml
21:28
snarkyboojum has joined #ocaml
21:28
hto has joined #ocaml
21:28
fabjan has joined #ocaml
21:28
nimred has joined #ocaml
21:28
dsturnbull has joined #ocaml
21:28
npouillard has joined #ocaml
21:28
Asmadeus has joined #ocaml
21:28
iratsu` has joined #ocaml
21:28
logicus has joined #ocaml
21:28
rwmjones has joined #ocaml
21:28
tmaeda has joined #ocaml
21:28
jonafan has joined #ocaml
21:28
patronus has joined #ocaml
21:28
strlen has joined #ocaml
21:28
despa has joined #ocaml
21:28
infoe has joined #ocaml
21:28
gildor has joined #ocaml
21:28
svenl has joined #ocaml
21:28
xcthulhu has joined #ocaml
21:28
emias has joined #ocaml
21:28
hcarty has joined #ocaml
21:28
rudi_s has joined #ocaml
21:28
rks has joined #ocaml
21:28
jlouis has joined #ocaml
21:28
eelte has joined #ocaml
21:28
asmanur has joined #ocaml
21:28
joewilliams has joined #ocaml
21:28
sohum has joined #ocaml
21:28
mjuad has joined #ocaml
21:28
f[x] has joined #ocaml
21:28
manveru has joined #ocaml
21:28
melwtech35 has joined #ocaml
21:28
dcolish has joined #ocaml
21:28
brendan has joined #ocaml
21:28
noj has joined #ocaml
21:28
hyperboreean has joined #ocaml
21:28
julm has joined #ocaml
21:28
srcerer has joined #ocaml
21:28
shachaf has joined #ocaml
21:28
sgnb has joined #ocaml
21:28
mbac has joined #ocaml
21:28
maskd has joined #ocaml
21:28
bacam has joined #ocaml
21:28
jonathandav has joined #ocaml
21:28
adrien has joined #ocaml
21:28
explodus has joined #ocaml
21:28
willb1 has joined #ocaml
21:28
caligula_ has joined #ocaml
21:28
vk0 has joined #ocaml
21:28
Pepe_ has joined #ocaml
21:28
rixed_ has joined #ocaml
21:28
orbitz has joined #ocaml
21:28
nejimban has joined #ocaml
21:28
fremo___ has joined #ocaml
21:28
theDroggl has joined #ocaml
21:28
thomasga has joined #ocaml
21:28
flux has joined #ocaml
21:28
mehdid has joined #ocaml
21:28
bitbckt has joined #ocaml
21:28
Obfuscate has joined #ocaml
21:28
_2x2l has joined #ocaml
21:28
mal`` has joined #ocaml
21:28
|marius| has joined #ocaml
21:28
Axioplase_ has joined #ocaml
21:28
rossberg has joined #ocaml
21:28
Leonidas has joined #ocaml
21:28
tab has joined #ocaml
21:35
<
melwtech35 >
hcarty: thanks that works
21:42
avsm has quit [Quit: Leaving.]
21:57
avsm has joined #ocaml
21:58
init1 has quit [Quit: Quitte]
22:38
ikaros has quit [Quit: Leave the magic to Houdini]
22:45
mjonsson has joined #ocaml
23:05
ksf has left #ocaml []
23:07
munga has joined #ocaml
23:41
munga has quit [Ping timeout: 240 seconds]
23:52
noj has quit [Remote host closed the connection]
23:53
roconnor has quit [Remote host closed the connection]
23:58
noj has joined #ocaml