ulfdoz has joined #ocaml
Gueben has quit [Remote closed the connection]
Smerdyakov has joined #ocaml
fab_ has joined #ocaml
_fab has quit [Read error: 110 (Connection timed out)]
paganini has joined #ocaml
_Esine has joined #ocaml
Esine has quit [Read error: 104 (Connection reset by peer)]
_Esine is now known as esine
mlh has quit [Client Quit]
mlh_away has joined #ocaml
mlh_away has quit [Remote closed the connection]
angagon has joined #ocaml
angagon has left #ocaml []
mlh_away has joined #ocaml
mlh_away is now known as mlh
Banana_ has joined #ocaml
paganini has quit [kornbluth.freenode.net irc.freenode.net]
gim has quit [kornbluth.freenode.net irc.freenode.net]
Snark has quit [kornbluth.freenode.net irc.freenode.net]
zvrba has quit [kornbluth.freenode.net irc.freenode.net]
Banana has quit [kornbluth.freenode.net irc.freenode.net]
Schmurtz has quit [kornbluth.freenode.net irc.freenode.net]
zvrba has joined #ocaml
gim has joined #ocaml
Snark has joined #ocaml
Schmurtz has joined #ocaml
esine has quit [kornbluth.freenode.net irc.freenode.net]
mauke has quit [kornbluth.freenode.net irc.freenode.net]
cmeme has quit [kornbluth.freenode.net irc.freenode.net]
mellum has quit [kornbluth.freenode.net irc.freenode.net]
mw has quit [kornbluth.freenode.net irc.freenode.net]
mfurr has quit [kornbluth.freenode.net irc.freenode.net]
Mike_L has quit [kornbluth.freenode.net irc.freenode.net]
mlh has quit ["ni!"]
Smerdyakov has quit []
cmeme has joined #ocaml
esine has joined #ocaml
mauke has joined #ocaml
Mike_L has joined #ocaml
mfurr has joined #ocaml
mw has joined #ocaml
mellum has joined #ocaml
esine has quit ["changing servers"]
esine has joined #ocaml
cmeme has quit [Remote closed the connection]
cmeme has joined #ocaml
cmeme has quit [Remote closed the connection]
cmeme has joined #ocaml
<
zvrba>
a simple question: is there a syntax to curry function on arbitrary arguments instead of their definition order?
<
zvrba>
for example let add x y = x + y ;;
<
zvrba>
or better yet, let sub x y = x - y ;;
<
fluxx>
not without using named arguments
<
fluxx>
or using auxiliary functions such as let swap f a b = f b a
<
zvrba>
fluxx: can you give an example of named arguments?
<
zvrba>
how could I curry sub on the 2nd argument?
<
fluxx>
let sub ~a ~b = a - b
<
fluxx>
(sub ~b:10) 42
<
zvrba>
fluxx: thanks!
<
fluxx>
btw, the documentation is a great read ;)
<
fluxx>
(can one say it like that?-o)
<
zvrba>
fluxx: but there is too much :) I'm reading Jason Hickey's book
<
zvrba>
and it does not give all the details
<
zvrba>
it's a great hands-on tutorial though
<
fluxx>
atleast glance it through to get an overview of features, and later search for topics of interest
<
zvrba>
most of the time I'm browsing the library reference
<
zvrba>
I
*did* see ~arg features in the docs, it didn't occur to me at that point that it can be useful for currying
<
fluxx>
for example the module system is something few (if any?) tutorials give any attention to
<
zvrba>
this one does. I was like
*wow* when I was reading about functors
<
zvrba>
but ok, I will definetly read the docs when I have some mor on-hands experience
<
zvrba>
fluxx: did you browse through Didier Remy's tutorial (Using,understanding, and unraveling the ocaml language)
<
fluxx>
I don't remember, propably not
Schmurtz has quit ["Plouf !"]
<
zvrba>
where from did you learn ocaml?
<
zvrba>
(didier's tutorial is quite full of formal math and algebra)
<
fluxx>
from other tutorials, and of course the documentation
<
zvrba>
(not that I mind that, but it's not good for practicing)
<
zvrba>
fluxx: any specific one to recommend.. or I just browse through the resources on caml.inria.fr
Nutssh has joined #ocaml
<
fluxx>
happy hacking. I'll be moving myself to the office..
<
zvrba>
fluxx: thanks. I'm on vacation so I"ve decided to use it to learn a new language
<
zvrba>
i had to implement something that would perfectly fit ocaml, but I did not know it and implemented the thing in C++
<
zvrba>
and I've said to myself: never again :) functional programming in C++ is a pain, mostly because of lack of type inference
gim has quit [kornbluth.freenode.net irc.freenode.net]
Snark has quit [kornbluth.freenode.net irc.freenode.net]
gim has joined #ocaml
Snark has joined #ocaml
_fab has joined #ocaml
fab_ has quit [Read error: 104 (Connection reset by peer)]
Enveigler_ has joined #ocaml
smimou has joined #ocaml
waltraud has joined #ocaml
ulfdoz has quit [Read error: 110 (Connection timed out)]
Enveigler_ has quit [Read error: 110 (Connection timed out)]
Enveigler_ has joined #ocaml
vezenchio has joined #ocaml
Gueben has joined #ocaml
Banana_ is now known as Banana
Nutssh has quit ["Client exiting"]
Saulzar has joined #ocaml
<
Saulzar>
What do you people like to use as an editor/IDE for ocaml?
<
Saulzar>
I suspected vim/emacs would be popular... I've been going a little crazy using a text editor and fixing errors by looking up line numbers
<
Saulzar>
After using a good IDE for mainstream languages one becomes addicted to the conveniences
Enveigler_ has quit [Read error: 110 (Connection timed out)]
<
mellum>
Saulzar: well, you can jump to the error lines with emacs.
<
mellum>
I'd guess with vim too, somehow.
* Snark
doesn't make errors
thuglife has joined #ocaml
<
thuglife>
Anyone is using ocaml on an ARM processor?
_fab has joined #ocaml
thuglife has left #ocaml []
_fab has quit [Remote closed the connection]
_fab has joined #ocaml
mfurr has quit [Read error: 110 (Connection timed out)]
mfurr has joined #ocaml
Smerdyakov has joined #ocaml
esine is now known as Esine
Gueben has quit [Read error: 104 (Connection reset by peer)]
Gueben has joined #ocaml
mfurr has quit [Read error: 110 (Connection timed out)]
cmeme has quit ["Client terminated by server"]
cmeme has joined #ocaml
mauke has quit ["Lost terminal"]
mauke has joined #ocaml
Smerdyakov has quit ["work"]
GuebN has joined #ocaml
Gueben has quit [Nick collision from services.]
GuebN is now known as Gueben
pattern_ has joined #ocaml
mfurr has joined #ocaml
monochrom has joined #ocaml
Saulzar has quit ["Leaving"]
monochrom has quit ["good morning, sweet dream"]
Gueben is now known as ErikOrsenna
ErikOrsenna is now known as Gueben
angagon has joined #ocaml
angagon has left #ocaml []
ulfdoz has joined #ocaml
Snark has quit ["Leaving"]
tny has joined #ocaml
waltraud has quit [Read error: 110 (Connection timed out)]
<
tny>
threading is a hard chunk to swallow
<
tny>
any idea for a quick xml sax parser ?
ulfdoz has quit ["deprecated"]
ulfdoz has joined #ocaml
<
tny>
fluxx: complicated tools ..
<
tny>
xmllight perhaps
tny is now known as tnay|zzz
* tnay|zzz
wishes a good night to everybody