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
bzzbzz has joined #ocaml
mjonsson has joined #ocaml
<Axs> how do i raise an exception after a function runs
<Axs> something like...
<Axs> parse rules input; raise(NoMatch input)
Axs has quit [Ping timeout: 250 seconds]
jakedouglas has quit [Quit: Leaving.]
srcerer_ has joined #ocaml
orbitz_ has joined #ocaml
srcerer has quit [Ping timeout: 240 seconds]
jonathandav has quit [Ping timeout: 240 seconds]
f[x] has quit [Ping timeout: 240 seconds]
orbitz has quit [Ping timeout: 240 seconds]
jonathandav has joined #ocaml
f[x] has joined #ocaml
jpd has quit [Quit: This computer has gone to sleep]
thieusoai has quit [Ping timeout: 265 seconds]
thieusoai has joined #ocaml
jakedouglas has joined #ocaml
<flux> it would work
<flux> oh, he left
jakedouglas has quit [Quit: Leaving.]
ygrek has joined #ocaml
Snark_ has joined #ocaml
jpd has joined #ocaml
jpd has quit [Quit: This computer has gone to sleep]
lpereira has joined #ocaml
init1 has joined #ocaml
diml has quit [Quit: WeeChat 0.3.1.1]
diml has joined #ocaml
ikaros has joined #ocaml
cthuluh has quit [Quit: "Our life is frittered away by detail... Simplify, simplify" -- Thoreau]
cthuluh has joined #ocaml
Yoric has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
wuj has joined #ocaml
ikaros has quit [Quit: Leave the magic to Houdini]
_unK has joined #ocaml
Amorphous has quit [Ping timeout: 276 seconds]
Edward_ has joined #ocaml
wuj has quit [Ping timeout: 265 seconds]
Amorphous has joined #ocaml
junis has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 265 seconds]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 265 seconds]
Yoric has quit [Quit: Yoric]
init1 has quit [Quit: Lost terminal]
init1 has joined #ocaml
init1 has quit [Client Quit]
init1 has joined #ocaml
ikaros has joined #ocaml
jpd has joined #ocaml
boscop_ is now known as boscop
ygrek has quit [Remote host closed the connection]
ygrek has joined #ocaml
easy4 has quit [Ping timeout: 245 seconds]
ikaros_ has joined #ocaml
ikaros has quit [Ping timeout: 260 seconds]
Submarine has joined #ocaml
Submarine has quit [Changing host]
Submarine has joined #ocaml
ikaros has joined #ocaml
ikaros_ has quit [Ping timeout: 240 seconds]
junis has joined #ocaml
jakedouglas has joined #ocaml
<junis> greetings fine people
init_ has quit [Ping timeout: 264 seconds]
init_ has joined #ocaml
Edward_ has quit []
<adrien> =)
krankkat1e has joined #ocaml
ikaros_ has joined #ocaml
krankkat1e has quit [Quit: Lost terminal]
krankkat1e has joined #ocaml
<junis> salut adrien... ça va ..
ikaros has quit [Ping timeout: 240 seconds]
Snark_ has quit [Quit: Ex-Chat]
ikaros has joined #ocaml
ikaros_ has quit [Ping timeout: 264 seconds]
<strlen> is there a good template library for ocaml? i am trying to whip something up to generate a skeleton app (ocamlbuild file, Makefile to invoke ocamlbuild, basic app and an OUnit test) -- just for fun -- and am wondering if there's something out there (not having much luck on google)
<adrien> oasis? :-)
<adrien> junis: :-)
mattam has quit [Ping timeout: 240 seconds]
iris1 has joined #ocaml
Axsuul has joined #ocaml
<Axsuul> what is another way of saying "ambiguous type"
<Axsuul> i.e.
<Axsuul> say i have type ('a, 'b') foo = A of 'a | B of 'b;;
<Axsuul> then when I'm defining exception
<Axsuul> exception Bah of (('a, 'b) foo);;
<Axsuul> except that is a syntax error
<Axsuul> actually,
<Axsuul> exception Bah of (('a, string) foo);;
<Axsuul> would be fine, but I just need the first argument to be any type...
<flux> you cannot use polymorphic types in exceptions
<flux> although, exceptions themselves are dynamically typed
init1 has quit [Quit: Quitte]
<Axsuul> Hmm, so is there any way I can do what I want to do
ygrek has quit [Ping timeout: 245 seconds]
<flux> perhaps a dynamic typing module would help
<flux> otherwise there's maybe a way to express the problem in another way
<flux> but I'm off to sleep, back tomorrow ;)
<Axsuul> thanks flux as always
ftrvxmtrx has quit [Quit: Leaving]
ztfw has joined #ocaml
<adrien> has anyone ever seen the -j switch to ocamlbuild make things faster/parallel? I'm wondering what are its prerequisites
ftrvxmtrx has joined #ocaml
<junis> i haven't
ulfdoz has joined #ocaml
cthuluh has quit [Quit: "Our life is frittered away by detail... Simplify, simplify" -- Thoreau]
cthuluh has joined #ocaml
ztfw has quit [Remote host closed the connection]
<gildor> strlen: ping me if you want help on oasis
Submarine has quit [Remote host closed the connection]
ulfdoz has quit [Ping timeout: 250 seconds]
Zordon has joined #ocaml
<Zordon> hi, it's my 1st day with ocaml and I need to output to stdout (or write to file) a value of some nonstandard type (abstract syntax generated by parser)
<Zordon> how to do it?
<Zordon> anyone?
lpereira has quit [Quit: Leaving.]
Zordon has quit []