GHC Trac Home
GHC Home
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
Joining In
Getting Started
Mailing Lists & IRC
Working on GHC
GHC Contributors
Wiki
Title Index
Recent Changes
Wiki Notes
Search:
Login
Help/Guide
About Trac
Register
Forgot your password?
Preferences
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Dashboard
Blog
Context Navigation
Back to Ticket #742
Ticket #742
: main.hs
File main.hs,
253 bytes
(added by guest,
6 years
ago)
Line
1
import
Graphics.SOE
2
3
4
main
=
runGraphics
(
5
do
print
"a"
6
w
<-
openWindow
"Hello"
(
300
,
300
)
7
print
"b"
8
drawInWindow w
(
text
(
100
,
200
)
"Hello graphics world!"
)
9
print
"b"
10
k
<-
getKey w
11
print
"d"
12
closeWindow w
13
)
Download in other formats:
Original Format