Skip to content

Commit

Permalink
remove ScoperSyntax
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jan 23, 2025
1 parent adc948f commit 05c2361
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 185 deletions.
9 changes: 0 additions & 9 deletions src/Juvix/Compiler/Concrete/Data/Scope/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,6 @@ newtype ScoperIterators = ScoperIterators
}
deriving newtype (Semigroup, Monoid)

data ScoperSyntax = ScoperSyntax
{ _scoperSyntaxOperators :: ScoperOperators,
_scoperSyntaxIterators :: ScoperIterators
}

emptyScoperSyntax :: ScoperSyntax
emptyScoperSyntax = ScoperSyntax mempty mempty

makeLenses ''ScoperIterators
makeLenses ''InScope
makeLenses ''ReservedModule
Expand All @@ -122,7 +114,6 @@ makeLenses ''SymbolIterator
makeLenses ''SymbolInfo
makeLenses ''Scope
makeLenses ''ScoperOperators
makeLenses ''ScoperSyntax
makeLenses ''ScoperState
makeLenses ''ScopeParameters
makeLenses ''ModulesCache
Expand Down
Loading

0 comments on commit 05c2361

Please sign in to comment.