ssm-lang / sslang

A language built atop the Sparse Synchronous Model
BSD 3-Clause "New" or "Revised" License
18 stars 0 forks source link

Constraint Pretty-Print: WriterT transformer for TC monad #160

Closed jar2333 closed 1 year ago

jar2333 commented 1 year ago

Uses a WriterT monad transformer on the TC monad stack to implement pretty-printing of constraint information regardless of success or failure of type-checking. Fully working, some points to note: