Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,267
Issues
4,267
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
408
Merge Requests
408
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
2a7217e3
Commit
2a7217e3
authored
Aug 17, 2012
by
chak@cse.unsw.edu.au.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting wibbles
parent
4c93c8ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
compiler/vectorise/Vectorise/Env.hs
compiler/vectorise/Vectorise/Env.hs
+12
-12
No files found.
compiler/vectorise/Vectorise/Env.hs
View file @
2a7217e3
...
...
@@ -49,25 +49,25 @@ data Scope a b
-- |The local environment.
--
data
LocalEnv
=
LocalEnv
{
-- Mapping from local variables to their vectorised and lifted versions.
local_vars
::
VarEnv
(
Var
,
Var
)
=
LocalEnv
{
local_vars
::
VarEnv
(
Var
,
Var
)
-- ^Mapping from local variables to their vectorised and lifted versions.
-- In-scope type variables.
,
local_tyvars
::
[
TyVar
]
-- ^In-scope type variables.
-- Mapping from tyvars to their PA dictionaries.
,
local_tyvar_pa
::
VarEnv
CoreExpr
-- ^Mapping from tyvars to their PA dictionaries.
-- Local binding name.
,
local_bind_name
::
FastString
-- ^Local binding name.
}
-- |Create an empty local environment.
--
emptyLocalEnv
::
LocalEnv
emptyLocalEnv
=
LocalEnv
{
local_vars
=
emptyVarEnv
emptyLocalEnv
=
LocalEnv
{
local_vars
=
emptyVarEnv
,
local_tyvars
=
[]
,
local_tyvar_pa
=
emptyVarEnv
,
local_bind_name
=
fsLit
"fn"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment