plaudern.de

Forumsharing?
Forum suchen
Forum erstellen
Impressum/Kontakt
Datenschutz
AGB
Hilfe

45 User im System
Rekord: 144
(11.09.2023, 16:48 Uhr)

 
 
 Haskell :: Sprache
  Suche:

 Blatt 6 [ohne Text] 27.11.2002 (22:51 Uhr) amo
 Aufgabe 1 27.11.2002 (22:53 Uhr) amo
 Aufgabe 2 27.11.2002 (22:57 Uhr) amo
 Mehrfachtests 29.11.2002 (05:03 Uhr) amo
 Re: Aufgabe 2 - allDifferent 29.11.2002 (05:12 Uhr) amo
 allDifferent2 01.12.2002 (19:39 Uhr) amo
 allDifferent3 01.12.2002 (19:41 Uhr) amo
 allDifferent -> allDifferent3 01.12.2002 (19:57 Uhr) amo
 allDifferent -> allDifferent3 29.11.2002 (04:56 Uhr) amo
 allDifferent4 01.12.2002 (20:08 Uhr) amo
 allDifferent5 01.12.2002 (20:16 Uhr) amo
 allDifferents 01.12.2002 (20:24 Uhr) amo
 Aufgabe 3 - substring 27.11.2002 (22:59 Uhr) amo
 Aufgabe 4 27.11.2002 (23:47 Uhr) amo
 checkHTML 02.12.2002 (07:34 Uhr) amo
 checkHTML 03.12.2002 (19:23 Uhr) amo
module Test_checkHTML (tCH)
   where

tCH :: (String -> Bool) -> IO ()
tCH f = putStr (tch htmlTestList)
   where tch [] = ""
         tch (s:htl) = "f " ++ show s ++ " = " ++ show (f s) ++ "\n" ++ tch htl
         htmlTestList = [ html0, html1, html2, html3, html4, khtml0, khtml1, khtml2, khtml3, khtml4, khtml5, khtml6, khtml7, khtml8 ]
         html0 = "<html> <head> <title> </title> </head> <body> </body> </html>"
         html1 = "<html> <head> <title> </title> <meta> </meta> </head> <body> </body> </html>"
         html2 = "<html> <head> <title> </title> <meta> </meta> <meta> </meta> </head> <body> </body> </html>"
         html3 = "<html> <head> <title> </title> <meta> </meta> <meta> </meta> <meta> </meta> </head> <body> </body> </html>"
         html4 = "<html> <head> <title> </title> <meta> </meta> <meta> </meta> <meta> </meta> <meta> </meta> </head> <body> </body> </html>"
         khtml0 = "<html> <head> <title> </title> </head> <body> </body> "
         khtml1 = "<html> <head> <title> </title> </head> <body> </body> </htmll>"
         khtml2 = "<head> <title> </title> </head> <body> </body> </html>"
         khtml3 = "<html> <head> <title> Hallo Leute! </title> </head> <body> </body> </html>"
         khtml4 = "<html> <head> <title> </title> <meta name=\"test\" value=\"blafasel\"> </meta> <meta> </meta> </head> <body> </body> </html>"
         khtml5 = "<html> <head> <title> </title> <meta> </meta> <meta> MetaInhalt </meta> </head> <body> </body> </html>"
         khtml6 = "<html> <head> <title> </title> <meta> </meta> <meta> </meta> </head> <body> </body> </khtml>"
         khtml7 = "<html> <head> <title> </title> <meta> </meta> <meta> </meta> </head> <body> HTML-Text, der angezeigt wird, oder auch nicht... </body> </html>"
         khtml8 = "<html> <head> <meta> </meta> <meta> </meta> </head> <body> </body> </html>"
Zuletzt geändert von amo am 04.12.2002 um 03:49 Uhr.
 checkHTML - Primitivversion 04.12.2002 (05:03 Uhr) amo
 Re: checkHTML - Primitivversion 04.12.2002 (05:09 Uhr) amo
 ganze Datei für Blatt 6 04.12.2002 (12:52 Uhr) amo

Dies ist ein Beitrag aus dem Forum "Haskell". Die Überschrift des Forums ist "Haskell :: Sprache".
Komplette Diskussion aufklappen | Inhaltsverzeichnis Forum Haskell | Forenübersicht | plaudern.de-Homepage

Kostenloses Forumhosting von plaudern.de. Dieses Forum im eigenen Design entführen. Impressum



Papier sparen durch druckoptimierte Webseiten. Wie es geht erfahren Sie unter www.baummord.de.