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
kig has quit ["leaving"]
iago has quit ["Leaving"]
jamii has quit [Remote closed the connection]
Ched has quit [Read error: 60 (Operation timed out)]
travisbrady has quit []
jamii has joined #ocaml
alexyk has joined #ocaml
Ched has joined #ocaml
AxleLonghorn has joined #ocaml
alexyk has quit []
Komar_ has quit [Read error: 60 (Operation timed out)]
sgnb has quit [Remote closed the connection]
sgnb has joined #ocaml
travisbrady has joined #ocaml
AxleLonghorn has left #ocaml []
<travisbrady> I'm trying to install ocaml-bitstring but it dies with "checking for camlp4of.opt... no configure: error: You must have camlp4 installed" despite the fact that i have camlp4 installed
<travisbrady> $ which camlp4 /usr/bin/camlp4
thelema has quit [Read error: 60 (Operation timed out)]
sporkmonger has quit ["Poof!"]
willb has joined #ocaml
alexyk has joined #ocaml
jm has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
<travisbrady> i needed camlp4-extras which i was able to install via apt-get if anyone cares
alexyk has quit []
ikaros has joined #ocaml
thelema has joined #ocaml
Yoric[DT] has joined #ocaml
jmou has joined #ocaml
Camarade_Tux has joined #ocaml
jm has quit [Read error: 110 (Connection timed out)]
Yoric[DT] has quit [Read error: 60 (Operation timed out)]
jeanbon has joined #ocaml
jeanbon has quit [Client Quit]
willb has quit [Read error: 110 (Connection timed out)]
ikaros_ has joined #ocaml
ikaros has quit [Read error: 104 (Connection reset by peer)]
m3ga has quit ["disappearing into the sunset"]
ikaros_ has quit [Read error: 104 (Connection reset by peer)]
ikaros_ has joined #ocaml
jeremiah has quit [Read error: 110 (Connection timed out)]
seafood has quit []
rAphael has joined #ocaml
schme has joined #ocaml
hkBst has joined #ocaml
smimou has joined #ocaml
ikaros_ has quit ["Leave the magic to Houdini"]
angerman has joined #ocaml
jamii has quit [Remote closed the connection]
jamii has joined #ocaml
rwmjones has quit [Remote closed the connection]
rwmjones_afk is now known as rwmjones
jeanbon has joined #ocaml
Asmadeus has quit ["poof"]
Asmadeus has joined #ocaml
komar_ has joined #ocaml
rjack has joined #ocaml
jamii_ has joined #ocaml
jamii has quit [Read error: 113 (No route to host)]
rjack has quit ["leaving"]
noj has quit [hubbard.freenode.net irc.freenode.net]
rumbleca has quit [hubbard.freenode.net irc.freenode.net]
haelix has quit [hubbard.freenode.net irc.freenode.net]
mattam has quit [hubbard.freenode.net irc.freenode.net]
Demitar has quit [hubbard.freenode.net irc.freenode.net]
yziquel has quit [Remote closed the connection]
mattam has joined #ocaml
noj has joined #ocaml
rumbleca has joined #ocaml
Demitar has joined #ocaml
smimou has quit ["bli"]
komar__ has joined #ocaml
komar_ has quit [Read error: 110 (Connection timed out)]
jmou has quit [Remote closed the connection]
jmou has joined #ocaml
jmou is now known as julm
itewsh has joined #ocaml
Associat0r has joined #ocaml
blAckEn3d has joined #ocaml
<blAckEn3d> hi, is an operator defined in a module visible outside that module (it's added to the module interface)?
<rAphael> yes
<rAphael> but is it's an infix operator it's syntactically weird...
<blAckEn3d> MoudleName.op_name
<blAckEn3d> something like this?
<rAphael> I'm not sure you can use it in an infix way...
<blAckEn3d> oh
<rAphael> Module_name.(op_name) arg1 arg2
<blAckEn3d> okay
<blAckEn3d> that sucks :)
<blAckEn3d> thanks
<rAphael> you can do :
<rAphael> let ( op_name ) = M.( op_name )
<tsuyoshi> hmm.. I can't get that to work
<tsuyoshi> module Foo = struct let (+) = print_endline "foo" end
<tsuyoshi> Foo.(+) ();;
<tsuyoshi> This expression is not a function, it cannot be applied
<rAphael> an infix op with only one argument ???
<tsuyoshi> oh I'm doing it wrong
<tsuyoshi> ha
<rAphael> # module M = struct let (!!) = ( + ) end ;;
<rAphael> # M.(!!) 3 4 ;;
<tsuyoshi> I actually set the infix op to zero arguments
<tsuyoshi> i.e. not a function at all
<rAphael> yes...
<rAphael> I think the "good" way is "let ( op_name ) = Module_name.( op_name ) "
<blAckEn3d> okay, thanks :)
<tsuyoshi> the good way would be not to write modules like that
<blAckEn3d> @tsuyoshi, modules that define operators?
<tsuyoshi> yeah.. unless you're going to just open them
<blAckEn3d> if I have some operator that's used a lot e.g. like the ($) in haskell I should define it in every single module that I use it in?
<blAckEn3d> that's not right
<tsuyoshi> no I mean you should open the module then
<blAckEn3d> but I open it
<rAphael> if you open it, you can use infix operators
<tsuyoshi> well then you don't need the Module.() syntax at all
schme has quit [Read error: 113 (No route to host)]
<blAckEn3d> hm
<blAckEn3d> so it seems
<blAckEn3d> that's weird
<blAckEn3d> i'm using ocaide
schme has joined #ocaml
<rAphael> the Eclipse plugin ?
<blAckEn3d> myeah
<blAckEn3d> gah
<rAphael> I've never tried it
<blAckEn3d> minus the let ( op_name ) .. part
bacam has quit [hubbard.freenode.net irc.freenode.net]
Ori_B has quit [hubbard.freenode.net irc.freenode.net]
prigaux has quit [hubbard.freenode.net irc.freenode.net]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
xevz has quit [hubbard.freenode.net irc.freenode.net]
<rAphael> # module U = struct let (|>) x f = f x end ;;
<rAphael> module U : sig val ( |> ) : 'a -> ('a -> 'b) -> 'b end
<rAphael> # open U ;;
<rAphael> # 3 |> succ ;;
<rAphael> it seems to work for
<rAphael> this example
prigaux has joined #ocaml
xevz has joined #ocaml
TaXules has joined #ocaml
bacam has joined #ocaml
Ori_B has joined #ocaml
<blAckEn3d> it think it's a thing related to ocaide
<blAckEn3d> thanks for the help
<rAphael> np
<blAckEn3d> *I
blAckEn3d has quit ["Leaving"]
pants1 has joined #ocaml
schme has quit [Read error: 113 (No route to host)]
bacam has quit [hubbard.freenode.net irc.freenode.net]
Ori_B has quit [hubbard.freenode.net irc.freenode.net]
prigaux has quit [hubbard.freenode.net irc.freenode.net]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
xevz has quit [hubbard.freenode.net irc.freenode.net]
prigaux has joined #ocaml
xevz has joined #ocaml
TaXules has joined #ocaml
bacam has joined #ocaml
Ori_B has joined #ocaml
bacam has quit [hubbard.freenode.net irc.freenode.net]
Ori_B has quit [hubbard.freenode.net irc.freenode.net]
prigaux has quit [hubbard.freenode.net irc.freenode.net]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
xevz has quit [hubbard.freenode.net irc.freenode.net]
pantsd has quit [Connection timed out]
prigaux has joined #ocaml
xevz has joined #ocaml
TaXules has joined #ocaml
bacam has joined #ocaml
Ori_B has joined #ocaml
ppsmimou has quit ["Leaving"]
pants1 has quit [Success]
pantsd has joined #ocaml
<itewsh> I'd like a function to be called at the very end of a program, how sould I do that?
acatout has quit [Read error: 60 (Operation timed out)]
<gildor> at_exit ?
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
julm has quit [Read error: 60 (Operation timed out)]
julm has joined #ocaml
jamii_ has quit [Remote closed the connection]
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
_andre has joined #ocaml
rwmjones_ has joined #ocaml
smimou has joined #ocaml
jeremiah has joined #ocaml
bombshelter13_ has joined #ocaml
bombshelter13__ has joined #ocaml
itewsh has quit [Read error: 110 (Connection timed out)]
itewsh has joined #ocaml
bombshelter13_ has quit [Success]
travisbrady has quit [Read error: 54 (Connection reset by peer)]
travisbrady has joined #ocaml
smimou has quit ["bli"]
itewsh has quit ["There are only 10 kinds of people: those who understand binary and those who don't"]
Jedai has quit [Read error: 60 (Operation timed out)]
Jedai has joined #ocaml
acatout has joined #ocaml
BrianRice has left #ocaml []
julm has quit [Read error: 110 (Connection timed out)]
jmou has joined #ocaml
elehack has joined #ocaml
mishok13 has quit ["Stopping IRC chat... [OK]"]
jmou is now known as julm
Ched has quit [Read error: 110 (Connection timed out)]
Ched has joined #ocaml
alexyk has joined #ocaml
Camarade_Tux has quit ["Leaving"]
Yoric[DT] has joined #ocaml
Alpounet has joined #ocaml
psnively has joined #ocaml
travisbrady has quit []
Ppjet6 has quit [Read error: 60 (Operation timed out)]
komar__ has quit [Read error: 110 (Connection timed out)]
sporkmonger has joined #ocaml
Ppjet6 has joined #ocaml
bluestorm has joined #ocaml
youscef has joined #ocaml
<youscef> hi
<julm> _o/
<youscef> :)
travisbrady has joined #ocaml
komar__ has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
sporkmonger_ has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
alexyk has quit []
sporkmonger_ has quit []
sporkmonger_ has joined #ocaml
sporkmonger has quit [Read error: 104 (Connection reset by peer)]
rwmjones_ has quit [Read error: 113 (No route to host)]
komar_ has joined #ocaml
_zack has joined #ocaml
komar__ has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
Camarade_Tux has joined #ocaml
<travisbrady> anyone know if bitstring assumes all single bytes are always bools? http://moonpatio.com/fastcgi/hpaste.fcgi/view?id=2566#a2566 not sure why i'm getting this error
<palomer> Camarade_Tux, you around?
<Camarade_Tux> palomer, yeah but unfortunately I need some sleep =/
<palomer> night!
<travisbrady> rwmjones: you there?
rwmjones_ has joined #ocaml
jeddhaberstro has joined #ocaml
ikaros has quit ["Leave the magic to Houdini"]
ikaros has joined #ocaml
Camarade_Tux has quit ["Leaving"]
<flux> travisbrady, you do realize the width is in _bits_?
<flux> hence the name, bitmatch..
<travisbrady> flux: oh gosh, woops, thank you
<flux> it happens, good to know to have helped someone who's been on it for half an hour :)
alexyk has joined #ocaml
_andre has quit ["leaving"]
bzzbzz has joined #ocaml
schme has joined #ocaml
elehack has quit ["Leaving"]
mbishop_ has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
alexyk has joined #ocaml
* rwmjones_ hears bitmatch
<psnively> Preach it, brother!
rAphael has quit ["So Loooong"]
mbishop has quit [Read error: 110 (Connection timed out)]
mbishop__ has joined #ocaml
_zack has quit ["Leaving."]
mbishop_ has quit [Read error: 60 (Operation timed out)]
bluestorm has quit [Remote closed the connection]
alexyk_ has joined #ocaml
alexyk has quit [Read error: 104 (Connection reset by peer)]
ikaros has quit ["Leave the magic to Houdini"]
youscef has quit ["When two people dream the same dream, it ceases to be an illusion. KVIrc 3.4.2 Shiny http://www.kvirc.net"]
sporkmonger_ has quit []
rwmjones_ has quit [Read error: 60 (Operation timed out)]
bombshelter13__ has quit []
angerman has quit []
sporkmonger has joined #ocaml
julm has quit [Read error: 110 (Connection timed out)]
julm has joined #ocaml
jeanbon has quit [Connection timed out]
alexyk_ has quit []
alexyk has joined #ocaml
Alpounet has quit ["Quitte"]
alexyk has quit [Read error: 60 (Operation timed out)]
alexyk has joined #ocaml
hkBst has quit [Remote closed the connection]
psnively has quit []
Alpounet has joined #ocaml
komar_ has quit [Read error: 113 (No route to host)]
alexyk has quit [Read error: 110 (Connection timed out)]
schme has quit [Read error: 113 (No route to host)]
Mr_Awesome has quit ["aunt jemima is the devil!"]
alp has joined #ocaml
pants1 has joined #ocaml
pantsd has quit [Read error: 60 (Operation timed out)]
julm has quit [Remote closed the connection]
julm has joined #ocaml
alp has quit ["Quitte"]
Ched has quit [Read error: 110 (Connection timed out)]
Alpounet has quit [Remote closed the connection]
yziquel has joined #ocaml
Alpounet has joined #ocaml
jargonjustin has joined #ocaml
<jargonjustin> Is there a function like Unix.time but with millisecond precision?
<brendan> Unix.gettimeofday
<jargonjustin> brendan: Thanks, I need to not skim read the docs
<brendan> :)