Skip to content

Commit 96653e1

Browse files
committed
Tighten up a couple haddocks
1 parent 377b63e commit 96653e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/Aeson/TypeScript/Util.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ getTypeAsStringExp typ = [|getTypeScriptType (Proxy :: Proxy $(return typ))|]
8383
getOptionalAsBoolExp :: Type -> Q Exp
8484
getOptionalAsBoolExp typ = [|getTypeScriptOptional (Proxy :: Proxy $(return typ))|]
8585

86-
-- | Helper to apply a type constructor to a list of type args
86+
-- | Apply a type constructor to a list of type args
8787
applyToArgsT :: Type -> [Type] -> Type
8888
applyToArgsT constructor [] = constructor
8989
applyToArgsT constructor (x:xs) = applyToArgsT (AppT constructor x) xs
9090

91-
-- | Helper to apply a function a list of args
91+
-- | Apply a function to a list of args
9292
applyToArgsE :: Exp -> [Exp] -> Exp
9393
applyToArgsE f [] = f
9494
applyToArgsE f (x:xs) = applyToArgsE (AppE f x) xs

0 commit comments

Comments
 (0)