adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml MOOC http://1149.fr/ocaml-mooc | OCaml 4.02.3 announced http://ocaml.org/releases/4.02.html | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
jacquev6 has joined #ocaml
yegods has joined #ocaml
badon has quit [Ping timeout: 240 seconds]
jeffmo has quit [Quit: jeffmo]
badon has joined #ocaml
yegods has quit [Ping timeout: 264 seconds]
yegods has joined #ocaml
ygrek_ has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
Stalkr_ has quit [Quit: Leaving...]
madroach has quit [Ping timeout: 246 seconds]
madroach has joined #ocaml
jacquev6 has quit [Quit: jacquev6]
shinnya has quit [Ping timeout: 264 seconds]
badon has quit [Ping timeout: 260 seconds]
badon has joined #ocaml
jgjl has joined #ocaml
jgjl has quit [Client Quit]
lewis1711 has joined #ocaml
NingaLeaf has joined #ocaml
struk|desk|away is now known as struk|desk
ely-se has quit [Quit: Leaving...]
struk|desk2 has joined #ocaml
toolslive has quit [Ping timeout: 255 seconds]
struk|desk has quit [Ping timeout: 276 seconds]
_whitelogger_ has joined #ocaml
badon has quit [Quit: Leaving]
lobo has quit [Quit: leaving]
sz0 has joined #ocaml
tvaalen_ has joined #ocaml
adrien_ has joined #ocaml
infinity0_ has joined #ocaml
infinity0 has quit [Killed (asimov.freenode.net (Nickname regained by services))]
infinity0_ is now known as infinity0
madroach has quit [*.net *.split]
Mirry has quit [*.net *.split]
Madars has quit [*.net *.split]
vpm has quit [*.net *.split]
tvaalen has quit [*.net *.split]
johnelse has quit [*.net *.split]
ohama has quit [*.net *.split]
adrien has quit [*.net *.split]
troydm has quit [*.net *.split]
theblatte has quit [*.net *.split]
cyraxjoe has quit [*.net *.split]
exm has quit [*.net *.split]
emias has quit [*.net *.split]
dmiller has quit [*.net *.split]
haelix_ has quit [*.net *.split]
Muzer has quit [*.net *.split]
ia0 has quit [*.net *.split]
gdsfh has quit [*.net *.split]
dinosaure has quit [*.net *.split]
rks` has quit [*.net *.split]
riveter has quit [*.net *.split]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
vpm has joined #ocaml
madroach has joined #ocaml
Madars has joined #ocaml
troydm has joined #ocaml
emias has joined #ocaml
Mirry has joined #ocaml
gdsfh has joined #ocaml
riveter has joined #ocaml
ia0 has joined #ocaml
haelix_ has joined #ocaml
theblatte has joined #ocaml
johnelse has joined #ocaml
dmiller has joined #ocaml
dinosaure has joined #ocaml
ohama has joined #ocaml
cyraxjoe has joined #ocaml
exm has joined #ocaml
rks` has joined #ocaml
Muzer has joined #ocaml
d0nn1e has quit [Ping timeout: 245 seconds]
cschneid has quit [Ping timeout: 260 seconds]
jkni has quit [Ping timeout: 260 seconds]
dch has quit [Ping timeout: 260 seconds]
cschneid has joined #ocaml
d0nn1e has joined #ocaml
dch has joined #ocaml
jkni has joined #ocaml
printer has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
Sim_n has quit [Ping timeout: 255 seconds]
<printer> Can someone explain me how to use my function write type out_channel to write some word into a file , words are contained into a parameter passed to an function ?
<lewis1711> how can we explain how to use a function you wrote that we don't know the definition of?
divyanshu has joined #ocaml
<printer> her is my function , I just want to write into a file what I have insert into my trie
jeffmo has joined #ocaml
<printer> ... before
<Mirry> Are you writing an assignment involving t9 type keypad?
divyanshu has quit [Quit: Computer has gone to sleep.]
<printer> oui Mirry
<Mirry> Oh you're that same guy
<printer> ????
divyanshu has joined #ocaml
<Mirry> I mean, you came here for help before, didn't you?
<Mirry> Or was it one of your pal doing the same assignment
printer has quit [Quit: Page closed]
mac10688 has quit [Ping timeout: 250 seconds]
yegods has quit [Remote host closed the connection]
FreeBirdLjj has quit [Ping timeout: 265 seconds]
badon has joined #ocaml
yegods has joined #ocaml
FreeBirdLjj has joined #ocaml
Kamel has joined #ocaml
yegods has quit [Remote host closed the connection]
<Kamel> I have a tree that needs to be printed to a file given this function save_words : out_channel -> trie -> unit. How can I get a string from the data type? My function http://pastebin.com/FW4KQ6LT
Kamel has quit [Quit: Page closed]
<Mirry> Isn't there a deriving (Show) equivalent in ocaml?
<lewis1711> no
tmtwd has joined #ocaml
<Mirry> How do we do it then lewis1711?
<lewis1711> manually
tmtwd has quit [Client Quit]
<Mirry> Oh ok
govg has quit [Quit: leaving]
govg has joined #ocaml
_whitelogger has joined #ocaml
jeffmo has quit [Quit: jeffmo]
divyanshu has quit [Quit: Computer has gone to sleep.]
darkf has joined #ocaml
pierpa has quit [Ping timeout: 276 seconds]
divyanshu has joined #ocaml
NingaLeaf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
psy_ has quit [Read error: No route to host]
FreeBirdLjj has joined #ocaml
Algebr`` has joined #ocaml
divyanshu has quit [Quit: Computer has gone to sleep.]
MercurialAlchemi has joined #ocaml
struk|desk2 is now known as struk|desk|away
divyanshu has joined #ocaml
Mirry has quit [Ping timeout: 246 seconds]
yallop has quit [Ping timeout: 240 seconds]
yallop has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
sz0 has quit [Quit: Bye.]
MercurialAlchemi has quit [Ping timeout: 246 seconds]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
adrien_ is now known as adrien
Sim_n has joined #ocaml
kdas_ has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
slash^ has joined #ocaml
ygrek has quit [Ping timeout: 272 seconds]
divyanshu has quit [Quit: Computer has gone to sleep.]
JacobEdelman has quit [Quit: Connection closed for inactivity]
divyanshu has joined #ocaml
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
lewis1711 has left #ocaml ["Ex-Chat"]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
tvaalen_ has quit [Changing host]
tvaalen_ has joined #ocaml
vpm has quit [Quit: co'o]
vpm has joined #ocaml
tvaalen_ is now known as tvaalen
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
divyanshu has quit [Quit: Textual IRC Client: www.textualapp.com]
toolslive has joined #ocaml
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
jacquev6 has joined #ocaml
luzie has joined #ocaml
ely-se has joined #ocaml
kakadu has joined #ocaml
xyh has joined #ocaml
zpe has joined #ocaml
MercurialAlchemi has joined #ocaml
dexterph has quit [Ping timeout: 264 seconds]
dexterph has joined #ocaml
ygrek has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
kdas_ has joined #ocaml
rwmjones has quit [Ping timeout: 265 seconds]
kdas_ has quit [Ping timeout: 260 seconds]
Haudegen has quit [Ping timeout: 240 seconds]
ygrek has joined #ocaml
BitPuffin|osx has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
kakadu has quit [Remote host closed the connection]
Haudegen has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
Mirry has joined #ocaml
<jyc> ppx_deriving can help you out a little bit
ygrek has quit [Ping timeout: 245 seconds]
dexterph has quit [Ping timeout: 255 seconds]
jacquev6 has quit [Quit: jacquev6]
jacquev6 has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
zpe has joined #ocaml
jacquev6 has quit [Quit: jacquev6]
jacquev6 has joined #ocaml
lostman has quit [Quit: Connection closed for inactivity]
rwmjones has joined #ocaml
jacquev6 has quit [Quit: jacquev6]
dexterph has joined #ocaml
shinnya has joined #ocaml
AlexRussia has quit [Quit: WeeChat 1.4-dev]
lewis1711 has joined #ocaml
MercurialAlchemi has joined #ocaml
ely-se has quit [Quit: Leaving...]
cody` has quit [Quit: Connection closed for inactivity]
eikke has quit [Remote host closed the connection]
eikke has joined #ocaml
AlexRussia has joined #ocaml
mort___ has joined #ocaml
<lewis1711> interesting. in utop, I can do "val |> Constructor", but when I compile with corebuild I can't at all
<lewis1711> and by "interesting" I mean "annoying and time consuming"
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
<flux> is there some decent hash algorithm I can feed a byte and get the hash out, then feed a new byte and get a new hash?
<flux> well, I suppose most work ok for that, it's just an api limitation..
lobo has joined #ocaml
kakadu has joined #ocaml
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
yegods has joined #ocaml
yegods has quit [Remote host closed the connection]
smondet has quit [Ping timeout: 272 seconds]
yegods has joined #ocaml
mort___ has quit [Quit: Leaving.]
sbrouf has joined #ocaml
yegods has quit [Remote host closed the connection]
dexterph has quit [Ping timeout: 255 seconds]
yegods has joined #ocaml
BitPuffin|osx has quit [Ping timeout: 240 seconds]
relrod_ is now known as relrod
FreeBirdLjj has quit [Remote host closed the connection]
dexterph has joined #ocaml
FreeBirdLjj has joined #ocaml
mort___ has joined #ocaml
jacquev6 has joined #ocaml
jacquev6 has quit [Ping timeout: 256 seconds]
jacquev6 has joined #ocaml
mac10688 has joined #ocaml
jacquev6 has quit [Ping timeout: 264 seconds]
xyh is now known as ziyudiemou1`
ziyudiemou1` is now known as xyh
Eclipse has joined #ocaml
* Eclipse slaps zozozo around a bit with a large fishbot
Eclipse is now known as Guest15888
* zozozo gives a fish to Guest15888 as a peace sign
toolslive has quit [Ping timeout: 255 seconds]
Sim_n is now known as Simn
mort___ has left #ocaml [#ocaml]
toolslive has joined #ocaml
Enjolras has quit [Quit: update OS]
octachron has joined #ocaml
toolslive has quit [Ping timeout: 255 seconds]
toolslive has joined #ocaml
smondet has joined #ocaml
jacquev6 has joined #ocaml
jacquev6 has quit [Client Quit]
d0nn1e has quit [Ping timeout: 245 seconds]
d0nn1e has joined #ocaml
jacquev6 has joined #ocaml
jacquev6 has quit [Ping timeout: 264 seconds]
smondet has quit [Ping timeout: 272 seconds]
struk|desk|away is now known as struk|desk2
jeffmo has joined #ocaml
smondet has joined #ocaml
Mirry has quit [Ping timeout: 255 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 255 seconds]
Mirry has joined #ocaml
struk|desk2 is now known as struk|desk|away
Mirry has quit [Ping timeout: 255 seconds]
ncthom91 has joined #ocaml
<xyh> is there a better way to do this in ocaml ?? https://img.vim-cn.com/f5/6f150d899471f63ba145a7337b90693765a47b.png
<xyh> [the example is taken from << the little MLer >>]
<xyh> it is about the syntax for pattern match of curryed funciton
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<def`> xyh: http://pastebin.com/EJ9THzkB is closer to idiomatic OCaml code
<xyh> thanks def`
<xyh> so, no optimized syntax for curry ?
ncthom91 has joined #ocaml
jacquev6 has joined #ocaml
Mirry has joined #ocaml
toolslive has quit [Ping timeout: 255 seconds]
jacquev6 has quit [Ping timeout: 272 seconds]
Guest15888 has quit [Quit: Page closed]
pierpa has joined #ocaml
lewis1711 has quit [Ping timeout: 245 seconds]
toolslive has joined #ocaml
cody` has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
govg has quit [Remote host closed the connection]
ggole has joined #ocaml
govg has joined #ocaml
struk|desk|away is now known as struk|desk2
psy_ has joined #ocaml
zpe has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
lobo has quit [Quit: leaving]
t4nk837 has joined #ocaml
malc_ has joined #ocaml
mal`` has quit [Ping timeout: 244 seconds]
struk|desk2 has quit [Remote host closed the connection]
Algebr`` has quit [Ping timeout: 250 seconds]
sh0t has quit [Ping timeout: 256 seconds]
mal`` has joined #ocaml
mort___ has joined #ocaml
mort___ has quit [Client Quit]
malc_ has quit [Ping timeout: 245 seconds]
t4nk837 has quit [Quit: Page closed]
malc_ has joined #ocaml
fredyr has joined #ocaml
<Drup> Mirry: as jyc said, ppx_deriving
<Mirry> Is it something used in the real world ?
<Mirry> Or is it more of an experiment
<Drup> it's used
<Mirry> Ok
<Mirry> Thank you Drup!
zpe has quit [Remote host closed the connection]
Haudegen has quit [Ping timeout: 264 seconds]
<xyh> how do you declare a type of a variable, before define it ?
<Drup> Not sure I understand
<xyh> I wish to write the type in front of a function definition, instead of at the end of a function definition.
<Drup> let f : a -> b -> c = fun x y = ..
<Drup> is that what you want ?
<xyh> let rec sort : 'a list -> 'a list = fun list =
<xyh> match list with [] -> [] | head :: tail -> insert head (sort tail)
<xyh> ?
mort___ has joined #ocaml
<xyh> with 'function ...' I can write > let rec only_onions : shish_kebab -> bool = function ...
<xyh> but with 'match ... with ...' I can not declare the type ?
<Drup> it should be the same
<Drup> ah
lobo has joined #ocaml
<Drup> it's fun x y ->
<Drup> not =
<xyh> oh!
<xyh> thx Drup, it is cool now :)
<xyh> is it true that normally ocaml programmers omit the type declarations ?
<Drup> yeah
<companion_cube> public values are usually declared in .mli files though
<companion_cube> private functions and values's are often omitted
mort___ has left #ocaml [#ocaml]
Haudegen has joined #ocaml
Algebr`` has joined #ocaml
jacquev6 has joined #ocaml
ygrek has joined #ocaml
jacquev6 has quit [Client Quit]
lokien has joined #ocaml
<al-maisan> hello there, does anyone know of a tutorial or of nice/documented examples of the rpc_parallel library?
struk|desk has joined #ocaml
<Algebr``> is that the core thing?
jeffmo has quit [Quit: jeffmo]
MercurialAlchemi has joined #ocaml
zpe has joined #ocaml
jacquev6 has joined #ocaml
caisah has joined #ocaml
caisah has left #ocaml [#ocaml]
darkf has quit [Quit: Leaving]
jacquev6 has quit [Quit: jacquev6]
groovy2shoes has quit [Quit: Leaving]
struk|desk is now known as struk|desk|away
larhat1 has quit [Ping timeout: 240 seconds]
larhat1 has joined #ocaml
larhat1 has quit [Remote host closed the connection]
larhat1 has joined #ocaml
jacquev6 has joined #ocaml
jacquev6 has quit [Client Quit]
ggole has quit [Ping timeout: 260 seconds]
octachron has quit [Quit: Leaving]
jacquev6 has joined #ocaml
Ocamla has joined #ocaml
sh0t has joined #ocaml
JacobEdelman has joined #ocaml
jacquev6 has quit [Quit: jacquev6]
cody` has quit [Quit: Connection closed for inactivity]
slash^ has quit [Read error: Connection reset by peer]
Algebr`` has quit [Ping timeout: 245 seconds]
xyh has quit [Ping timeout: 240 seconds]
jgjl has joined #ocaml
mahem1 has joined #ocaml
toolslive has quit [Quit: Leaving]
zpe has quit [Remote host closed the connection]
jacquev6 has joined #ocaml
jacquev6 has quit [Client Quit]
Ocamla has quit [Ping timeout: 252 seconds]
jacquev6 has joined #ocaml
mort___ has joined #ocaml
mort___ has left #ocaml [#ocaml]
jacquev6 has quit [Client Quit]
sbrouf has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
cody` has joined #ocaml
ely-se has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 265 seconds]
ncthom91 has joined #ocaml
lokien has quit [Quit: Leaving]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zpe has quit [Remote host closed the connection]
Algebr`` has joined #ocaml
struk|desk|away is now known as struk|desk
fredyr has quit [Quit: Lost terminal]
malc_ has quit [Quit: leaving]
kakadu has quit [Remote host closed the connection]
cyraxjoe_ has joined #ocaml
cyraxjoe has quit [Ping timeout: 246 seconds]
jacquev6 has joined #ocaml
jacquev6 has quit [Client Quit]
jacquev6 has joined #ocaml
mort___ has joined #ocaml
contempt has quit [Disconnected by services]
contempt has joined #ocaml
jacquev6 has quit [Client Quit]
jacquev6 has joined #ocaml
mort___ has left #ocaml [#ocaml]
yegods has quit []
struk|desk is now known as struk|desk|away
struk|desk|away is now known as struk|desk
contempt has quit [Disconnected by services]
contempt has joined #ocaml