Skip to content

Instantly share code, notes, and snippets.

@dance2die

dance2die/Trie.hs

Created Sep 16, 2017
Embed
What would you like to do?
Trie declaration
import Data.Map
data Trie a = Trie { value :: Maybe a,
children :: Map Char (Trie a) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.