GHC Trac Home
GHC Home
Joining In
Working on GHC
Mailing Lists & IRC
GHC Contributors
Documentation
Status Reports
Repositories
Building Guide
Commentary
Debugging
View Tickets
All Bugs
All Tasks
All Feature Req's
All Proposals
My Tickets
Tickets I Created
By Milestone
By OS
By Architecture
Patches for review
Create Ticket
New Bug
New Task
New Feature Req
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
View Tickets
Dashboard
Blog
Context Navigation
Back to Ticket #7445
Ticket #7445
: quasi-arithmetic.hs
File quasi-arithmetic.hs,
142 bytes
(added by erikd,
7 months
ago)
Line
1
{-# LANGUAGE TemplateHaskell, QuasiQuotes #-}
2
3
import
QuasiArith
4
5
main
::
IO
()
6
main
=
do
7
print
[
expr
|
1
+
3
|
]
8
print
[
expr
|
2
*
3
|
]
Download in other formats:
Original Format