flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | 3.11.0 out now! Get yours from http://caml.inria.fr/ocaml/release.html
alexyk has joined #ocaml
sgnb has quit [Read error: 60 (Operation timed out)]
sgnb has joined #ocaml
mbishop_ has joined #ocaml
mbishop has quit [Read error: 110 (Connection timed out)]
seafood has quit []
seafood has joined #ocaml
ikaros has quit [".quit"]
mbishop__ has joined #ocaml
mbishop_ has quit [Read error: 60 (Operation timed out)]
fschwidom has quit [Remote closed the connection]
mbishop__ has quit [Read error: 113 (No route to host)]
mbishop__ has joined #ocaml
Stefan_vK1 has quit [Read error: 54 (Connection reset by peer)]
Stefan_vK has joined #ocaml
Morphous has quit [Read error: 131 (Connection reset by peer)]
Morphous has joined #ocaml
johnnowak has joined #ocaml
alexyk has quit []
johnnowak has quit []
johnnowak has joined #ocaml
munificent has joined #ocaml
munificent has left #ocaml []
seafood has quit []
hkBst has quit [Read error: 131 (Connection reset by peer)]
alexyk has joined #ocaml
jeddhaberstro has quit []
alexyk has quit []
_zack has joined #ocaml
bohanlon has quit [Read error: 104 (Connection reset by peer)]
bohanlon has joined #ocaml
vixey has joined #ocaml
_zack has quit ["Leaving."]
vixey has quit [Read error: 104 (Connection reset by peer)]
vixey has joined #ocaml
cataska has quit ["leaving"]
ygrek has joined #ocaml
_zack has joined #ocaml
ikaros has joined #ocaml
_zack has quit ["Leaving."]
_zack has joined #ocaml
itewsh has joined #ocaml
marmotine has joined #ocaml
ofaurax has joined #ocaml
itewsh has quit ["KTHXBYE"]
fschwidom has joined #ocaml
ikaros has quit [".quit"]
itewsh has joined #ocaml
hkBst has joined #ocaml
johnnowak has quit []
mbishop_ has joined #ocaml
<flux> mfp, eigenclass.org is down?
vixey has quit [Read error: 104 (Connection reset by peer)]
vixey has joined #ocaml
mbishop__ has quit [Read error: 110 (Connection timed out)]
_zack has quit ["Leaving."]
gene9 has joined #ocaml
gene9 has quit [Client Quit]
gene9 has joined #ocaml
jeddhaberstro has joined #ocaml
jeddhaberstro has quit [Client Quit]
Stefan_vK1 has joined #ocaml
gene9 has quit ["Leaving"]
Stefan_vK has quit [Read error: 110 (Connection timed out)]
johnnowak has joined #ocaml
jlouis has quit [Remote closed the connection]
jeddhaberstro has joined #ocaml
itewsh has quit ["KTHXBYE"]
vixey has quit [Read error: 104 (Connection reset by peer)]
vixey has joined #ocaml
ofaurax has quit ["Leaving"]
alexyk has joined #ocaml
rwmjones has quit [Remote closed the connection]
alexyk has quit []
ygrek has quit [Remote closed the connection]
pedlar has joined #ocaml
<pedlar> hi
<pedlar> how similar are f# and ocaml?
alexyk has joined #ocaml
ygrek has joined #ocaml
<Smerdyakov> pedlar, very similar. Many programs are legal in both languages.
<Smerdyakov> There are significant differences that are easy to avoid for simple programs.
<pedlar> how would i make something like this work: http://pastebin.com/d453eb64d
<mrvn> pedlar: you need leafs.
<pedlar> not the specific tree implementation
<pedlar> i'm just curious about my type situation
<mrvn> with "and"
<pedlar> the NodeCollection record doesn't have the QuadTreeNode available
<Smerdyakov> pedlar, what source are you using to learn OCaml?
<pedlar> its f# really
<pedlar> howw would you do something like that in ocaml
<vixey> pedlar, by learning ocaml
<vixey> pedlar, by learning ocaml
<pedlar> thanks for the useful response
<vixey> pedlar, then typing the obvious thing which is equivalent
alexyk_ has joined #ocaml
<Smerdyakov> pedlar, what source are you using to learn F#?
<pedlar> expert f#
<Smerdyakov> pedlar, and that book doesn't cover mutually-recursive types?
<mrvn> type nodeCollection = {ne:quadTreeNode; nw:quadTreeNode; se:quadTreeNode; sw:quadTreeNode} and quadTreeNode = {nodes:nodeCollection; key:int; value:int}
alexyk_ has quit [Client Quit]
<vixey> pedlar, go to #F# then
<pedlar> wow, you really make me want to learn ocaml man
<mrvn> pedlar: Problem is that that type is endless. You can never create a valid instance of it.
<mrvn> pedlar: you could use something like this: type quadTree = Leaf of point * value | Node of point * quadTree * quadTree * quadTree * quadTree
<mrvn> Or make nodes a NodeCollection option
<pedlar> hrm, ty
<Smerdyakov> pedlar, are you trying to write this program before reading a part of F# that explains how to do such things?
pedlar has quit [Read error: 54 (Connection reset by peer)]
<mrvn> Smerdyakov: Weeks of programming can save you days of learning. :)
<Smerdyakov> mrvn, I don't think I get your point.
pedlar has joined #ocaml
<Smerdyakov> pedlar, are you trying to write this program before reading a part of _Expert_F#_ that explains how to do such things?
<mrvn> Smerdyakov: there is an "do before thinking" approach to writing software.
<Smerdyakov> mrvn, and are you saying that you approve or disapprove of it?
<mrvn> I understand it.
<vixey> mrvn, There is a study of hitting onesself on the head as hard as possible with a frying pan
<vixey> mrvn, we call it CS here
<mrvn> vixey: does it pay good?
<pedlar> i thought i'd read the right parts
alexyk has quit [Read error: 110 (Connection timed out)]
<Smerdyakov> pedlar, if you don't know how to do something, and you haven't finished the book yet, it's usually worth giving up and going back to reading.
blando__ has joined #ocaml
pedlar has quit [Read error: 104 (Connection reset by peer)]
mbishop_ has quit [Read error: 110 (Connection timed out)]
mbishop_ has joined #ocaml
pedlar has joined #ocaml
seafood has joined #ocaml
pedlar has quit [Read error: 54 (Connection reset by peer)]
munificent has joined #ocaml
blando__ has left #ocaml []
pedlar has joined #ocaml
mbishop__ has joined #ocaml
mbishop_ has quit [Read error: 60 (Operation timed out)]
pedlar has quit [Read error: 54 (Connection reset by peer)]
pedlar has joined #ocaml
pedlar has quit [Read error: 104 (Connection reset by peer)]
pedlar has joined #ocaml
pedlar has quit [Read error: 104 (Connection reset by peer)]
vixey has quit [Read error: 104 (Connection reset by peer)]
pedlar has joined #ocaml
pedlar has quit [Read error: 104 (Connection reset by peer)]
mbishop_ has joined #ocaml
mbishop__ has quit [Read error: 110 (Connection timed out)]
pedlar has joined #ocaml
pedlar has quit [Read error: 104 (Connection reset by peer)]
seafood has quit []
vixey has joined #ocaml
munificent has quit []
johnnowak has quit []
mbishop__ has joined #ocaml
mbishop_ has quit [Read error: 110 (Connection timed out)]
ygrek has quit [Remote closed the connection]
johnnowak has joined #ocaml
alexyk has joined #ocaml
mbishop__ has quit [Read error: 110 (Connection timed out)]
mbishop__ has joined #ocaml
mbishop_ has joined #ocaml
mbishop has joined #ocaml