Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created December 13, 2017 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/ddc59c906a03965f61198c5cbab06c13 to your computer and use it in GitHub Desktop.
Save kunigami/ddc59c906a03965f61198c5cbab06c13 to your computer and use it in GitHub Desktop.
open Map
module IntMap = Map.Make(Int64)
type 'a tree = Empty | Node of 'a * 'a tree * 'a tree
type key = IntMap.key tree
type 'a trie = Trie of 'a option * 'a trie trie IntMap.t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment