Simon Peyton-Jones | 2 May 2005 14:33
Picon
Favicon
Gravatar

RE: Unused variable warnings when deriving (Data)

Good point. I've fixed this.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces <at> haskell.org
[mailto:glasgow-haskell-bugs-
| bounces <at> haskell.org] On Behalf Of Tomasz Zielonka
| Sent: 27 April 2005 10:09
| To: GHC-bugs
| Subject: Unused variable warnings when deriving (Data)
| 
| Hello!
| 
| When I compile the following module with "ghc -W -c A.hs" I see
several
| unnecessary warning messages:
| 
| $ ghc --version
| The Glorious Glasgow Haskell Compilation System, version 6.4
| $ ghc -no-recomp -W -c A.hs
| 
| <no location info>: Warning: Defined but not used: `k'
| 
| <no location info>: Warning: Defined but not used: `k'
| 
| <no location info>: Warning: Defined but not used: `k'
| 
| Adding parameters to data constructors makes the warnings disappear,
| example:
(Continue reading)

SourceForge.net | 2 May 2005 15:09
Picon
Favicon

[ ghc-Bugs-1167383 ] GHCi reports too few instances

Bugs item #1167383, was opened at 2005-03-21 09:01
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1167383&group_id=8032

Category: GHCi
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 4
Submitted By: Simon Peyton Jones (simonpj)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi reports too few instances

Initial Comment:
GHCi aspires to report all instances that can be written 
unqualified in the current scope; but it doesn't.

| ~% ghci
|    ___         ___ _
|   / _ \ /\  /\/ __(_)
|  / /_\// /_/ / /  | |      GHC Interactive, version 6.4, for 
Haskell 98.
| / /_\/ __  / /___| |      http://www.haskell.org/ghc/
| \____/\/ /_/\____/|_|      Type :? for help.
| 
| Loading package base-1.0 ... linking ... done.
| 
| Prelude> :i Bool
| data Bool = False | True 	-- <wired into compiler>
(Continue reading)

SourceForge.net | 3 May 2005 13:49
Picon
Favicon

[ ghc-Bugs-1194393 ] segmentation fault

Bugs item #1194393, was opened at 2005-05-03 11:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194393&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko O'Whielacronx (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault

Initial Comment:
http://bugs.darcs.net//Ticket/Display.html?id=367

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194393&group_id=8032
SourceForge.net | 3 May 2005 13:49
Picon
Favicon

[ ghc-Bugs-1194392 ] internal error in GHC

Bugs item #1194392, was opened at 2005-05-03 11:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194392&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko O'Whielacronx (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: internal error in GHC

Initial Comment:
http://bugs.darcs.net//Ticket/Display.html?id=339

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194392&group_id=8032
SourceForge.net | 3 May 2005 13:57
Picon
Favicon

[ ghc-Bugs-1188785 ] panic! ... forkM Declaration for tables{v}

Bugs item #1188785, was opened at 2005-04-23 23:54
Message generated for change (Comment added) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1188785&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! ...  forkM Declaration for tables{v}

Initial Comment:
Got this while trying to build the examples code in 
HSsql. I am obviously having problems with locations of 
interface files. 

The complete verbage is:

Mark <at> mark-
xsd45hrekw /dosC/Software/haskell/hsql14_src/HSQL/e
xamples
$ ghc -package hsql Queries.hs
c:/Software/haskell/ghc-
6.4.0/imports/Database/HSQL.hi :
  Can't find interface-file declaration for 
Database.HSQL.Types.Connection
    Probable cause: bug in .hi-boot file, or 
(Continue reading)

SourceForge.net | 3 May 2005 15:12
Picon
Favicon

[ ghc-Bugs-1162969 ] Over-zealous dup-import warning

Bugs item #1162969, was opened at 2005-03-14 12:56
Message generated for change (Settings changed) made by simonpj
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1162969&group_id=8032

Category: Compiler
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 4
Submitted By: Simon Peyton Jones (simonpj)
Assigned to: Simon Peyton Jones (simonpj)
Summary: Over-zealous dup-import warning

Initial Comment:
Pointed out by John Meacham [john <at> repetae.net]

In 6.4 the duplicate import warning seems to be 
triggered overzealously, even
when one import is qualified and the other isn't.

import qualified Data.Map 
import Data.Map(Map)

foo :: Map Int Int
foo = Data.Map.empty

main = do
    print foo

(Continue reading)

SourceForge.net | 3 May 2005 15:17
Picon
Favicon

[ ghc-Bugs-1188785 ] panic! ... forkM Declaration for tables{v}

Bugs item #1188785, was opened at 2005-04-24 01:54
Message generated for change (Comment added) made by wferi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1188785&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! ...  forkM Declaration for tables{v}

Initial Comment:
Got this while trying to build the examples code in 
HSsql. I am obviously having problems with locations of 
interface files. 

The complete verbage is:

Mark <at> mark-
xsd45hrekw /dosC/Software/haskell/hsql14_src/HSQL/e
xamples
$ ghc -package hsql Queries.hs
c:/Software/haskell/ghc-
6.4.0/imports/Database/HSQL.hi :
  Can't find interface-file declaration for 
Database.HSQL.Types.Connection
    Probable cause: bug in .hi-boot file, or 
(Continue reading)

SourceForge.net | 3 May 2005 16:52
Picon
Favicon

[ ghc-Bugs-1188785 ] panic! ... forkM Declaration for tables{v}

Bugs item #1188785, was opened at 2005-04-23 23:54
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1188785&group_id=8032

Category: Compiler
Group: 6.4
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! ...  forkM Declaration for tables{v}

Initial Comment:
Got this while trying to build the examples code in 
HSsql. I am obviously having problems with locations of 
interface files. 

The complete verbage is:

Mark <at> mark-
xsd45hrekw /dosC/Software/haskell/hsql14_src/HSQL/e
xamples
$ ghc -package hsql Queries.hs
c:/Software/haskell/ghc-
6.4.0/imports/Database/HSQL.hi :
  Can't find interface-file declaration for 
Database.HSQL.Types.Connection
    Probable cause: bug in .hi-boot file, or 
(Continue reading)

SourceForge.net | 3 May 2005 17:07
Picon
Favicon

[ ghc-Bugs-1194393 ] segmentation fault

Bugs item #1194393, was opened at 2005-05-03 11:49
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194393&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko O'Whielacronx (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault

Initial Comment:
http://bugs.darcs.net//Ticket/Display.html?id=367

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-05-03 15:07

Message:
Logged In: YES 
user_id=48280

If the darcs devs can confirm that this is most likely a bug
in GHC, as opposed to a bug in darcs due to use of FFI or
unsafeWhatNot, then we'll look into it.  We need a repro
case (the repository that caused the failure, at least), and
(Continue reading)

SourceForge.net | 3 May 2005 17:10
Picon
Favicon

[ ghc-Bugs-1194392 ] internal error in GHC

Bugs item #1194392, was opened at 2005-05-03 11:49
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1194392&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Zooko O'Whielacronx (zooko)
Assigned to: Nobody/Anonymous (nobody)
Summary: internal error in GHC

Initial Comment:
http://bugs.darcs.net//Ticket/Display.html?id=339

----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-05-03 15:10

Message:
Logged In: YES 
user_id=48280

We need a repro case: a darcs repository from which to pull,
and the sources to the darcs version that exhibits the error.

----------------------------------------------------------------------
(Continue reading)


Gmane