mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
📝 the Semigroup instance for Concrete.
This commit is contained in:
parent
82cb7e49b0
commit
d600246663
@ -48,6 +48,7 @@ data Concrete
|
||||
| String Text
|
||||
| Record Env
|
||||
deriving (Eq, Ord, Show)
|
||||
-- | We derive the 'Semigroup' instance for 'Concrete' to take the second argument. This is equivalent to stating that the return value of an imperative sequence of statements is the value of its final statement.
|
||||
deriving Semigroup via Last Concrete
|
||||
|
||||
recordFrame :: Concrete -> Maybe Env
|
||||
|
Loading…
Reference in New Issue
Block a user