projects
/
matthijs
/
master-project
/
cλash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pulled genZipWithCall into VHDLSession monad
[matthijs/master-project/cλash.git]
/
VHDLTypes.hs
diff --git
a/VHDLTypes.hs
b/VHDLTypes.hs
index 59da9c17341dfc1d63f70f89673159071848055a..3a8bce12f88e4fef661449443dd72a4d0c05e20a 100644
(file)
--- a/
VHDLTypes.hs
+++ b/
VHDLTypes.hs
@@
-75,7
+75,7
@@
type VHDLSession = State.State VHDLState
-- | A substate containing just the types
type TypeState = State.State TypeMap
-- | A substate containing just the types
type TypeState = State.State TypeMap
-type Builder = Either ([AST.Expr] ->
AST.Expr) (Entity -> [CoreSyn.CoreBndr] ->
AST.GenerateSm)
+type Builder = Either ([AST.Expr] ->
VHDLSession AST.Expr) (Entity -> [CoreSyn.CoreBndr] -> VHDLSession
AST.GenerateSm)
-- A map of a builtin function to VHDL function builder
type NameTable = Map.Map String (Int, Builder )
-- A map of a builtin function to VHDL function builder
type NameTable = Map.Map String (Int, Builder )