mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
nabla-pingoo has quit ["Connection reset by pear"]
m3ga has joined #ocaml
[azoic] has joined #ocaml
<m3ga> anyone else having trouble downloading the coThreads library announced on the mailing list?
<m3ga> anyone download it successfully?
<hcarty> m3ga: I haven't been able to find a sf mirror which actually has the file
<m3ga> yeah, they keep redirecting and redirecting until the browser falls off the end of the internet
m3ga has quit ["disappearing into the sunset"]
smimou has quit ["bli"]
mattam has quit [Remote closed the connection]
^authentic has joined #ocaml
mattam has joined #ocaml
authentic has quit [Read error: 110 (Connection timed out)]
^authentic is now known as authentic
mordaunt has joined #ocaml
ednarofi has joined #ocaml
[azoic] has quit ["Leaving."]
seafoodX has joined #ocaml
dbueno has quit ["This computer has gone to sleep"]
seafoodX has quit []
seafoodX has joined #ocaml
seafoodX has quit [Client Quit]
ednarofi_ has joined #ocaml
ednarofi has quit [Read error: 110 (Connection timed out)]
postalchris has quit [Read error: 113 (No route to host)]
seafoodX has joined #ocaml
rutlov has joined #ocaml
rutlov has left #ocaml []
pango has quit [Remote closed the connection]
pango has joined #ocaml
mordaunt has quit [Read error: 110 (Connection timed out)]
pantsd has joined #ocaml
kelaouchi has joined #ocaml
ita has quit [Read error: 110 (Connection timed out)]
pango has quit [Remote closed the connection]
pango has joined #ocaml
ramky has joined #ocaml
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
pierpa has joined #ocaml
ramky is now known as ramki
slipstream has joined #ocaml
slipstream-- has quit [Read error: 110 (Connection timed out)]
Abo-Marwan95 has quit [Read error: 104 (Connection reset by peer)]
screwt862 has quit [Read error: 104 (Connection reset by peer)]
screwt862 has joined #ocaml
olegfink has quit [Read error: 104 (Connection reset by peer)]
olegfink has joined #ocaml
seafoodX has quit []
screwt862 has quit [Read error: 104 (Connection reset by peer)]
ulfdoz has quit [Remote closed the connection]
ulfdoz has joined #ocaml
tsuyoshi has joined #ocaml
Cygaal has joined #ocaml
ulfdoz has quit ["grml, scheiß gefrickel"]
ulfdoz has joined #ocaml
screwt862 has joined #ocaml
baruk has quit ["zzz"]
leo037 has joined #ocaml
Abo-Marwan95 has joined #ocaml
dbueno has joined #ocaml
ednarofi_ has quit ["leaving"]
pantsd has quit [Read error: 110 (Connection timed out)]
pantsd has joined #ocaml
seafoodX has joined #ocaml
seafoodX has quit [Client Quit]
Tetsuo has joined #ocaml
seafoodX has joined #ocaml
crathman has joined #ocaml
leo037 has quit ["Leaving"]
crathman has quit [Read error: 104 (Connection reset by peer)]
Mr_Awesome has joined #ocaml
ygrek has joined #ocaml
pango has quit [Remote closed the connection]
pantsd has quit [Read error: 110 (Connection timed out)]
pantsd has joined #ocaml
seafoodX has quit []
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
seafoodX has joined #ocaml
pango has joined #ocaml
[azoic] has joined #ocaml
ramki has quit [Remote closed the connection]
seafoodX has quit []
ygrek has quit [Remote closed the connection]
crathman has joined #ocaml
ygrek has joined #ocaml
[azoic] has quit ["Leaving."]
crathman has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518]"]
kelaouchi has quit ["leaving"]
kelaouchi has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
authentic has quit [kornbluth.freenode.net irc.freenode.net]
aij has quit [kornbluth.freenode.net irc.freenode.net]
rwmjones has quit [kornbluth.freenode.net irc.freenode.net]
bla has quit [kornbluth.freenode.net irc.freenode.net]
authentic has joined #ocaml
aij has joined #ocaml
rwmjones has joined #ocaml
bla has joined #ocaml
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
smimou has joined #ocaml
ulfdoz has quit ["back soon"]
smimou has quit ["bli"]
smimou has joined #ocaml
bluestorm_ has joined #ocaml
Mr_Awesome has joined #ocaml
love-pingoo has joined #ocaml
ulfdoz has joined #ocaml
smimou has quit ["bli"]
smimou has joined #ocaml
smimou has quit ["bli"]
schme` has quit [Connection timed out]
_JusSx_ has joined #ocaml
delamon has joined #ocaml
smimou has joined #ocaml
Mr_Awesome has quit [Read error: 110 (Connection timed out)]
Cygaal has quit [Read error: 104 (Connection reset by peer)]
ygrek has quit [Remote closed the connection]
crathman has joined #ocaml
psnively has joined #ocaml
pierpa has quit [Read error: 54 (Connection reset by peer)]
pantsd has quit ["Leaving."]
postalchris has joined #ocaml
Tetsuo has quit ["Leaving"]
EliasAmaral has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
<EliasAmaral> can someone tell something really fun that could be done with theorem provers (like coq or isabelle) by an undergrad?
<EliasAmaral> i need to motive a friend that are working with isabelle / acl2 telling him a project to start :P
<EliasAmaral> that is working
<psnively> I'd suggest Coq and something extractable.
<psnively> Some interesting strongly-specified function.
love-pingoo has quit ["tsoin tsoin"]
_JusSx_ has quit ["leaving"]
ita has joined #ocaml
dbueno has quit ["This computer has gone to sleep"]
<bla> Hm.
<bla> Function worked with ints. With Big_ints I got:
<bla> This variable is bound several times in this matching
<bla> I, well, I just need to rewrite it a bit cause it can't understand my 'when' clause, yes?
dbueno has joined #ocaml
<pango> bla: when you pattern-match against a variable, the variable is locally defined with the value it's unified with
<mbishop> Anyone know if the cothreads guy gets on IRC?
<pango> bla: so you you pattern match a value with zero, it redefines zero
<pango> s/you/you/when you/
<pango> # let a = 3 in match 2 with a -> a ;;
<pango> Warning Y: unused variable a.
<pango> - : int = 2
<mbishop> anyone know if Zheng Li gets on IRC?
<bla> Hm.
<bla> I see
<bla> Right.
<bla> Stupid me.
<pango> maybe match sign_n, sign_m with | 0, 0 -> ... etc.
<bla> It will suffice if I place there 'Int 0' instead of giving it name at first.
dbueno has quit ["This computer has gone to sleep"]
<bla> (;
<bla> It even works actually.
<bla> But slowly. I need to find a way to easily add there memoizing so it will get linear.
<EliasAmaral> psnively, something extractable?
<psnively> Yes: it might be fun to propose a strongly-specified function, develop it in Coq, then extract Scheme, OCaml, or Haskell code for it.
<EliasAmaral> Hmmmm. Yeah, I read Coq can generate code =o but, the problem begins with the question "what function?". I will try to search a bit, thanks :)
<ita> if you just want to give more specifications to functions, a preprocessor for giving contracts might be a better idea
<ita> with coq it is necessary to do all the program in it (or a whole algorithm), not just one or two functions
<psnively> ita: Actually, you can extract just a module for some of its targets.
postalchris has quit ["Leaving."]
<EliasAmaral> i don't want something specific to be done, i wanted just some ideas to do with this kind of technology
<bla> Uch. I find only problems today.
<bla> Can I have a two dimensional array of Nums (arbitraly precision objects)?
<ita> bla: like a matrix ?
<EliasAmaral> i heard that you can use coq to prove things about programs, but that is too.. vague. there must be something practical to do with theorem provers
ita has quit [Remote closed the connection]
<psnively> Um, proving things about programs IS practical.
<pango> Num.num array array ?
<bla> So with normal Array module rather then Array2...
<bla> So I'll try once again.
ita has joined #ocaml
<pango> "This module implements multi-dimensional arrays of integers and floating-point numbers"... Hence not of big_ints
<EliasAmaral> psnively, but, but.. well, what things? an example :~ something simple but useful
<pango> that are always boxed
<bla> Array.make_matrix oh. Found.
<bla> Array.init 20 (fun a -> Array.make 20);; just wouldn't work. :)
<psnively> EliasAmaral: OK. How about a strongly-specified sort function?
<EliasAmaral> ok, what exactly is a strongly-specified function? a function that has formal requirements/constraints?
<psnively> A function whose return type defines what the function does.
<psnively> In this case, a function whose return type specifies that the result is sorted.
<EliasAmaral> hmm, like type int -> int sorted?
<EliasAmaral> well
<EliasAmaral> 'a list -> 'a list sorted
<psnively> Yes.
<EliasAmaral> hmmm. =o
<EliasAmaral> i am away now, thank you
<psnively> One more thing: see http://www.alpheccar.org/en/posts/show/72
jlouis has joined #ocaml
<bla> (Ok! Works perfectly)
<bla> (Although memoizing is done by hand whereas it could be with Lazy module... time to bed.)
jlouis_ has quit [Success]
crathman_ has joined #ocaml
dbueno has joined #ocaml
crathman_ has quit ["ChatZilla 0.9.78.1 [Firefox 2.0.0.6/2007072518]"]
crathman has quit [Read error: 110 (Connection timed out)]
dbueno has quit ["This computer has gone to sleep"]
<pango> bla: Lazy won't memoize functions magically
dbueno has joined #ocaml
dbueno has quit ["Leaving"]