mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +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