mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
📝 Rec.
This commit is contained in:
parent
5e8a2c27c6
commit
b851621c6f
@ -50,6 +50,9 @@ data Edge = Lexical | Import
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
data Core f a
|
||||
-- | Recursive local binding of a name in a scope; strict evaluation of the name in the body will diverge.
|
||||
--
|
||||
-- Simultaneous (and therefore potentially mutually-recursive) bidnings can be made by binding a 'Record' recursively within 'Rec' and projecting from it with ':.'.
|
||||
= Rec (Named (Scope () f a))
|
||||
-- | Sequencing without binding; analogous to '>>' or '*>'.
|
||||
| f a :>> f a
|
||||
|
Loading…
Reference in New Issue
Block a user