<ski>
schlick : it's an upper case gamma, it's prolly just looking somewhat different in your font
<ski>
the context usually contains types for all free variables that could possibly be used in the expression (in some type systems it can contain some other things, too, not sure if that's the case here)
<ski>
x : int,y : int,z : int |- (if x > y then x else y) : int
<ski>
'x : int,y : int,z : int' is your context / Gamma, there
<ski>
so Gamma is usually a (comma-separated) list of typings of variables
<Smerdyakov>
P.S., all humans are invited to join #coq.
Bigbang is now known as Bigb[a]ng
JosephRivers has joined #ocaml
<JosephRivers>
Suppose that you wanted to define two functions f and g where g was used in the definition of f and f was used in the definition of g. Would there be a way to do this in ocaml?
<ski>
that is called mutually recursive functions
<ski>
let rec f ... = ...
<ski>
and g ... = ...
<JosephRivers>
Okay, I'll give that a try. Thanks.
dark_light has joined #ocaml
bzzbzz has joined #ocaml
pango is now known as pangoafk
pangoafk is now known as pango
Alfred has joined #ocaml
AlfredR314 has quit [Read error: 104 (Connection reset by peer)]
khaladan has quit [Read error: 110 (Connection timed out)]
Smerdyakov has quit ["Leaving"]
dark_light has quit ["Fui embora"]
mikeX has joined #ocaml
Poopsmith is now known as Prankton
Prankton is now known as Poopsmith
joshcryer has quit ["bbiab"]
joshcryer has joined #ocaml
Maldoror has joined #ocaml
JosephRivers has quit [Remote closed the connection]
joshcryer has quit []
mikeX has quit [Read error: 113 (No route to host)]
Alfred has quit ["Leaving"]
schlick has left #ocaml []
pango is now known as pangoafk
skylan_ has joined #ocaml
skylan has quit [Remote closed the connection]
pangoafk is now known as pango
Skal has joined #ocaml
cookoo has quit [Read error: 110 (Connection timed out)]
mrpingouin has joined #ocaml
revision17_ has quit [Read error: 110 (Connection timed out)]
Skal has quit [Remote closed the connection]
pango is now known as pangoafk
pangoafk is now known as pango
mikeX has joined #ocaml
Bigb[a]ng is now known as Bigbang
pango is now known as pangoafk
pangoafk is now known as pango
Maldoror has quit [Nick collision from services.]
SicklySuite has joined #ocaml
zooko has left #ocaml []
SicklySuite has quit [Read error: 110 (Connection timed out)]
zooko has joined #ocaml
ulfdoz has quit [brown.freenode.net irc.freenode.net]
ulfdoz has joined #ocaml
mrpingouin has quit ["Leaving"]
mikeX has quit ["leaving"]
gim has joined #ocaml
JKnecht has quit [Read error: 104 (Connection reset by peer)]
mattam has quit [Read error: 104 (Connection reset by peer)]
Revision17 has joined #ocaml
JKnecht has joined #ocaml
mattam has joined #ocaml
slipstream has quit [Connection reset by peer]
slipstream has joined #ocaml
sirreality has joined #ocaml
pango is now known as pangoafk
pangoafk is now known as pango
khaladan has joined #ocaml
mikeX has joined #ocaml
jgrimes has joined #ocaml
ski has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
rillig has joined #ocaml
<ulfdoz>
Ehm, how to do export some additional types and functions, made in the header of a .mly-file? ocamlyacc generates an .mli, but I find no way to get automatically some additional definitions from the header included.
<ulfdoz>
btw. am I the only one, who dislikes header-files and variants of it?
<zmdkrbou>
here, you're probably the only one yes
<zmdkrbou>
but code in a one huge file if you like to be dirty :)
<zmdkrbou>
and header and trailer sections in mly files are directly included in the resulting ml and mli files
<ulfdoz>
But for some reason I cannot refer to the type of my parse tree. I coded some variant types, to constrain the parse tree to hopefully only valid ones.
mikeX has quit ["leaving"]
<ulfdoz>
damn, tricked myself. a typo. :(
<ulfdoz>
boah, and I'm out of practice.
cookoo has joined #ocaml
khaladan has quit [" HydraIRC -> http://www.hydrairc.com <- IRC for those that like to be different"]
cookoo has left #ocaml []
vodka-goo has joined #ocaml
cookoo has joined #ocaml
ski has joined #ocaml
dark_light has joined #ocaml
ski has quit [Read error: 110 (Connection timed out)]
ski has joined #ocaml
mattam has quit [Read error: 104 (Connection reset by peer)]
Banana has quit [Read error: 104 (Connection reset by peer)]
mattam has joined #ocaml
Banana has joined #ocaml
mikeX has joined #ocaml
_JusSx_ has joined #ocaml
dark_light has quit ["Fui embora"]
vodka-goo has quit ["Connection reset by by pear"]