summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2016-11-15 14:36:17 +0100
committerCsaba Hruska <csaba.hruska@gmail.com>2016-11-15 14:36:17 +0100
commit0762c7388287eee8e4aacee616b3fbaa3709ab57 (patch)
treeebddc730f9418b68b4ee36123f439363c9841de1
parent593e21bf6369b7755213f8f03e6db960c067c5c3 (diff)
generate show and eq instances for purescript stream type
-rw-r--r--ddl/Definitions.hs1
-rw-r--r--ddl/out/purescript/LambdaCube/PipelineSchema.purs6
2 files changed, 6 insertions, 1 deletions
diff --git a/ddl/Definitions.hs b/ddl/Definitions.hs
index 6f50ef8..4c3b026 100644
--- a/ddl/Definitions.hs
+++ b/ddl/Definitions.hs
@@ -513,6 +513,7 @@ pipelineSchema = do
513 enum_ "Attribute_M42F" 513 enum_ "Attribute_M42F"
514 enum_ "Attribute_M43F" 514 enum_ "Attribute_M43F"
515 enum_ "Attribute_M44F" 515 enum_ "Attribute_M44F"
516 deriving_ [PureScript] [Show,Eq]
516 517
517 data_ "ObjectArraySchema" $ do 518 data_ "ObjectArraySchema" $ do
518 constR_ "ObjectArraySchema" 519 constR_ "ObjectArraySchema"
diff --git a/ddl/out/purescript/LambdaCube/PipelineSchema.purs b/ddl/out/purescript/LambdaCube/PipelineSchema.purs
index f5758bd..057c6c6 100644
--- a/ddl/out/purescript/LambdaCube/PipelineSchema.purs
+++ b/ddl/out/purescript/LambdaCube/PipelineSchema.purs
@@ -1,5 +1,5 @@
1-- generated file, do not modify! 1-- generated file, do not modify!
2-- 2016-11-14T21:30:02.999731000000Z 2-- 2016-11-15T13:20:49.544037000000Z
3 3
4module LambdaCube.PipelineSchema where 4module LambdaCube.PipelineSchema where
5import Prelude 5import Prelude
@@ -58,6 +58,10 @@ data PipelineSchema
58 58
59 59
60 60
61derive instance genericStreamType :: Generic StreamType
62instance showStreamType :: Show StreamType where show = gShow
63instance eqStreamType :: Eq StreamType where eq = gEq
64
61 65
62instance encodeJsonStreamType :: EncodeJson StreamType where 66instance encodeJsonStreamType :: EncodeJson StreamType where
63 encodeJson v = case v of 67 encodeJson v = case v of