Judah Jacobson
18d1ca0338
Fix edge cases parsing qualified operators. ( #32 )
...
Also add some tests, and expose more functionality to work with names.
2019-08-18 15:03:45 -07:00
Judah Jacobson
362eadc898
Replace matchRhs/matchRhs with match/matchGRHSs. ( #26 )
...
Optimize names for the common case taking just an expression
on the RHS.
Also for `valBind` and `patBind`.
2019-08-17 22:21:24 -07:00
Judah Jacobson
2cceb66969
Introduce valBind
, and add HasPatBind
. ( #25 )
...
Another follow-up fix for #13 :
- Don't allow pattern bindings in class or instance declarations
- Add `valBind` which *is* allowed in let and where clauses
- Add `valBindRhs` and `patBindRhs`.
2019-08-17 21:31:42 -07:00
Judah Jacobson
4a703f9468
Implement type family instances. ( #23 )
2019-08-11 09:33:24 -07:00
Judah Jacobson
14ecaf64df
Add record expressions and patterns. ( #21 )
2019-08-04 18:25:10 -07:00
Judah Jacobson
aaf1a43b9d
Construction of import/export items. ( #20 )
2019-07-28 20:29:26 -07:00
Judah Jacobson
f1e93651c9
Deriving clauses. ( #17 )
...
For now, no DerivingVia since it's not in every GHC version.
2019-07-28 18:04:59 -07:00
Judah Jacobson
5b02f333db
Rename guarded
to guardedRhs
. ( #7 )
2019-07-14 06:56:18 -07:00
Judah Jacobson
f0388f4748
Refactor matches/bindings to support patBind
. ( #6 )
2019-07-14 06:40:18 -07:00
Judah Jacobson
1346ef0ca8
Initial commit.
2019-07-09 13:58:46 -07:00