Skip to content

Commit

Permalink
Reformulated successor index case for list element.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasabel committed May 7, 2018
1 parent 162147f commit ae3264b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ActorMonad.lagda.tex
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
\AgdaDatatype{∈} is the list or set membership relation,
which we model as a Peano number that tells at what position the element occurs in the list.
An element that appears at the head of a list is at index \AgdaInductiveConstructor{Z},
and an element that appears somewhere in the tail of the list is
reached by succeeding (\AgdaInductiveConstructor{S}) into the tail of the list.
and the index of an element that appears somewhere in the tail of the list is
the successor (\AgdaInductiveConstructor{S}) of its index in the tail.

\AgdaCatch{Membership}{ElementIn}

Expand Down Expand Up @@ -564,4 +564,3 @@
⊠-of-values (x ∷ vs) = (ValueType x ∷ []) ∷ ⊠-of-values vs
\end{code}
%</ActorMonadHelpers>

0 comments on commit ae3264b

Please sign in to comment.