Ticket #1201 (new bug)
ghci runs Template Haskell splices 4 times
| Reported by: | igloo | Owned by: | simonpj |
|---|---|---|---|
| Priority: | low | Milestone: | _|_ |
| Component: | Template Haskell | Version: | 6.6 |
| Keywords: | Cc: | alfonso.acosta@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | Unknown |
| Test Case: | ghci018 | Blocked By: | |
| Blocking: | Related Tickets: |
Description
ghci (both 6.6 and HEAD) appears to run Template Haskell splices 4 times, as shown here:
$ ghci -fth -v0 Prelude> :m + Language.Haskell.TH Prelude Language.Haskell.TH> $(do runIO $ (Random.randomIO :: IO Int) >>= print; [| 1 |] ) 7184082642420483628 -8222359774145102883 2625059211496099566 1462332877512834399 1
Change History
Note: See
TracTickets for help on using
tickets.
