Download The Monad.Reader Issue 1

Transcript
I know Perl 5, but not Haskell. Can I develop Pugs? . . . . . . . . .
I know Haskell, but not Perl 5. Can I develop Pugs? . . . . . . . . .
I have learned some Perl 6. What can I do with Pugs? . . . . . . . .
Where can I learn more about Haskell? . . . . . . . . . . . . . . . . .
Where can I learn more about Perl 6? . . . . . . . . . . . . . . . . .
Where can I learn more about implementing programming languages?
I’d like to help. What should I do? . . . . . . . . . . . . . . . . . . .
An Introduction to Gtk2Hs, a Haskell GUI Library
Introduction . . . . . . . . . . . . . . . . . . . . .
What is Gtk2Hs? . . . . . . . . . . . . . . . . . .
The example program: Memory, the game . . . .
The GUI: Using Glade . . . . . . . . . . . . . . .
The code: reading the glade description . . . . . .
The code: what’s after Glade . . . . . . . . . . .
The code: setting up communication . . . . . . .
The code: playing the game . . . . . . . . . . . .
The code: playing with efficiency . . . . . . . . .
The game: really playing it . . . . . . . . . . . .
Conclusion . . . . . . . . . . . . . . . . . . . . . .
Implementing Web-Services with the
Introduction to HAIFA . . . . . . .
Components of HAIFA . . . . . . .
The Generic XML Serializer .
Hooks . . . . . . . . . . . . .
SOAP/1.1 . . . . . . . . . . .
Web-Service Publisher . . . .
Putting it all together . . . . . . .
Future Components . . . . . . . . .
XML Schema . . . . . . . . .
WSDL . . . . . . . . . . . . .
Composite Web-services . . .
Conclusion . . . . . . . . . . . . . .
References . . . . . . . . . . . . . .
Listing of Factorial Web-Service . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
HAIFA Framework
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Code Probe - Issue one: Haskell XML-RPC, v.2004-06-17 [1]
XML-RPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Haskell XML-RPC . . . . . . . . . . . . . . . . . . . . . . . .
Literate Programming, almost . . . . . . . . . . . . . . . . . .
Short Reference . . . . . . . . . . . . . . . . . . . . . . . . . .
Low-Level Structs . . . . . . . . . . . . . . . . . . . . . . . . .
Meat of the Matter . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
15
15
15
16
16
16
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
17
17
19
19
20
22
22
27
30
30
31
.
.
.
.
.
.
.
.
.
.
.
.
.
.
32
32
33
33
36
37
37
38
39
39
40
40
40
41
42
.
.
.
.
.
.
44
44
45
45
45
46
46
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.