cjohnson has quit [""We live like penguins in the desert...""]
smimou has quit ["↓"]
cjohnson has joined #ocaml
mlh has quit [Client Quit]
skaller has joined #ocaml
skaller has left #ocaml []
dan2 has joined #ocaml
mlh has joined #ocaml
mlh has quit [Read error: 104 (Connection reset by peer)]
cjohnson has quit [""We live like penguins in the desert...""]
mlh has joined #ocaml
mlh has quit ["brb"]
mlh has joined #ocaml
dan2 has quit [Remote closed the connection]
ulfdoz has joined #ocaml
ulfdoz_ has quit [Read error: 60 (Operation timed out)]
vezenchio has joined #ocaml
Sonarman has quit ["leaving"]
Herrchen has joined #ocaml
Submarine has joined #ocaml
<ulfdoz>
re
bk_ has joined #ocaml
mlh has quit ["The Knights who say NIH!"]
pango has quit [Remote closed the connection]
pango has joined #ocaml
vodka-goo is now known as home-goo
pango has quit [Remote closed the connection]
pango has joined #ocaml
shawn_ has joined #ocaml
mrvn__ is now known as mrvn
mrvn is now known as mrvnw
mrvnw is now known as mrvn
shawn has quit [Read error: 110 (Connection timed out)]
araujo has quit ["Programs must be written for people to read, and only incidentally for machines to execute"]
eviltoylet has joined #ocaml
<eviltoylet>
can someone please inform me of what Some and None mean? I still can't figure it out ...
<mauke>
they're data constructors
<eviltoylet>
how would i use them in a function? Or what would they do?
<eviltoylet>
I tried making a function that pattern matched to Some(x,y) ... but i can't seem to figure out what to pass in
<mauke>
they're defined like this: type 'a option = None | Some of 'a ;;
<eviltoylet>
mmm, i'm getting more and more confused now.
<mauke>
well, what are you trying to do?
<eviltoylet>
function | Some (x,y) -> Some (x,y) | _ -> None trying to understand what this does
<mauke>
looks like the identity function
<eviltoylet>
but i dont quite understand the meaning of the Some (x,y) and None... even given the definition of them. perhaps i don't even understand the definition of it
<eviltoylet>
hrmm doesn't compile to object code for me
<mauke>
grammar isn't everything
<mrvn>
eviltoylet: with what error?
<mauke>
"Constraints: [#2] A declaration shall declare at least a declarator (other than the parameters of a function or the members of a structure or union), a tag, or the members of an enumeration."
<eviltoylet>
mrvn: declaration does notdeclare anything
<eviltoylet>
thats ondev-cpp for windows
<eviltoylet>
i just tried it on sparc and it works there
<mrvn>
wow.
<mrvn>
gcc doesn't care about the constraint.
<eviltoylet>
i think devc++ uses gcc though
<mauke>
mrvn: it does care: "foo.c:1: warning: empty declaration"
<mauke>
that's the required diagnostic
smimou has joined #ocaml
haakonn_ has quit [Read error: 113 (No route to host)]
_JusSx_ has joined #ocaml
haakonn has joined #ocaml
_JusSx_ has quit [Client Quit]
_JusSx_ has joined #ocaml
pango has quit [niven.freenode.net irc.freenode.net]
home-goo has quit [niven.freenode.net irc.freenode.net]
vezenchio has quit [niven.freenode.net irc.freenode.net]
ulfdoz has quit [niven.freenode.net irc.freenode.net]
bk_ has quit [niven.freenode.net irc.freenode.net]
mattam has quit [niven.freenode.net irc.freenode.net]
cognominal has quit [niven.freenode.net irc.freenode.net]
shrimpx has quit [niven.freenode.net irc.freenode.net]
oracle1 has quit [niven.freenode.net irc.freenode.net]
Hadaka has quit [niven.freenode.net irc.freenode.net]
calvin_ has quit [niven.freenode.net irc.freenode.net]
noj has quit [niven.freenode.net irc.freenode.net]
smimou has quit [niven.freenode.net irc.freenode.net]
Demitar has quit [niven.freenode.net irc.freenode.net]
Banana has quit [niven.freenode.net irc.freenode.net]
cmeme has quit [niven.freenode.net irc.freenode.net]
vincenz has quit [niven.freenode.net irc.freenode.net]
CLxyz has quit [niven.freenode.net irc.freenode.net]
haakonn has quit [niven.freenode.net irc.freenode.net]
eviltoylet has quit [niven.freenode.net irc.freenode.net]
__DL__ has quit [niven.freenode.net irc.freenode.net]
mflux has quit [niven.freenode.net irc.freenode.net]
TeXitoi has quit [niven.freenode.net irc.freenode.net]
mrvn has quit [niven.freenode.net irc.freenode.net]
det has quit [niven.freenode.net irc.freenode.net]
p has quit [niven.freenode.net irc.freenode.net]
slashvar[lri] has quit [niven.freenode.net irc.freenode.net]
j_n has quit [niven.freenode.net irc.freenode.net]
Amorphous has quit [niven.freenode.net irc.freenode.net]
haakonn has joined #ocaml
smimou has joined #ocaml
eviltoylet has joined #ocaml
pango has joined #ocaml
bk_ has joined #ocaml
vezenchio has joined #ocaml
ulfdoz has joined #ocaml
mattam has joined #ocaml
home-goo has joined #ocaml
mflux has joined #ocaml
TeXitoi has joined #ocaml
mrvn has joined #ocaml
cognominal has joined #ocaml
__DL__ has joined #ocaml
Demitar has joined #ocaml
Banana has joined #ocaml
det has joined #ocaml
cmeme has joined #ocaml
shrimpx has joined #ocaml
calvin_ has joined #ocaml
noj has joined #ocaml
oracle1 has joined #ocaml
Hadaka has joined #ocaml
vincenz has joined #ocaml
p has joined #ocaml
slashvar[lri] has joined #ocaml
CLxyz has joined #ocaml
Amorphous has joined #ocaml
j_n has joined #ocaml
slashvar[lri] has quit [Remote closed the connection]
shrimpx has quit [Read error: 54 (Connection reset by peer)]
slashvar[lri] has joined #ocaml
shrimpx has joined #ocaml
Snark has joined #ocaml
dan2 has joined #ocaml
_JusSx__ has joined #ocaml
cjohnson has joined #ocaml
_JusSx_ has quit [Read error: 110 (Connection timed out)]
Submarine has quit ["Leaving"]
araujo has joined #ocaml
Submarine has joined #ocaml
araujo has quit ["Programs must be written for people to read, and only incidentally for machines to execute"]
hasp has joined #ocaml
dan2 has quit ["Leaving"]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
dan2 has joined #ocaml
mrvn_ has joined #ocaml
eviltoylet has left #ocaml []
mrvn has quit [Read error: 60 (Operation timed out)]
mrvn_ is now known as mrvn
home-goo is now known as vodka-goo
Submarine has quit ["Leaving"]
Herrchen has quit ["bye"]
TeXitoi has quit [Read error: 54 (Connection reset by peer)]
TeXitoi has joined #ocaml
Gueben has joined #ocaml
vezenchio has quit [""Under democracy one party always devotes its chief energies to trying to prove that the other party is unfit to rule—and bot]
Submarine has joined #ocaml
pango has quit ["Leaving"]
jzono1 has joined #ocaml
<jzono1>
help me out with this, pleese:/home/jo/div/icedock-0.5)--