Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.71 KB

File metadata and controls

52 lines (37 loc) · 1.71 KB

HOL definitions of the pure functions used in the CakeML basis.

The CakeML code for the pure parts of the basis is produced from these by the translator.

basis_cvScript.sml: Translation of basis types and functions for use with cv_compute.

mlintScript.sml: Pure functions for the Int module.

mllistScript.sml: Pure functions for the List module.

mlmapScript.sml: Pure functions for the Map module. This file defines a wrapper around the balanced_map type. The new type is essentially a pair that carries the compare functions next to the tree so that users don't have to provide the compare function as an explicit argument everywhere.

mloptionScript.sml: Pure functions for the Option module.

mlprettyprinterScript.sml: Types and pure functions for pretty printing

mlratScript.sml: Pure functions for the Rat module.

mlsetScript.sml: Pure functions for the Set module. This file defines a wrapper around the balanced_map type.

mlsexpScript.sml: Definition of a simple mlstring-based s-expression, includes parsing and pretty printing for these s-expressions.

mlstringLib.sml: More ML functions for manipulating HOL terms involving mlstrings.

mlstringScript.sml: Pure functions for the String module.

mlstringSyntax.sml: ML functions for manipulating HOL terms and types involving mlstrings.

mlvectorScript.sml: Pure functions for the Vector module.

mlvectorSyntax.sml: ML functions for manipulating HOL terms and types involving vectors.