Runtime Haskell interpreter

#13Hint doesn't interpret non-expression code.

I would like to define a new type without having to write it to a file:

for instance

data Test = Test

Is this intentional? Could this be a feature request if so or is this something that you want to avoid adding?

Could you suggest alternative solutions or would you suggest I write a file and then load it as a module, which is what I'm currently doing.

Thanks!