-
-
Save hgiasac/c55f0f2c96c9cbfcb00bccba2a93ac7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
newtype Key = Key Int deriving( Eq ) | |
data KeyPr = KeyPr !Key !Key deriving( Eq ) | |
data Cache = Cache { next_key :: !(IORef Key), | |
tc_tbl :: !(HT.HashTable String Key), | |
ap_tbl :: !(HT.HashTable KeyPr Key) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment