Changelog for hpython-0.3
Revision history for hpython
0.3
-
Changed the sigature of
Data.Validation.Monadic.bindVMto have the same form as(>>=) -
Added
HasAnninstance forLanguage.Python.Syntax.Ann.Ann -
Reworked scope checking (
Language.Python.Validate.Scope)Instead of the old triplicate
ScopeContext, we now keep a single context and mark each entry with its 'occurrence path'. This is much simpler to manage, but just as expressive as the old version. -
Improved scope checking of compound statements
Compound statements like
if ...: x = 1 else: y = xwere succeeding in scope checking because the variables from each block were added to the scope sequentially. Now, the multiple blocks are checked in the same scope, and their final scopes are combined at the end of the process.
-
Added
Foldable1/Traversable1instances forCommaSep1andCommaSep1' -
Added
HasStatements1with instances forStatementandBlock
0.2
2019-01-10
-
Improved Plated instance for exprs
It now drills down into collections, parameters, arguments, subscripts, and comprehensions
-
Added
_Identstraversal -
Annotations are now wrapped in the
Anntype to aid generic deriving -
Added
HasExprsinstance forModule -
Added
HasStatementsinstance forStatement -
Added IO-based
read-functions toLanguage.Python.Parse -
Re-export
Data.ValidationfromLanguage.Python.Parse -
Added
annotandannot_lenses toLanguage.Python.Syntax.Annto retrieve annotations from structures
0.1.0.1
2019-01-07
Welcome to 2019! (Fixed dates)
0.1
2019-01-07
Initial release