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
Amorphous has quit [Ping timeout: 276 seconds]
ztfw has quit [Remote host closed the connection]
Amorphous has joined #ocaml
drunK has quit [Remote host closed the connection]
<zubeen> ping
joewilliams is now known as joewilliams_away
zubeen has quit [Quit: rcirc on GNU Emacs 23.1.1]
gnuvince has quit [Remote host closed the connection]
gnuvince has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
lamawithonel has joined #ocaml
valross has joined #ocaml
lamawithonel_ has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
mfp has quit [Ping timeout: 252 seconds]
lamawithonel has joined #ocaml
lamawithonel_ has quit [Ping timeout: 264 seconds]
lamawithonel has quit [Ping timeout: 255 seconds]
mfp has joined #ocaml
carm has joined #ocaml
thelema has quit [Remote host closed the connection]
thelema has joined #ocaml
lamawithonel has joined #ocaml
lamawithonel has quit [Ping timeout: 255 seconds]
carm has quit [Ping timeout: 245 seconds]
carm has joined #ocaml
thelema has quit [Read error: Connection reset by peer]
thelema has joined #ocaml
mjonsson has quit [Remote host closed the connection]
<orbitz> can I pattern match and assign to a variable?
<thelema> let foo = match bar with Some x -> x | None -> 2 in
<orbitz> I was hoping for osmethign like @ in Haskell
<orbitz> thanks thelema
thelema has quit [Remote host closed the connection]
thelema has joined #ocaml
easy4 has joined #ocaml
lewis1711 has joined #ocaml
<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
joewilliams_away is now known as joewilliams
lewis1711 has left #ocaml []
ulfdoz has joined #ocaml
easy4 has quit [Quit: easy4]
joewilliams is now known as joewilliams_away
philtor has joined #ocaml
Yoric has joined #ocaml
ttamttam has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ulfdoz has quit [Read error: Operation timed out]
philtor has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
ski has joined #ocaml
ftrvxmtrx has joined #ocaml
Yoric has quit [Quit: Yoric]
ikaros has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
bzzbzz_ has quit [Read error: Connection reset by peer]
bzzbzz has joined #ocaml
init1 has joined #ocaml
Gooffy has joined #ocaml
rwmjones is now known as rwmjones_biab
ttamttam has quit [Remote host closed the connection]
ttamttam has joined #ocaml
Yoric has joined #ocaml
rwmjones_biab is now known as rwmjones
ikaros has quit [Quit: Leave the magic to Houdini]
th5 has joined #ocaml
zubeen has joined #ocaml
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 240 seconds]
pikachuyann has joined #ocaml
valross has quit [Quit: Ex-Chat]
<zubeen> functor implementation issuehttp://www.pastey.net/142181
<zubeen> can anybody help me with this?
<gildor> zubeen: int is not a module type
<gildor> zubeen: in fact, you don't need functor in your code
<zubeen> gildor: what is the way out then?
ygrek has joined #ocaml
<gildor> zubeen: zerol is an infinite list of zero ?
<zubeen> gildor: yes
<zubeen> i need a list of n zeros, similarly for 1 and so on..
<gildor> and sublist start at element [b]th and end at element [e]th
<zubeen> yes
<gildor> fastest way to do this
<zubeen> i need to work on a vector space of n elements but n is not decided before hand
<gildor> Array.to_list (Array.make n 0);;
<gildor> let zeron n = Array.to_list (Array.make n 0);;
<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
<gildor> you want n to be fixed ?
<zubeen> depending on the vector space i start with. would you like to have a look at my code?
<zubeen> i will paste the original code..
<zubeen> what is the difference between module type <name> and module <name> ?
<gildor> module type describe a module
<gildor> same difference between .ml and .mli
pheredhel has quit [Ping timeout: 245 seconds]
Smerdyakov has joined #ocaml
ztfw has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
pheredhel has joined #ocaml
ikaros has joined #ocaml
ttamttam has left #ocaml []
metasyntax` has joined #ocaml
ikaros has quit [Read error: Connection reset by peer]
Smerdyakov has quit [Quit: Leaving]
munga has joined #ocaml
<hcarty> melwtech35: I think there is a String.escape or similar in the standard library, if that's what you're looking for
ccasin has joined #ocaml
Yoric has quit [Read error: Connection reset by peer]
Yoric has joined #ocaml
munga has quit [Ping timeout: 276 seconds]
<rossberg> indeed, there is String.toString and String.toCString, depending what kind of escaping you need
<orbitz> in stdlib??
<rossberg> yes
<orbitz> are you sure? ocaml stdlib doesn't use caml case
<rossberg> oh you're right, I'm being in the wrong channel :-} sorry
<orbitz> :)
<hcarty> And the function is String.escaped, not String.escape in the OCaml stdlib
<orbitz> so is it escaping the string or telling you if thes tring was escaped?! confusing tense
<hcarty> orbitz: Indeed.
<hcarty> In this case, it escapes the string
<hcarty> Or returns the original string if no modifications are needed
ikaros has joined #ocaml
lamawithonel has joined #ocaml
haelix has joined #ocaml
kennyp has joined #ocaml
joewilliams_away is now known as joewilliams
philtor has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
drunK has joined #ocaml
ccasin__ has joined #ocaml
ccasin has quit [Ping timeout: 264 seconds]
th5 has quit [Quit: th5]
ikaros has quit [Quit: Leave the magic to Houdini]
ccasin__ is now known as ccasin
munga has joined #ocaml
Gooffy has quit [Quit: Leaving.]
robthebob has joined #ocaml
boscop_ is now known as boscop
joewilliams is now known as joewilliams_away
ikaros has joined #ocaml
ftrvxmtrx has joined #ocaml
joewilliams_away is now known as joewilliams
drunK has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
eldragon has quit [Read error: Connection reset by peer]
ski has quit [Read error: Connection reset by peer]
munga has quit [Read error: Operation timed out]
ikaros has quit [Ping timeout: 245 seconds]
Tobu has joined #ocaml
eldragon has joined #ocaml
ski has joined #ocaml
ikaros has joined #ocaml
ygrek has joined #ocaml
ftrvxmtrx has quit [Remote host closed the connection]
ftrvxmtrx has joined #ocaml
boscop has quit [Ping timeout: 245 seconds]
Yoric has quit [Quit: Yoric]
fraggle_ has quit [Read error: Connection reset by peer]
DimitryKakadu has joined #ocaml
roconnor has joined #ocaml
pikachuyann has quit [Quit: Quitte]
fraggle_ has joined #ocaml
pikachuyann has joined #ocaml
jmcarthur has joined #ocaml
EvanR-work has joined #ocaml
ksf has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
drunK has joined #ocaml
<pikachuyann> Bonne nuit / good night
pikachuyann has quit [Quit: Quitte]
jmcarthur has left #ocaml []
DimitryKakadu has quit [Remote host closed the connection]
ftrvxmtrx has quit [Quit: Leaving]
ulfdoz has joined #ocaml
ftrvxmtrx has joined #ocaml
yezariaely has joined #ocaml
yezariaely has left #ocaml []
ygrek has quit [Ping timeout: 245 seconds]
avsm has joined #ocaml
_unK has joined #ocaml
drunK has quit [Ping timeout: 265 seconds]
boscop has joined #ocaml
ztfw has quit [Remote host closed the connection]
_unK is now known as drunK
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
lamawithonel has quit [*.net *.split]
Nahra has quit [*.net *.split]
snarkyboojum has quit [*.net *.split]
ksf has quit [*.net *.split]
ikaros has quit [*.net *.split]
roconnor has quit [*.net *.split]
fabjan has quit [*.net *.split]
mikemc has quit [*.net *.split]
rwmjones has quit [*.net *.split]
noj has quit [*.net *.split]
avsm has quit [*.net *.split]
robthebob has quit [*.net *.split]
xl0 has quit [*.net *.split]
logicus has quit [*.net *.split]
tmaeda has quit [*.net *.split]
despa has quit [*.net *.split]
dcolish has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
melwtech35 has quit [*.net *.split]
init1 has quit [*.net *.split]
dsturnbull has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
asmanur has quit [*.net *.split]
explodus has quit [*.net *.split]
adrien has quit [*.net *.split]
jonathandav has quit [*.net *.split]
bacam has quit [*.net *.split]
mbac has quit [*.net *.split]
sgnb has quit [*.net *.split]
maskd has quit [*.net *.split]
shachaf has quit [*.net *.split]
ulfdoz has quit [*.net *.split]
ski has quit [*.net *.split]
Tobu has quit [*.net *.split]
Amorphous has quit [*.net *.split]
strlen has quit [*.net *.split]
gildor has quit [*.net *.split]
emias has quit [*.net *.split]
cthuluh has quit [*.net *.split]
npouillard has quit [*.net *.split]
jlouis has quit [*.net *.split]
flux has quit [*.net *.split]
thomasga has quit [*.net *.split]
theDroggl has quit [*.net *.split]
thieusoai has quit [*.net *.split]
hto has quit [*.net *.split]
manveru has quit [*.net *.split]
vk0 has quit [*.net *.split]
mehdid has quit [*.net *.split]
fraggle_ has quit [*.net *.split]
infoe has quit [*.net *.split]
sohum has quit [*.net *.split]
srcerer has quit [*.net *.split]
drunK has quit [*.net *.split]
kennyp has quit [*.net *.split]
carm has quit [*.net *.split]
Man_of_Wax has quit [*.net *.split]
nimred has quit [*.net *.split]
xcthulhu has quit [*.net *.split]
haelix has quit [*.net *.split]
fremo___ has quit [*.net *.split]
nejimban has quit [*.net *.split]
ftrvxmtrx has quit [*.net *.split]
jonafan has quit [*.net *.split]
rks has quit [*.net *.split]
brendan has quit [*.net *.split]
willb1 has quit [*.net *.split]
bitbckt has quit [*.net *.split]
rossberg has quit [*.net *.split]
caligula_ has quit [*.net *.split]
rixed_ has quit [*.net *.split]
_2x2l has quit [*.net *.split]
thelema has quit [*.net *.split]
Tianon has quit [*.net *.split]
hcarty has quit [*.net *.split]
EvanR-work has quit [*.net *.split]
|marius| has quit [*.net *.split]
Axioplase_ has quit [*.net *.split]
pheredhel has quit [*.net *.split]
zubeen has quit [*.net *.split]
iratsu` has quit [*.net *.split]
patronus has quit [*.net *.split]
svenl has quit [*.net *.split]
rudi_s has quit [*.net *.split]
mjuad has quit [*.net *.split]
f[x] has quit [*.net *.split]
ccasin has quit [*.net *.split]
bzzbzz has quit [*.net *.split]
joewilliams has quit [*.net *.split]
Pepe_ has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
Leonidas has quit [*.net *.split]
eldragon has quit [*.net *.split]
philtor has quit [*.net *.split]
mfp has quit [*.net *.split]
iris1 has quit [*.net *.split]
mattam has quit [*.net *.split]
eelte has quit [*.net *.split]
julm has quit [*.net *.split]
orbitz has quit [*.net *.split]
mal`` has quit [*.net *.split]
tab has quit [*.net *.split]
avsm has joined #ocaml
drunK has joined #ocaml
ftrvxmtrx has joined #ocaml
ksf has joined #ocaml
EvanR-work has joined #ocaml
fraggle_ has joined #ocaml
roconnor has joined #ocaml
ikaros has joined #ocaml
ski has joined #ocaml
eldragon has joined #ocaml
Tobu has joined #ocaml
robthebob has joined #ocaml
ccasin has joined #ocaml
philtor has joined #ocaml
haelix has joined #ocaml
lamawithonel has joined #ocaml
pheredhel has joined #ocaml
zubeen has joined #ocaml
init1 has joined #ocaml
bzzbzz has joined #ocaml
thelema has joined #ocaml
carm has joined #ocaml
mfp has joined #ocaml
Amorphous has joined #ocaml
Tianon has joined #ocaml
thieusoai has joined #ocaml
xl0 has joined #ocaml
Man_of_Wax has joined #ocaml
mikemc has joined #ocaml
iris1 has joined #ocaml
mattam has joined #ocaml
cthuluh has joined #ocaml
Nahra has joined #ocaml
snarkyboojum has joined #ocaml
hto has joined #ocaml
fabjan has joined #ocaml
nimred has joined #ocaml
dsturnbull has joined #ocaml
npouillard has joined #ocaml
Asmadeus has joined #ocaml
iratsu` has joined #ocaml
logicus has joined #ocaml
rwmjones has joined #ocaml
tmaeda has joined #ocaml
jonafan has joined #ocaml
patronus has joined #ocaml
strlen has joined #ocaml
despa has joined #ocaml
infoe has joined #ocaml
gildor has joined #ocaml
svenl has joined #ocaml
xcthulhu has joined #ocaml
emias has joined #ocaml
hcarty has joined #ocaml
rudi_s has joined #ocaml
rks has joined #ocaml
jlouis has joined #ocaml
eelte has joined #ocaml
asmanur has joined #ocaml
joewilliams has joined #ocaml
sohum has joined #ocaml
mjuad has joined #ocaml
f[x] has joined #ocaml
manveru has joined #ocaml
melwtech35 has joined #ocaml
dcolish has joined #ocaml
brendan has joined #ocaml
noj has joined #ocaml
hyperboreean has joined #ocaml
julm has joined #ocaml
srcerer has joined #ocaml
shachaf has joined #ocaml
sgnb has joined #ocaml
mbac has joined #ocaml
maskd has joined #ocaml
bacam has joined #ocaml
jonathandav has joined #ocaml
adrien has joined #ocaml
explodus has joined #ocaml
willb1 has joined #ocaml
caligula_ has joined #ocaml
vk0 has joined #ocaml
Pepe_ has joined #ocaml
rixed_ has joined #ocaml
orbitz has joined #ocaml
nejimban has joined #ocaml
fremo___ has joined #ocaml
theDroggl has joined #ocaml
thomasga has joined #ocaml
flux has joined #ocaml
mehdid has joined #ocaml
bitbckt has joined #ocaml
Obfuscate has joined #ocaml
_2x2l has joined #ocaml
mal`` has joined #ocaml
|marius| has joined #ocaml
Axioplase_ has joined #ocaml
rossberg has joined #ocaml
Leonidas has joined #ocaml
tab has joined #ocaml
<melwtech35> hcarty: thanks that works
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
init1 has quit [Quit: Quitte]
ikaros has quit [Quit: Leave the magic to Houdini]
mjonsson has joined #ocaml
ksf has left #ocaml []
munga has joined #ocaml
munga has quit [Ping timeout: 240 seconds]
noj has quit [Remote host closed the connection]
roconnor has quit [Remote host closed the connection]
noj has joined #ocaml