1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

ClosureBody receives the body parameter.

This commit is contained in:
Rob Rix 2018-05-28 11:56:17 -04:00
parent 6f0570c828
commit 88d651da7f

View File

@ -14,7 +14,7 @@ import qualified Data.Set as Set
import Prologue
data Value location body
= Closure PackageInfo ModuleInfo [Name] ClosureBody (Environment location)
= Closure PackageInfo ModuleInfo [Name] (ClosureBody body) (Environment location)
| Unit
| Boolean Bool
| Integer (Number.Number Integer)
@ -32,7 +32,7 @@ data Value location body
| Hole
deriving (Eq, Ord, Show)
data ClosureBody = Label Int
data ClosureBody body = Label Int
deriving (Eq, Ord, Show)