summaryrefslogtreecommitdiff
path: root/ws2015
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-04 18:49:35 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-04 18:49:35 +0100
commit753e45b3d5f5e3ad2bd083ee753f72973e74502f (patch)
tree8d5d6485dd61eefdcf54f741688ec619519bbdd7 /ws2015
parent02d3c3f9e89e254b218cf6229bff67d54cf41508 (diff)
downloaduni-753e45b3d5f5e3ad2bd083ee753f72973e74502f.tar
uni-753e45b3d5f5e3ad2bd083ee753f72973e74502f.tar.gz
uni-753e45b3d5f5e3ad2bd083ee753f72973e74502f.tar.bz2
uni-753e45b3d5f5e3ad2bd083ee753f72973e74502f.tar.xz
uni-753e45b3d5f5e3ad2bd083ee753f72973e74502f.zip
removed broken solution & pointlessly pointless
Diffstat (limited to 'ws2015')
-rw-r--r--ws2015/FFP/blaetter/03/FFP_U03_Funktoren.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/ws2015/FFP/blaetter/03/FFP_U03_Funktoren.hs b/ws2015/FFP/blaetter/03/FFP_U03_Funktoren.hs
index eaa09c7..df5de5a 100644
--- a/ws2015/FFP/blaetter/03/FFP_U03_Funktoren.hs
+++ b/ws2015/FFP/blaetter/03/FFP_U03_Funktoren.hs
@@ -106,7 +106,7 @@ testb1 = testT2 == (fmap even testT1)
106 106
107{- 107{-
108 fmap ist hier identisch zu (.) 108 fmap ist hier identisch zu (.)
109 λ ((\a -> (a, a)) `fmap` (\i -> i + 2)) 2 109 λ ((\a -> (a, a)) `fmap` (+ 2)) 2
110 (4,4) 110 (4,4)
111-} 111-}
112 112
@@ -151,11 +151,6 @@ alleVariablen' = "" : [v : p | p <- alleVariablen', v <- vars]
151 where 151 where
152 vars = ['a', 'b', 'c', 'd'] 152 vars = ['a', 'b', 'c', 'd']
153 153
154alleVariablen'' :: [String]
155alleVariablen'' = [v : p | p <- "" : alleVariablen'', v <- vars]
156 where
157 vars = ['a', 'b', 'c', 'd']
158
159-- Zum Testen: 154-- Zum Testen:
160check l x = (map length . groupBy ((==) `on` length)) (take x l) 155check l x = (map length . groupBy ((==) `on` length)) (take x l)
161 156