Home

About

Advanced Search

Browse by Discipline

Scientific Societies

E-print Alerts

Add E-prints

E-print Network
FAQHELPSITE MAPCONTACT US


  Advanced Search  

 
LEHR-UND FORSCHUNGSGEBIET INFORMATIK II RWTH Aachen D-52056 Aachen GERMANY
 

Summary: RHEINISCH-
WESTF 
ALISCHE
TECHNISCHE
HOCHSCHULE
AACHEN
LEHR- UND FORSCHUNGSGEBIET INFORMATIK II
RWTH Aachen  D-52056 Aachen  GERMANY
http://www-i2.informatik.rwth-aachen.de/lufgi2
LuFG
Informatik II
Prof. Dr. J urgen Giesl
Rene Thiemann
Exercises Functional Programming { Sheet 5
Solutions will be collected until Thursday, Nov 21, 2002 in the exercise course.
Exercise 1 ( 1.5 + 2.5 points)
(a) De ne a function appendTwiceFile :: String -> String -> IO () that takes a lena-
me fn and a string s as input and appends s to the contents of fn twice. You should only
use the prede ned functions readFile and writeFile for I/O. In this part, you are not
allowed to use the do-notation.

  

Source: Ábrahám, Erika - Fachgruppe Informatik, Rheinisch Westfälische Technische Hochschule Aachen (RWTH)

 

Collections: Computer Technologies and Information Sciences