Defining multiline functions in .ghci file

Viewed 169

Can you define a multi-line function in the .ghci file?

I've tried

 what :: Show a => a -> a
 what = Db.traceShowId

But this didn't work. Is there some way to do this?

1 Answers
Related