Re: [GHC] #393: functions without implementations

#393: functions without implementations -------------------------------------+------------------------------------- Reporter: c_maeder | Owner: simonpj Type: feature | Status: new request | Milestone: ⊥ Priority: normal | Version: None Component: Compiler | Keywords: (Type checker) | Architecture: Unknown/Multiple Resolution: None | Difficulty: Moderate (less Operating System: | than a day) Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by rodlogic): Adding the source file and line number is also quite useful. So shouldn't the definition proposed by @simonpj include them? Or is there a specific reason not to? In fact, shouldn't the exception thrown by {{{undefined}}} include the file & lineno so that the added definition would then become simply {{{f = undefined}}}, as requested in the original ticket? I have already been at a loss by an error such as {{{*** Exception: Prelude.undefined}}} without any references to where. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/393#comment:20 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC