Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
nofib
Commits
475c874d
Commit
475c874d
authored
May 19, 1997
by
sof
Browse files
[project @ 1997-05-19 00:34:38 by sof]
Duplicate constructor check
parent
be4ff21c
Changes
2
Hide whitespace changes
Inline
Side-by-side
GHC_ONLY/cg041/Main.hs
0 → 100644
View file @
475c874d
{-
Date: Thu, 15 May 1997 14:20:29 +0100 (BST)
From: Alex Ferguson <abf@cs.ucc.ie>
The following erroneous fragment erroneously compiles.
And then promptly falls over in the assembler, of all places.
-}
data
Token
=
TokNewline
|
TokLiteral
|
TokCount
|
TokCheck
|
TokIs
|
TokDeref
|
TokFind
|
TokLiteral
-- Duplicated!
|
TokThe
deriving
Show
main
=
print
TokCount
GHC_ONLY/cg041/Makefile
0 → 100644
View file @
475c874d
TOP
=
../..
include
$(TOP)/mk/boilerplate.mk
-include
opts.mk
include
$(TOP)/mk/target.mk
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment