Skip to content

Instantly share code, notes, and snippets.

Created Sep 16, 2017
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