At the moment there is no GHCi equivalent for DAML at the moment and we also don’t have any concrete plans of adding it right now since our efforts are focused on DAML studio. But if we see that there is demand for it, it is definitely something that we could consider so thank you for raising this!
From the technical side :t
and :k
commands on expressions over definitions that are defined in files should be relatively straightforward, supporting the addition of new definitions is a bit more complex but should also be doable. Actually running code is probably the most complex but with a bit of effort I expect that you could make it work.
I’d also be interested in why you prefer the GHCi experience over DAML studio. Maybe there is something we could add in DAML studio to help you?