I'm developing program in Haskell and for debug I've created file with some functions. A few functions I declarate how "underfined" and I'd like to set these function in interpreter (ghci).
For example:
r :: [String]
r = undefined
After loading this file in ghci (:load Experimental.hs), I use following command:
let r = "example string"
But I have the next exception:
"*** Exception: Prelude.undefined
Can I declarate in ghci function, which in source file (.hs) underfined? Or maybe exists other solutions?