Created
August 1, 2022 20:11
-
-
Save ggVGc/4d208a6751919aa39e088605fa7a5a7d 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
data Ref where | |
Ref :: (HasDefName def) => def -> BoundID -> Ref | |
instance HasDefName Ref where | |
getDefName (Ref def _) = getDefName def | |
class HasDefName a where | |
getDefName :: a -> String |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment