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!)
Yoric[DT] has quit ["Ex-Chat"]
smimou has quit ["bli"]
smimou has joined #ocaml
|Catch22| has quit [Read error: 104 (Connection reset by peer)]
jburd has quit [Connection timed out]
jburd has joined #ocaml
hkBst has quit ["Konversation terminated!"]
bzzbzz has joined #ocaml
mordaunt has joined #ocaml
smimou has quit ["bli"]
malc_ has joined #ocaml
rogo has quit [Read error: 110 (Connection timed out)]
nuncanada has quit ["Leaving"]
Abo-Marwan has quit [Remote closed the connection]
screwt8 has quit [Remote closed the connection]
rog1 has joined #ocaml
david_koontz has quit []
Demitar has joined #ocaml
buluca has quit [Read error: 113 (No route to host)]
screwt8 has joined #ocaml
jburd has quit [Connection timed out]
ttamttam has joined #ocaml
Zzompp has joined #ocaml
Abo-Marwan has joined #ocaml
beterraba has joined #ocaml
ttamttam has left #ocaml []
|Catch22| has joined #ocaml
<beterraba> do u know the book "ML For the Working Programer"?
<beterraba> by paulson?
<beterraba> if yes, where can i find the chapter 10's answers?
ertai_ has joined #ocaml
rayno has joined #ocaml
<tsuyoshi> ok, I narrowed down my polymorphism problem
ulfdoz has quit [Read error: 61 (Connection refused)]
<tsuyoshi> you can get the same thing with just:
<tsuyoshi> let foo bar = bar
<tsuyoshi> let baz = foo foo
<tsuyoshi> let true = baz true
<tsuyoshi> let 1 = baz 1
<tsuyoshi> by the fourth line it thinks baz is bool -> bool and gives a type error
<tsuyoshi> so I guess you can't write a function that returns a polymorphic function, or something
<tsuyoshi> I know I've seen this discussed before on the mailing list but I can't think of what to search for to find it
<malc_> tsuyoshi: http://pastebin.ca/776674
Demitar has quit [Read error: 110 (Connection timed out)]
<tsuyoshi> oh thanks
<tsuyoshi> hrm but that means what I was trying to do was impossible
david_koontz has joined #ocaml
<flux> tsuyoshi, if you really need to return polymorphic functions (can happen, I've done that) you need to use either objects or records
<flux> tsuyoshi, record with a polymorphic function: { f : 'a. 'a -> 'a }
<flux> objects methods are defined similarly
<tsuyoshi> oh objects I knew but I didn't know you could do that with a record
david_koontz has quit []
david_koontz has joined #ocaml
mordaunt has quit ["Konversation terminated!"]
ertai_ has quit [Read error: 110 (Connection timed out)]
seafood_ has joined #ocaml
ulfdoz has joined #ocaml
seafood_ has quit []
david_koontz has quit []
david_koontz has joined #ocaml
david_koontz has quit [Remote closed the connection]
seafood_ has joined #ocaml
seafood_ has quit []
ttamttam has joined #ocaml
det has joined #ocaml
rayno has quit ["Leaving"]
diakopter has quit ["leaving"]
Mr_Awesome has quit ["aunt jemima is the devil!"]
filp has joined #ocaml
Yoric[DT] has joined #ocaml
<Yoric[DT]> hi
<Ober> hi
Yoric[DT] has quit ["Ex-Chat"]
Yoric[DT] has joined #ocaml
ikaros has quit [Remote closed the connection]
ikaros has joined #ocaml
ertai_ has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
apastinen has joined #ocaml
<apastinen> hi. i have a simple newbie problem. how can i join two strings?
<acatout> apastinen: Concatenate? string1 ^ string2
<acatout> apastinen: You may have to write (string1 ^ string2)
<apastinen> acatout: yes, thanks man :)
Demitar has joined #ocaml
malc_ has quit ["leaving"]
beterraba has quit [Read error: 104 (Connection reset by peer)]
authentic has joined #ocaml
ertai_ has quit [Read error: 110 (Connection timed out)]
asmanur has joined #ocaml
ttamttam has left #ocaml []
jlouis_ has joined #ocaml
jburd has joined #ocaml
ertai_ has joined #ocaml
hkBst has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
ttamttam has joined #ocaml
apastinen has quit ["leaving"]
sergez has quit [Read error: 104 (Connection reset by peer)]
ttamttam has left #ocaml []
apastinen has joined #ocaml
buluca has joined #ocaml
ertai_ has quit [Read error: 104 (Connection reset by peer)]
<flux> hmm.. pa_macro is actually nice when doing large changes, and one likes to have the old, non-compiled code, by the source you're editing (behind IFDEF OldCode) - like in C :)
ikaros_ has joined #ocaml
ttamttam has joined #ocaml
ttamttam has left #ocaml []
ttamttam has joined #ocaml
ttamttam has left #ocaml []
<flux> ah, they cannot be used just plain replacements, because they still require proper structure in them..
ttamttam has joined #ocaml
ttamttam has left #ocaml []
schme has left #ocaml []
gim has quit [Remote closed the connection]
ttamttam has joined #ocaml
ttamttam has left #ocaml []
ikaros has quit [Read error: 110 (Connection timed out)]
jburd has left #ocaml []
ygrek has joined #ocaml
piggybox has joined #ocaml
Yoric[DT] has joined #ocaml
<Yoric[DT]> hi
Tetsuo has joined #ocaml
pango has quit [Remote closed the connection]
ttamttam has joined #ocaml
ttamttam has left #ocaml []
pango has joined #ocaml
Tetsuo has quit [Read error: 110 (Connection timed out)]
Tetsuo has joined #ocaml
d2bg has joined #ocaml
d2bg has left #ocaml []
Tetsuo has quit [Read error: 110 (Connection timed out)]
ygrek has quit [Remote closed the connection]
d2bg has joined #ocaml
filp has quit ["Bye"]
ygrek has joined #ocaml
d2bg has quit ["ERC Version 5.3 (devel) (IRC client for Emacs)"]
Mr_Awesome has joined #ocaml
kazzmir_ has quit ["Leaving"]
david_koontz has joined #ocaml
jlouis has joined #ocaml
jlouis_ has quit [Read error: 110 (Connection timed out)]
david_koontz has quit [Read error: 104 (Connection reset by peer)]
david_koontz has joined #ocaml
kelaouchi has quit [Client Quit]
ygrek_ has joined #ocaml
bluestorm_ has joined #ocaml
smimou has joined #ocaml
ygrek has quit [Remote closed the connection]
asmanur has quit [Read error: 110 (Connection timed out)]
piggybox has quit [Read error: 110 (Connection timed out)]
ttamttam has joined #ocaml
ttamttam has quit ["Leaving."]
jlouis_ has joined #ocaml
Tetsuo has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
<Yoric[DT]> Has anyone tried pairing OcamlBuild and ulex ?
* Yoric[DT] just doesn't understand how to tell OCamlBuild how to link with ulex.
<Yoric[DT]> Well, any help with OCamlBuild would be gratefully accepted.
beterraba has joined #ocaml
<flux> sorry, the most advanced ocaml build system I've used thus far has been OCamlMakefile :)
rwmjones has quit ["Closed connection"]
d2bg has joined #ocaml
buluca has quit [Read error: 113 (No route to host)]
<Yoric[DT]> :/
<Yoric[DT]> Well, that's getting seriously annoying.
<Yoric[DT]> I think it's the interaction between GODI, ulex and ocamlbuild.
buluca has joined #ocaml
<Yoric[DT]> Ok, it's getting somewhat better.
<Yoric[DT]> Got it.
<Yoric[DT]> Well, that was hardd.
<Yoric[DT]> Well, that was hard.
chris2 has joined #ocaml
jlouis has joined #ocaml
bluestorm_ has quit ["Konversation terminated!"]
ygrek_ has quit [Remote closed the connection]
jlouis_ has quit [Read error: 110 (Connection timed out)]
kelaouchi has joined #ocaml
Tetsuo has quit ["Leaving"]
b4taylor_ has joined #ocaml
<b4taylor_> Anyone have experience with the Curses module?
beterraba has quit [Read error: 110 (Connection timed out)]
b4taylor_ has quit ["leaving"]
chris2 has quit ["leaving"]
<Yoric[DT]> not me
Yoric[DT] has quit ["Ex-Chat"]
ertai_ has joined #ocaml
hkBst has quit ["Konversation terminated!"]
jlouis_ has joined #ocaml
jlouis has quit [Connection timed out]