<mattam>
putting mln.cma at the beginning of the command ?
Submarine has quit ["Leaving"]
<grirgz>
if I compile directly the lib as an exe, it work.. strange
<grirgz>
but i want a lib :(
<mflux_>
hmm.. I have a file in which let _ = 4 + 2 compiles, yet let _ = 4.0 +. 2.0 fails to compile
<mflux_>
haa, it must be some operator redefining somewhere, open Pervasives fixes it ;)
<mflux_>
btw, can one open a module for a certain scope?
<grirgz>
i found a workaround, by linking directly the cmo of the lib with the exe...
Snark has joined #ocaml
_JusSx_ has joined #ocaml
pango has joined #ocaml
Submarine has joined #ocaml
<humasect>
>
<_JusSx_>
let humasect = say x
<_JusSx_>
unboud value say
kuribas has joined #ocaml
vezenchio has quit ["Computer Science is no more about computers than astronomy is about telescopes"]
vezenchio has joined #ocaml
avu has joined #ocaml
Pupeno has joined #ocaml
avu has left #ocaml []
<Pupeno>
hello
<Pupeno>
I'm checking languages, I've tried a lot of them, now, I'm testing ocaml.
<Pupeno>
Can anybody help me understand this: "Caml is statically type-checked, but there is no need to add type informations in programs (as in Ada or Pascal, or C): type annotations are fully automatic and handled by the compiler." ?
<Pupeno>
AFAIK, static typed languages is where you have to define the type of a variable/object, am I wrong ?
<mflux_>
yes you are.
<mflux_>
static typed languages mean that objects have types
<mflux_>
compile-time
<mflux_>
not that they need to be spelled out
<mflux_>
basically, "42" + 42 is a compile time error, not runtime
<mflux_>
also you can write: let a = 42 and b = "42" in a + b -> compile time error
<mflux_>
yet their values were assigned (well actually it's called binding) to variables (names?), but no types were spelt out
<mflux_>
you could also write let a : int = 42 and b : string = "42", but you don't need to
mflux_ has quit [Read error: 54 (Connection reset by peer)]
<Snark>
Pupeno: let f x = x+1;
<Snark>
Pupeno: I didn't give the type, but as you'll see typing it in ocaml, f has a type
skylan has quit [Remote closed the connection]
Excedrin has quit [Read error: 54 (Connection reset by peer)]
smkl has quit [sterling.freenode.net irc.freenode.net]
solarwin1 has quit [sterling.freenode.net irc.freenode.net]
__DL__ has quit [sterling.freenode.net irc.freenode.net]
mattam has quit [sterling.freenode.net irc.freenode.net]
mrvn has quit [sterling.freenode.net irc.freenode.net]
Herrchen has quit [sterling.freenode.net irc.freenode.net]
wrunt has quit [sterling.freenode.net irc.freenode.net]
mauke has quit [sterling.freenode.net irc.freenode.net]
avn has quit [sterling.freenode.net irc.freenode.net]
cognominal has quit [sterling.freenode.net irc.freenode.net]
xqw has quit [sterling.freenode.net irc.freenode.net]
mellum has quit [sterling.freenode.net irc.freenode.net]
vodka-goo has quit [sterling.freenode.net irc.freenode.net]
andrewb has quit [sterling.freenode.net irc.freenode.net]
det has quit [sterling.freenode.net irc.freenode.net]
shawn_ has quit [sterling.freenode.net irc.freenode.net]
kuribas has quit [sterling.freenode.net irc.freenode.net]
Submarine has quit [sterling.freenode.net irc.freenode.net]
pango has quit [sterling.freenode.net irc.freenode.net]
_JusSx_ has quit [sterling.freenode.net irc.freenode.net]
Snark has quit [sterling.freenode.net irc.freenode.net]
Pupeno has quit [sterling.freenode.net irc.freenode.net]
gim has quit [sterling.freenode.net irc.freenode.net]
Nutssh has quit [sterling.freenode.net irc.freenode.net]
vincenz_ has quit [sterling.freenode.net irc.freenode.net]
oracle1 has quit [sterling.freenode.net irc.freenode.net]
Amorphous has quit [sterling.freenode.net irc.freenode.net]
creichen has quit [sterling.freenode.net irc.freenode.net]
zzorn has quit [sterling.freenode.net irc.freenode.net]
Riastradh has quit [sterling.freenode.net irc.freenode.net]
jave has quit [sterling.freenode.net irc.freenode.net]
CLxyz has quit [sterling.freenode.net irc.freenode.net]
cmeme has quit [sterling.freenode.net irc.freenode.net]
vezenchio has quit [sterling.freenode.net irc.freenode.net]
humasect has quit [sterling.freenode.net irc.freenode.net]
grirgz has quit [sterling.freenode.net irc.freenode.net]
smimou has quit [sterling.freenode.net irc.freenode.net]
Hadaka has quit [sterling.freenode.net irc.freenode.net]
Hipo has quit [sterling.freenode.net irc.freenode.net]
rossberg_ has quit [sterling.freenode.net irc.freenode.net]
Smerdyakov has quit [sterling.freenode.net irc.freenode.net]
calvin_ has quit [sterling.freenode.net irc.freenode.net]
tsume has quit [sterling.freenode.net irc.freenode.net]
KrispyKringle has quit [Connection reset by peer]
KrispyKringle has joined #ocaml
Excedrin_ has joined #ocaml
skylan_ has joined #ocaml
det has joined #ocaml
humasect has joined #ocaml
Pupeno has joined #ocaml
vezenchio has joined #ocaml
kuribas has joined #ocaml
Submarine has joined #ocaml
pango has joined #ocaml
_JusSx_ has joined #ocaml
Snark has joined #ocaml
grirgz has joined #ocaml
smkl has joined #ocaml
solarwin1 has joined #ocaml
vodka-goo has joined #ocaml
__DL__ has joined #ocaml
mattam has joined #ocaml
smimou has joined #ocaml
mrvn has joined #ocaml
zzorn has joined #ocaml
Herrchen has joined #ocaml
calvin_ has joined #ocaml
rossberg_ has joined #ocaml
tsume has joined #ocaml
CLxyz has joined #ocaml
oracle1 has joined #ocaml
Amorphous has joined #ocaml
Smerdyakov has joined #ocaml
cmeme has joined #ocaml
creichen has joined #ocaml
andrewb has joined #ocaml
vincenz_ has joined #ocaml
Hipo has joined #ocaml
Riastradh has joined #ocaml
Nutssh has joined #ocaml
Hadaka has joined #ocaml
jave has joined #ocaml
gim has joined #ocaml
avn has joined #ocaml
mauke has joined #ocaml
cognominal has joined #ocaml
wrunt has joined #ocaml
xqw has joined #ocaml
mellum has joined #ocaml
shawn_ has joined #ocaml
Excedrin_ is now known as Excedrin
mflux has joined #ocaml
Snark has quit ["Leaving"]
<mflux>
soo, what did I say last at around xx1449?-)
<mflux>
to pupeno. or did anything come through.
<Pupeno>
mflux: I think you didn't loose anything.
__DL__ has quit ["Bye Bye"]
humasect_ has joined #ocaml
rossberg_ has quit [sterling.freenode.net irc.freenode.net]
Smerdyakov has quit [sterling.freenode.net irc.freenode.net]
Hadaka has quit [sterling.freenode.net irc.freenode.net]
skylan_ has quit [sterling.freenode.net irc.freenode.net]
vezenchio has quit [sterling.freenode.net irc.freenode.net]
tsume has quit [sterling.freenode.net irc.freenode.net]
grirgz has quit [sterling.freenode.net irc.freenode.net]
smimou has quit [sterling.freenode.net irc.freenode.net]
Hipo has quit [sterling.freenode.net irc.freenode.net]
calvin_ has quit [sterling.freenode.net irc.freenode.net]
humasect has quit [sterling.freenode.net irc.freenode.net]
skylan_ has joined #ocaml
vezenchio has joined #ocaml
grirgz has joined #ocaml
smimou has joined #ocaml
Hadaka has joined #ocaml
Hipo has joined #ocaml
Smerdyakov has joined #ocaml
calvin_ has joined #ocaml
rossberg_ has joined #ocaml
tsume has joined #ocaml
humasect_ is now known as humasect
tsume_ has joined #ocaml
CLxyz has quit [Connection timed out]
smimou has quit ["?"]
smimou has joined #ocaml
tsume has quit [Read error: 110 (Connection timed out)]
CLxyz has joined #ocaml
humasect has quit [Read error: 54 (Connection reset by peer)]
humasect has joined #ocaml
noj has joined #ocaml
<noj>
hi. how do I pass the multiply operator as a function? it gets interpreted as an open-comment when using (*) and (*.)
<Nutssh>
Add in a space.
<Nutssh>
( * )
<noj>
cool. thanks :)
<_JusSx_>
exit
_JusSx_ has quit ["leaving"]
calvin_ has quit [Client Quit]
calvin_ has joined #ocaml
humasect_ has joined #ocaml
humasect has quit [Read error: 104 (Connection reset by peer)]
Submarine has quit ["Leaving"]
mlh has joined #ocaml
mlh has quit [Client Quit]
kuribas has left #ocaml []
humasect_ is now known as humasect
zzorn is now known as zzorn_sleep
CosmicRay has quit ["Client exiting"]
vodka-goo has quit []
Banana has joined #ocaml
zzorn_sleep has quit ["They are coming to take me away, ha ha"]