summaryrefslogtreecommitdiff
path: root/tests/lean/HashmapMain/FunsExternal.lean
blob: b394b32b8a1a8f731eaae85b92b8f831c1ef97cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
  : State  Result (State × (hashmap.HashMap U64)) :=
  fun _ => .fail .panic

/- [hashmap_main::hashmap_utils::serialize] -/
def hashmap_utils.serialize
  : hashmap.HashMap U64  State  Result (State × Unit) :=
  fun _ _ => .fail .panic