diff options
author | Son Ho | 2023-07-05 14:52:23 +0200 |
---|---|---|
committer | Son Ho | 2023-07-05 14:52:23 +0200 |
commit | 0a0445c72e005c328b4764f5fb0f8f38e7a55d60 (patch) | |
tree | 43fb9284e8c02ec5ed8b8a5d59f6569d66b900ff /tests/lean/HashmapMain/FunsExternal.lean | |
parent | 442caaf62e4a217b9a10116c4e529c49f83c4efd (diff) |
Start using namespaces in the Lean backend
Diffstat (limited to '')
-rw-r--r-- | tests/lean/HashmapMain/FunsExternal.lean | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/lean/HashmapMain/FunsExternal.lean b/tests/lean/HashmapMain/FunsExternal.lean new file mode 100644 index 00000000..d917b485 --- /dev/null +++ b/tests/lean/HashmapMain/FunsExternal.lean @@ -0,0 +1,17 @@ +-- [hashmap_main]: templates for the external functions. +import Base +import HashmapMain.Types +open Primitives +open hashmap_main + +-- TODO: fill those bodies + +/- [hashmap_main::hashmap_utils::deserialize] -/ +def hashmap_utils.deserialize_fwd + : State → Result (State × (hashmap_hash_map_t U64)) := + fun _ => .fail .panic + +/- [hashmap_main::hashmap_utils::serialize] -/ +def hashmap_utils.serialize_fwd + : hashmap_hash_map_t U64 → State → Result (State × Unit) := + fun _ _ => .fail .panic |