Skip to content

Commit

Permalink
Update type of take in book
Browse files Browse the repository at this point in the history
  • Loading branch information
marsella committed Sep 10, 2024
1 parent c73d1d8 commit b7363dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ProgrammingCryptol/prims/Primitives.tex
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ \chapter{Cryptol prelude functions}
\end{Verbatim}
\paragraph*{Sequences}
\begin{Verbatim}
take : {front, back, a} (fin front) => [front + back]a -> [front]a
take : {front, back, a} => [front + back]a -> [front]a
drop : {front, back, a} (fin front) => [front + back]a -> [back]a
# : {front, back, a} (fin front) => [front]a -> [back]a -> [front + back]a
join : {parts, each, a} (fin each) => [parts][each]a -> [parts * each]a
Expand Down Expand Up @@ -166,7 +166,7 @@ \chapter{Cryptol prelude functions}
% scarry : {n} (fin n, n >= 1) => [n] -> [n] -> Bit
% sborrow : {n} (fin n, n >= 1) => [n] -> [n] -> Bit

%%% Local Variables:
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../main/Cryptol"
%%% End:
%%% End:

0 comments on commit b7363dd

Please sign in to comment.