mfp changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.11.2 released | Inscription for OCaml Meeting 2010 is opened http://wiki.cocan.org/events/europe/ocamlmeetingparis2010
lokydor has quit [Ping timeout: 245 seconds]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
thrasibule_ has quit [Remote host closed the connection]
_unK has quit [Remote host closed the connection]
Submarine has quit [Ping timeout: 246 seconds]
jonludlam has quit [Ping timeout: 240 seconds]
jsk has quit [Ping timeout: 248 seconds]
Dawrk-Side has left #ocaml []
sshc has joined #ocaml
jonludlam has joined #ocaml
jsk has joined #ocaml
sshc has quit [Remote host closed the connection]
alpounet has joined #ocaml
carter has joined #ocaml
caligula_ has joined #ocaml
caligula__ has quit [Ping timeout: 276 seconds]
travisbrady has quit [Quit: travisbrady]
enthymeme has joined #ocaml
pad has quit [Remote host closed the connection]
ulfdoz has joined #ocaml
neorab has quit [Ping timeout: 240 seconds]
valross has joined #ocaml
travisbrady has joined #ocaml
aja has joined #ocaml
aja has quit [Remote host closed the connection]
aja has joined #ocaml
aja has quit [Read error: Connection reset by peer]
enthymeme has quit [Quit: rcirc on GNU Emacs 23.1.1]
neorab has joined #ocaml
ulfdoz has quit [Ping timeout: 248 seconds]
joewilliams is now known as joewilliams_away
jakedouglas has quit [Quit: Leaving.]
myu2 has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
f[x] has quit [Ping timeout: 240 seconds]
f[x] has joined #ocaml
valross has quit [Remote host closed the connection]
sealion has joined #ocaml
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
ttamttam has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
denim has joined #ocaml
Submarine has joined #ocaml
oc13 has joined #ocaml
sepp2k has joined #ocaml
sealion has quit [Remote host closed the connection]
denim has quit [Quit: http://irc2go.com/]
Yoric has joined #ocaml
sshc has joined #ocaml
denim has joined #ocaml
denim has quit [Client Quit]
ftrvxmtrx has joined #ocaml
Yoric has quit [Quit: Yoric]
valross has joined #ocaml
spearalot has joined #ocaml
ftrvxmtrx has quit [Quit: Leaving]
ftrvxmtrx has joined #ocaml
carter has quit [Ping timeout: 260 seconds]
travisbrady has quit [Quit: travisbrady]
myu2_ has joined #ocaml
myu2_ has quit [Remote host closed the connection]
ikaros has joined #ocaml
myu2 has quit [Ping timeout: 245 seconds]
myu2 has joined #ocaml
sepp2k has quit [Read error: Connection reset by peer]
ftrvxmtrx_ has joined #ocaml
ftrvxmtrx has quit [Read error: Connection reset by peer]
Submarine has quit [Ping timeout: 276 seconds]
myu2 has quit [Remote host closed the connection]
myu2 has joined #ocaml
avsm has joined #ocaml
Associat0r has quit [Quit: Associat0r]
avsm has quit [Quit: Leaving.]
th5 has joined #ocaml
derdon has joined #ocaml
thomasga has joined #ocaml
myu2 has quit [Read error: Connection reset by peer]
myu2 has joined #ocaml
myu2 has quit [Remote host closed the connection]
valross has quit [Quit: Ex-Chat]
leino has joined #ocaml
<th5> Does anyone know if the type information from -dtypes (-annot) changed? I set up a new computer and now C-c C-t only returns types for "toplevel" things - i.e. not for nested functions/variables
<flux> it may have been extended
<flux> try upgrading your caml-types.el to the one from your ocaml distribution
<flux> (and posibly other .el-files)
<th5> Right now I'm using 3.11.2 and the .el files straight from the emacs/ directory in the dist
<flux> works for me - albeit on 3.11.1
<th5> hmm - thanks
<flux> could always be a bug (ie. the .el-files haven't been updatet properly)?
<th5> i'll poke around a little - see if any of the .el's changed - maybe try compiling 3.11.1 and see if it works there
<flux> I take it you're sure you've regenerated the .annot files with the new system you're running?-)
<th5> yes - entirely new install - compiled ocaml from source
<th5> oh i see what you mean - yes - just made sure i wasnt using old/stale .annot files
avsm has joined #ocaml
<mehdid> th5: FWIW, works for me with ocaml 3.11.2
<th5> Thanks for checking.
<th5> In fact it does work for me. Problem seems to be using camlp5 elsewhere in the file. So this either didn't work for me before or worked because on the old install I was using OCamlSpotter.
_andre has joined #ocaml
th5 has quit [*.net *.split]
jlouis has quit [*.net *.split]
gildor has quit [*.net *.split]
hyperboreean has quit [*.net *.split]
haelix_ has quit [*.net *.split]
sgnb has quit [*.net *.split]
th5 has joined #ocaml
jlouis has joined #ocaml
haelix has joined #ocaml
hyperboreean has joined #ocaml
gildor has joined #ocaml
itewsh has joined #ocaml
itewsh has quit [Read error: Connection reset by peer]
itewsh has joined #ocaml
sgnb has joined #ocaml
_unK has joined #ocaml
itewsh has quit [Quit: There are only 10 kinds of people: those who understand binary and those who don't]
drk-sd has joined #ocaml
_unK has quit [Read error: Operation timed out]
_unK has joined #ocaml
boscop has joined #ocaml
_unK has quit [Remote host closed the connection]
fraggle_laptop has joined #ocaml
iratsu has joined #ocaml
iratsu has quit [Quit: Coyote finally caught me]
iratsu has joined #ocaml
_unK has joined #ocaml
joewilliams_away is now known as joewilliams
barismetin has joined #ocaml
ttamttam has quit [Quit: Leaving.]
jakedouglas has joined #ocaml
ttamttam has joined #ocaml
carter has joined #ocaml
adrien has quit [Quit: Lost terminal]
ftrvxmtrx_ has quit [Quit: Leaving]
ttamttam has quit [Quit: Leaving.]
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
adrien has joined #ocaml
avsm has quit [Quit: Leaving.]
spearalot has quit [Quit: -arividerchi]
segmond has joined #ocaml
pad has joined #ocaml
travisbrady has joined #ocaml
segmond has left #ocaml []
segmond has joined #ocaml
sepp2k has joined #ocaml
avsm has joined #ocaml
ulfdoz has joined #ocaml
neorab has quit [Ping timeout: 260 seconds]
neorab has joined #ocaml
ftrvxmtrx has joined #ocaml
oriba has joined #ocaml
oc13 has quit [Ping timeout: 264 seconds]
enthymeme has joined #ocaml
carter has left #ocaml []
oc13 has joined #ocaml
ygrek has joined #ocaml
leino has quit [Quit: leaving]
krankkatze has joined #ocaml
ttamttam has joined #ocaml
<krankkatze> Hi, I'm getting an error I don't understand
<krankkatze> http://paste.pocoo.org/show/213248/ - here's the code and the explanation of the error
<hcarty> krankkatze: I think you need to add in the function arguments explicitly, rather than relying on currying
<hcarty> There's a FAQ about this somewhere ... the compiler, in effect, does not make functions polymorphic enough in some situations
<krankkatze> well
<krankkatze> oh ok thanks :]
Associat0r has joined #ocaml
<hcarty> Adding the arguments explicitly to mem and possibly memm should get you closer at least :-)
<krankkatze> yes, it worked :]
<krankkatze> thank you
<hcarty> The toplevel can be helpful for things like this - if you see a lot of '_a where you expect 'a then it may be this same problem
ftrvxmtrx has quit [Read error: Connection reset by peer]
ftrvxmtrx has joined #ocaml
sepp2k has quit [Quit: Leaving.]
schme is now known as schmx
pimmhogeling has joined #ocaml
ccasin has joined #ocaml
avsm has quit [Quit: Leaving.]
pimmhogeling has quit [Remote host closed the connection]
_andre has quit [Quit: *puff*]
avsm has joined #ocaml
oriba has quit [Quit: Verlassend]
<derdon> how does python's try-except-else look in OCaml? I know how to handle exceptions in OCaml, but not how to define the part which is executed only if no exception was raised
<olegfink> derdon: just write some code after try ... with? :-)
<derdon> olegfink: ok
<derdon> thought there could be better style
<derdon> how can I avoid the ;; there: http://paste.pocoo.org/show/213315/
<derdon> one ; would have had a different meaning I think
<derdon> I want the ``exit 0`` to be executed after the try-with block
<mfp> begin try .... with ... end; exit 0
<olegfink> (try ... with ...); exit 0
<olegfink> mfp's faster.
<derdon> aww, right
fraggle_ has quit [Ping timeout: 276 seconds]
<derdon> olegfink: why is begin-end faster than (...)?
<olegfink> mfp himself was faster to type, not the code.
<mehdid> derdon: mfp was faster to *answer*...
<derdon> ah, okay
<mehdid> olegfink's faster
<mehdid> :)
fraggle_ has joined #ocaml
ccasin has quit [Quit: Leaving]
pad has quit [Read error: Connection reset by peer]
<derdon> which type should I choose if I want to slice a container (a list, for example)?
<derdon> let's say, I have a string list ``["a"; "b"; "c"; "d"]`` and I want to get the elements from index 1 to 3
<derdon> so that the return value is again a string list
<derdon> 'a list -> int -> int -> 'a list
<derdon> the two ints remark the start and end of the list (or array? which is better?)
fschwidom has joined #ocaml
<olegfink> derdon: slicing an array is generally more efficient; there is already Array.sub
<derdon> olegfink: ah, cool. that's exactly what I was looking for! thanks
ulfdoz has quit [Ping timeout: 260 seconds]
ccasin has joined #ocaml
peddie_ has joined #ocaml
ttamttam has quit [Quit: Leaving.]
peddie has quit [Ping timeout: 265 seconds]
barismetin has quit [Remote host closed the connection]
oc13 has quit [Ping timeout: 276 seconds]
ygrek has quit [Ping timeout: 245 seconds]
travisbrady has quit [Quit: travisbrady]
ftrvxmtrx has quit [Ping timeout: 265 seconds]
ftrvxmtrx has joined #ocaml
Submarine has joined #ocaml
derdon has quit [Ping timeout: 264 seconds]
ikaros has quit [Quit: Leave the magic to Houdini]
eb4890 has joined #ocaml
enthymeme has quit [Ping timeout: 246 seconds]
fschwidom has quit [Remote host closed the connection]
_unK has quit [Remote host closed the connection]
boscop_ has joined #ocaml
boscop has quit [Ping timeout: 248 seconds]
Amorphous has quit [Ping timeout: 245 seconds]
ftrvxmtrx has quit [Ping timeout: 276 seconds]
Amorphous has joined #ocaml