Do GADT instead
This commit is contained in:
		@@ -28,10 +28,10 @@ data Field a where
 | 
				
			|||||||
  Url :: Field String
 | 
					  Url :: Field String
 | 
				
			||||||
  Title :: Field String
 | 
					  Title :: Field String
 | 
				
			||||||
 | 
					
 | 
				
			||||||
data QueryF f
 | 
					data QueryF f where
 | 
				
			||||||
  = forall a. StartsWith (Field a) a
 | 
					  StartsWith :: Field a -> a -> QueryF f
 | 
				
			||||||
  | forall a. EndsWith (Field a) a
 | 
					  EndsWith :: Field a -> a -> QueryF f
 | 
				
			||||||
  | And f f
 | 
					  And :: f -> f -> QueryF f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
deriving instance Functor QueryF
 | 
					deriving instance Functor QueryF
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user