Skip to content

Commit

Permalink
Add a note about resolving symbols in the parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
robrix committed Oct 23, 2020
1 parent 48a4a72 commit 9a08204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Facet/Parser.hs
Expand Up @@ -48,6 +48,7 @@ import Text.Parser.Token.Style
-- list literals
-- numeric literals
-- forcing nullary computations
-- resolve symbols in the parser

runFacet :: Functor m => [N.UName] -> [AnyOperator] -> Facet m a -> m a
runFacet env ops (Facet m) = evalState ops (m env)
Expand Down

0 comments on commit 9a08204

Please sign in to comment.