google-research / dex-lang

Research language for array processing in the Haskell/ML family
BSD 3-Clause "New" or "Revised" License
1.58k stars 106 forks source link

Make a `BinderAndDecls` data type, at first just a wrapper around `Binder`. #1323

Open dougalm opened 1 year ago

dougalm commented 1 year ago

Next we'll actually make decls part of it. But that will involve substantive changes. This first step just makes the type distinct from Binder so we can make all the administrative changes while still passing tests.