mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 04:40:50 +03:00
king: my god, I shall flog the man responsible for this!
This commit is contained in:
parent
51373a0976
commit
32a4c8a375
@ -120,7 +120,7 @@ addCostCenter :: String -> Exp -> Exp
|
||||
addCostCenter tag exp =
|
||||
LetE [ValD (VarP nom) (NormalB exp) []] (VarE nom)
|
||||
where
|
||||
nom = mkName $ "scc_" ++ tag
|
||||
nom = mkName $ "scc_" ++ filter C.isAlphaNum tag
|
||||
|
||||
deriveFromNoun :: Name -> Q [Dec]
|
||||
deriveFromNoun tyName = do
|
||||
|
Loading…
Reference in New Issue
Block a user