summaryrefslogtreecommitdiff
path: root/ddl/Language.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ddl/Language.hs')
-rw-r--r--ddl/Language.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ddl/Language.hs b/ddl/Language.hs
index 9701023..816bbb9 100644
--- a/ddl/Language.hs
+++ b/ddl/Language.hs
@@ -387,6 +387,7 @@ data_ n l = tell ([let (c,i) = execWriter l in DataDef n c i],mempty)
387alias_ :: String -> Type -> DDef () 387alias_ :: String -> Type -> DDef ()
388alias_ n t = tell ([TypeAlias n t],mempty) 388alias_ n t = tell ([TypeAlias n t],mempty)
389 389
390(#=) :: String -> Type -> DDef ()
390a #= b = alias_ a b 391a #= b = alias_ a b
391 392
392class IsField a where 393class IsField a where
@@ -449,4 +450,4 @@ a #:: b = Field a b
449 serialization: 450 serialization:
450 json: encode/decode 451 json: encode/decode
451 other? 452 other?
452-} \ No newline at end of file 453-}