From bec340cc54b97953defb6dab3c293e510f2560b5 Mon Sep 17 00:00:00 2001 From: Franco Bulgarelli Date: Sat, 25 Apr 2020 17:21:53 -0300 Subject: [PATCH] Adding flatten and gather operators --- src/Language/Mulang/Ast/Operator.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Language/Mulang/Ast/Operator.hs b/src/Language/Mulang/Ast/Operator.hs index 26e570e5c..99d7be06c 100644 --- a/src/Language/Mulang/Ast/Operator.hs +++ b/src/Language/Mulang/Ast/Operator.hs @@ -83,6 +83,10 @@ data Operator -- ^ collection `all`-like / `every`-like operator | AnySatisfy -- ^ collection `any`-like / `some`-like operator + | Flatten + -- ^ collection `flatten`-like operator + | Gather + -- ^ collection `flatmap`-like operator deriving (Eq, Show, Read, Generic, Ord, Enum)