Ticket #5545 (closed bug: fixed)
($!) not in scope
| Reported by: | daniel.is.fischer | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 7.4.1 |
| Component: | GHCi | Version: | 7.2.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
When no module is interpreted, ghci doesn't know ($!) anymore:
$ ghci -ignore-dot-ghci
GHCi, version 7.2.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
Prelude> const 3 $! 5
<interactive>:0:9:
Not in scope: `$!'
Perhaps you meant one of these:
`$' (imported from Prelude), `!!' (imported from Prelude)
The same happens when only compiled modules are loaded, but it's there when there's an interpreted module loaded. The same behaviour is exhibited by HEAD.
Change History
Note: See
TracTickets for help on using
tickets.
