Personal tools

GHC/Common Error Messages

From HaskellWiki

< GHC
Jump to: navigation, search

This page is meant to explain typical causes of some error messages generated by the GHC during compilation and runtime. The page should explain basic errors in terms understandable for real newbies.

Contents

1 Compile errors

1.1 Type errors

Remark that GHC's type errors are not always in the right places should go here

1.1.1 Couldn't match type

1.1.2 Infinite type

1.2 Parse errors

1.3 Other errors

2 Runtime errors