Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
0b3c43cf
Commit
0b3c43cf
authored
Jan 06, 2006
by
simonpj
Browse files
[project @ 2006-01-06 16:03:25 by simonpj]
Cosmetic
parent
065d2c3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/th/TH_exn.hs
View file @
0b3c43cf
{-# OPTIONS -fth #-}
{-# OPTIONS -fth #-}
-- This one generates an exception in the TH
-- A (head []) failure within a TH splice
-- code which should be caught in a civilised way
-- This one generates an exception in the TH
-- code which should be caught in a civilised way
module
TH
where
module
TH
where
$
(
[
d
|
|]
>>=
return
.
tail
)
$
(
do
{
ds
<-
[
d
|
|]
;
return
(
tail
ds
)
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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