mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-26 17:27:57 +00:00
@@ -1,4 +1,5 @@
|
||||
{-# LANGUAGE LambdaCase #-}
|
||||
{-# LANGUAGE OverloadedLists #-}
|
||||
|
||||
module API.Docs.Syntax.Types where
|
||||
|
||||
@@ -27,4 +28,6 @@ isConst = \case
|
||||
|
||||
instance IsString Expr where fromString = Const
|
||||
|
||||
instance Semigroup Expr where sconcat = Concat
|
||||
instance Semigroup Expr where
|
||||
sconcat = Concat
|
||||
x <> y = Concat [x, y]
|
||||
|
||||
Reference in New Issue
Block a user