"Found hole"

htebalaka goodingm at gmail.com
Tue Jan 20 23:11:58 UTC 2015


Unless it behaves differently in GHC than GHCi, you can still use underscore
prefixed identifiers, provided they are in scope. I only get a type hole
message if the identifier isn't defined anywhere else.

>> let _x = 2
>> _x
2
>> _y
Found hole '_y' with type: t
...



--
View this message in context: http://haskell.1045720.n5.nabble.com/Found-hole-tp5764054p5764081.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.


More information about the Glasgow-haskell-users mailing list