Skip to content

Commit

Permalink
Pretty printing error on nameless pi bindings fixed
Browse files Browse the repository at this point in the history
darcs-hash:20060802100604-974a0-3168862fc9a9f6ed61600a7a1cfab1a73b14cc20.gz
  • Loading branch information
eb committed Aug 2, 2006
1 parent 764a35c commit 134c39f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Ivor/TTCore.lhs
Expand Up @@ -565,7 +565,7 @@ Apply a function to a list of arguments
> fPrec x (RBind n (B Pi t) sc)
> | nameOccurs n sc = bracket x 2 $
> "("++forget n ++":"++fPrec 10 t++") -> " ++ fPrec 10 sc
> | otherwise = bracket x 2
> | otherwise = bracket x 2 $
> (fPrec 1 t) ++" -> " ++ fPrec 10 sc
> fPrec x (RBind n (B (Let v) t) sc) = bracket x 2 $
> "let "++forget n ++":"++ fPrec 10 t
Expand Down
4 changes: 3 additions & 1 deletion papers/ivor/corett.tex
Expand Up @@ -36,7 +36,9 @@ \subsection{The Core Calculus}
functional programming languages, we may also write the function space
\mbox{$\all{\vx}{\vS}\SC\vT$} as \mbox{$\fbind{\vx}{\vS}{\vT}$}, or
abbreviate it to \mbox{$\vS\to\vT$} if $\vx$ is not free in
$\vT$. Contexts ($\Gamma$) are defined inductively; the empty context
$\vT$.
Universe levels on types ($\Type_i$) may be left implicit.
Contexts ($\Gamma$) are defined inductively; the empty context
is valid, as is a context extended with a $\lambda$, $\forall$ or
$\LET$ binding:

Expand Down
3 changes: 2 additions & 1 deletion papers/ivor/ivor.tex
Expand Up @@ -70,7 +70,8 @@

\section*{Acknowledgements}

This work is generously supported by EPSRC grant EP/C001346/1.
This work is generously supported by EPSRC grant EP/C001346/1. My thanks to
\ldots

\bibliographystyle{abbrv}
\begin{small}
Expand Down
2 changes: 1 addition & 1 deletion papers/ivor/tactics.tex
Expand Up @@ -121,7 +121,7 @@ \subsection{Basic Tactics}

A tactic operates on a hole binding, specified by the \texttt{Goal}
argument. This can be a named binding, \texttt{goal :: Name -> Goal},
or the default goal \texttt{defaultGoal::Name}. The default goal is
or the default goal \texttt{defaultGoal :: Goal}. The default goal is
the first goal generated by the most recent tactic application.

\mysubsubsection{Hole Manipulations}
Expand Down

0 comments on commit 134c39f

Please sign in to comment.