stefan-hoeck / idris2-elab-util

Utilities and documentation for exploring idirs2's new elaborator reflection.
BSD 2-Clause "Simplified" License
77 stars 18 forks source link

[ refactor ] move Pretty instances to Language.Reflection.Pretty module #32

Closed stefan-hoeck closed 2 years ago

stefan-hoeck commented 2 years ago

So far, all libraries making use of the elab reflection utilities from elab-util had to depend on the contrib package even if they didn't make use of the pretty printing utilities of elab-util. With this PR, all pretty printing stuff is moved to a single module, so libraries not using this module will no longer have to depend on contrib.