Iavor Diatchki
2219aca55c
Document lifted selectors.
...
Fixes #303
2020-05-05 14:59:45 -07:00
Brian Huffman
5d19320bfa
Regenerate pdf of Programming Cryptol book.
2019-06-20 11:07:36 -07:00
Brian Huffman
c62a88a8ec
Regenerate Syntax.tex from Syntax.md.
2019-06-20 11:07:18 -07:00
Brian Huffman
bf2a235c1c
Regenerate ProgrammingCryptol.pdf.
2019-06-20 11:03:14 -07:00
Brian Huffman
7da982ab2d
Update old cryptol-1 syntax in example code.
2019-06-20 10:54:06 -07:00
Brian Huffman
030349f6de
Fix outdated usage of value-level function width
in Cryptol book.
...
It is now called `length` and has a generalized type.
Cf. #549 .
2019-06-20 10:47:40 -07:00
Brian Huffman
b83d887551
Update generated Syntax.pdf.
2019-06-19 11:25:46 -07:00
Brian Huffman
8d2f1ed2ba
Add examples of x @ i = e
syntax to Syntax.md.
2019-06-19 11:25:30 -07:00
Brian Huffman
088126076e
Remove trailing whitespace.
2019-06-19 11:24:59 -07:00
Iavor Diatchki
d428f64bdc
Add some examples about how to write Cryptol expressions.
2019-05-30 10:29:35 -07:00
Iavor Diatchki
afe89d2ad4
Add examples of doing record updates
2019-03-01 11:10:28 -08:00
Brian Huffman
6b53cd0c2f
Fix typo in documentation.
2019-02-28 10:46:41 -08:00
Brian Huffman
e59c9abfbb
Remove [x..]
and [x,y..]
syntax from documentation.
2019-02-28 10:38:38 -08:00
Brian Huffman
24fb6c9511
Remove unused primitive fromThen
.
2019-02-27 16:57:00 -08:00
Iavor Diatchki
6a8c6c3134
Update Syntax.md and re-sync it with Syntax.tex
...
Note that Syntax.tex should be generated automatically
2019-02-18 17:20:01 -08:00
Aaron Tomb
231fe95a40
Add note in manual about satNum
and Integer
2018-11-01 08:25:23 -07:00
Aaron Tomb
ba140fb70a
Update Programming in Cryptol PDF
2018-07-30 16:36:04 -07:00
Aaron Tomb
b111e78a30
Minor fixes to Programming in Cryptol
2018-07-27 16:09:50 -07:00
Brian Huffman
f609b36225
Rename primitive demote
to the more self-explanatory name number
.
...
The name "demote" is only meaningful to those who already know what
the Cryptol primitive does. Also, due to recent changes in the error
and warning messages, the name "demote" is showing up much more often
in REPL output. For example:
Defaulting type argument 'rep' of 'demote' to [2]
Showing a specific instance of polymorphic result:
* Using 'Integer' for type argument 'rep' of 'Cryptol::demote'
These messages will hopefully be made less confusing to non-experts
if the name "demote" is replaced with "number".
2018-07-27 13:52:57 -07:00
Brian Huffman
34e6a18efe
Fix Cryptol output in exercise solution in the book.
2018-07-27 13:18:03 -07:00
Brian Huffman
35ccec83ce
Fix some typos in comments/docs.
2018-07-27 13:17:45 -07:00
Aaron Tomb
1bd0b813e0
Add a table of type-level operators to the book
2018-07-27 10:23:55 -07:00
Aaron Tomb
afd9df342b
Better wording for multi-way conditional appendix
2018-07-27 10:23:29 -07:00
Aaron Tomb
7027b599a7
Update some copyright notices
2018-07-26 09:08:32 -07:00
Brian Huffman
4d84989b60
Edits to AES chapter of the book.
2018-07-25 15:12:13 -07:00
Brian Huffman
951eacc8ff
Fix some index entry names in the book.
2018-07-24 13:03:32 -07:00
Aaron Tomb
35452a6a9e
Add example of using the ===
operator
2018-07-23 13:19:13 -07:00
Brian Huffman
863c165c66
Update syntax appendix of Cryptol book.
2018-07-20 18:13:15 -07:00
Brian Huffman
1eaabf87aa
Miscellaneous edits to the book.
2018-07-20 15:48:46 -07:00
Brian Huffman
891b7fe914
Update exercises in chapter 1 of the book.
2018-07-20 15:48:10 -07:00
Brian Huffman
317893a564
Updates to "High-assurance programming" chapter of the book.
2018-07-20 12:20:59 -07:00
Brian Huffman
73a8c19b58
Update cryptol primitives appendix in the book.
2018-07-20 09:48:31 -07:00
Brian Huffman
eef8924dfe
Update operator names in Cryptol book index.
2018-07-20 09:00:29 -07:00
Brian Huffman
6201415c66
Remove index entries and text about non-existent :i, :p commands.
2018-07-20 08:28:35 -07:00
Brian Huffman
dd2c4b6507
Introduce command for more uniform exercise references in the book.
2018-07-19 18:25:55 -07:00
Brian Huffman
af6b830162
Use autoref command and lowercase section refs consistently in the book.
2018-07-19 18:00:17 -07:00
Brian Huffman
10f43b4279
Switch Cryptol book exercises to use split
instead of groupBy
.
2018-07-19 16:46:48 -07:00
Brian Huffman
8892759a93
More edits to Cryptol book, rewrite type synonym section.
2018-07-17 10:52:21 -07:00
Aaron Tomb
2cae92944b
Update PDF of Programming in Cryptol
2018-07-16 15:02:08 -07:00
Brian Huffman
0d074ce231
Many updates to Programming Cryptol book (work in progress).
2018-07-16 09:48:39 -07:00
Brian Huffman
5f795d4644
Restrict output number base to 2, 8, 10 and 16.
...
The output bases now match the possible input bases for
numeric literals.
Fixes #179 .
2018-07-12 09:57:41 -07:00
Brian Huffman
220afb51d7
Update CryptolPrims.md for prims with changed types and new instances.
2018-06-25 10:33:37 -07:00
Brian Huffman
7c1de9c133
Add short section to Cryptol book about type Integer.
...
Fixes #468 .
2018-05-24 13:04:10 -07:00
Aaron Tomb
99f3fdbf37
Merge Cryptol/Extras.cry with Cryptol.cry
...
Closes #427 .
2018-05-23 15:55:05 -07:00
Brian Huffman
ddfe615a14
Document :exhaust command in the cryptol book. Fixes #466 .
2018-05-22 15:17:15 -07:00
Brian Huffman
6fdc1ff326
Write about type constraint synonyms in Programming Cryptol.
...
Fixes #452 .
2018-03-22 16:06:55 -07:00
Brian Huffman
43bee098ea
Regenerate Semantics.pdf.
2018-03-22 13:42:03 -07:00
Brian Huffman
fccf55f30f
Remove obsolete cvs-era $Header$ keywords.
2018-03-22 13:33:12 -07:00
Iavor S. Diatchki
2faa44e17b
Add some documentation for the module system.
2017-10-26 16:34:08 -07:00
Iavor S. Diatchki
7dc7be45bb
Merge remote-tracking branch 'origin/master' into abstract-types
...
# Conflicts:
# src/Cryptol/REPL/Monad.hs
2017-10-13 10:45:35 -07:00