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 #2834
Ticket #2834
: Adder.hs
File Adder.hs,
173 bytes
(added by lewissandy,
4 years
ago)
Line
1
{-# OPTIONS_GHC -fglasgow-exts #-}
2
3
module
Adder
where
4
5
adder
::
Int
->
Int
->
IO
Int
6
adder
x y
=
return
(
x
+
y
)
7
8
foreign
export stdcall adder
::
Int
->
Int
->
IO
Int
Download in other formats:
Original Format