sponge45 changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/
<esdee> so, Str.string_match is as bad as I assumed it would be, but there is no alternative in the standard library?
cjeris has quit [Read error: 104 (Connection reset by peer)]
<pango> it should work, it's just not the best possible tool for the job
bluestorm_ has quit ["Konversation terminated!"]
<esdee> yeah, it works. Just seems crazy that there's no simple string search. Even C has strstr()
david_koontz has quit ["Leaving"]
<pango> extlib seems to have ExtString.String.find and ExtString.String.exists ...
bzzbzz has joined #ocaml
Mr_Awesome has joined #ocaml
jlouis has quit ["Leaving"]
johnnowak has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
threeve has joined #ocaml
threeve has quit [Client Quit]
threeve has joined #ocaml
b00t has joined #ocaml
benny has joined #ocaml
esdee has quit ["Leaving"]
benny_ has quit [Read error: 110 (Connection timed out)]
bzzbzz has quit [Read error: 110 (Connection timed out)]
TheDebugger has joined #ocaml
TheDebugger has left #ocaml []
Mr_Awesome has quit ["...and the Awesome level drops"]
threeve has quit []
Smerdyakov has quit ["Leaving"]
love-pingoo has joined #ocaml
b00t has quit [Remote closed the connection]
Balakirev has joined #ocaml
diffbavis has quit [Read error: 104 (Connection reset by peer)]
diffbavis has joined #ocaml
shawn has joined #ocaml
dsilva has joined #ocaml
<dsilva> hrmm... why would omake say "OMakefile is not configured" even after running omake --config ?
johnnowak has quit []
Balakirev has quit []
mnemonic has joined #ocaml
<mnemonic> hi
<jave> is there a bnf for ocaml lying around somewhere?
<flux-> jave, the source might have something machine readable, but have you tried checking out the documentation? it has the specification of the language
ramkrsna has quit [Read error: 145 (Connection timed out)]
<jave> flux-: I'm hinking about implementing an emacs cedet backend for ocaml,it would be easier with a proper bnf.
<jave> the end result would be stuff that cedet offers to language modes, such as completion and eldoc support
dsilva has left #ocaml []
<jave> so, in tuareg mode in emacs, I would be able to type String.l and it would cocmplete tot String.Length, and I would also gett symbol documentation.
<jave> I would like to do this as a way to learn and code ocaml better, since I basically suck at it
<jave> if I cant get a proper bnf, I would probably start with just the ability to parse the library .mli files
ikaros has quit ["Leaving"]
ikaros has joined #ocaml
ramkrsna has joined #ocaml
<flux-> jave, maybe you can use camlp4 to scan source
diffbavis has quit [Read error: 104 (Connection reset by peer)]
ikaros has quit ["Leaving"]
<oscarh> Hum, I would like to do semething like GText.view#set_accepts_tab false in LablGTK, but they don't seem to wrap that method, anyone knows another nice way of doing the same?
<oscarh> Maybe I should just grab all keypress events and move focus myself...
diffbavis has joined #ocaml
bebui has joined #ocaml
ikaros has joined #ocaml
ikaros has quit [Client Quit]
mnemonic has quit ["leaving"]
mnemonic has joined #ocaml
Submarine has quit [Remote closed the connection]
ikaros has joined #ocaml
bzzbzz has joined #ocaml
mnemonic has quit ["leaving"]
slipstream-- has quit [Read error: 104 (Connection reset by peer)]
pango has quit [Remote closed the connection]
romanoffi has joined #ocaml
slipstream has joined #ocaml
Smerdyakov has joined #ocaml
pango has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
shawn has quit [SendQ exceeded]
diffbavis has quit [Read error: 104 (Connection reset by peer)]
benny has joined #ocaml
jlouis has joined #ocaml
diffbavis has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
bebui has quit [Read error: 104 (Connection reset by peer)]
bebui has joined #ocaml
bebui has quit [Read error: 104 (Connection reset by peer)]
bebui has joined #ocaml
bluestorm_ has joined #ocaml
smimou has joined #ocaml
SooW has joined #ocaml
<SooW> hi
carrumba has joined #ocaml
carrumba has left #ocaml []
<SooW> i need to initialize a bigarray val in my object, what should i put next to "val mutable matrix = ..." ?
<SooW> also, can't i initialize it later ?
romanoffi has left #ocaml []
<love-pingoo> SooW: no, there must be a value at initialization
<love-pingoo> if you need to initialize later you could use an option type
<SooW> love-pingoo, so I set "val mutable matrix = Bigarray.Array2.create type dim1 dim2" ?
<SooW> and if i still don't know what size it will be
<love-pingoo> it's mutable, so you can have an empty one until you know the size
<love-pingoo> I'd say initial_value rather than type
<love-pingoo> what's the type in your case ?
<love-pingoo> gottae
<love-pingoo> eat
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
<SooW> love-pingoo, if you ever come back from eating :
<SooW> my array is a "char [n][m]" allocated from C
<hcarty> How do you get a backtrace or code location for an exception in the toplevel?
<hcarty> I can get one for bytecode-compiled code (ocamlrun -b) but not for the toplevel
<love-pingoo> SooW: no problem for char, you have dummy values
<love-pingoo> the problem with initialization is when there's no really good dummy value, it gets annoying (and you have to use option types)
malc_ has joined #ocaml
mbishop has quit ["Leaving"]
romanoffi has joined #ocaml
SooW has quit ["Quitte"]
levi_hom1 has joined #ocaml
levi_home has quit [Read error: 110 (Connection timed out)]
levi_hom1 is now known as levi_home
bluestorm_ has quit ["Konversation terminated!"]
Submarine has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
mnemonic has joined #ocaml
<mnemonic> hi
pango has quit [Remote closed the connection]
pango has joined #ocaml
descender has quit [Remote closed the connection]