diff options
| -rw-r--r-- | AufgabeFFP6.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AufgabeFFP6.hs b/AufgabeFFP6.hs index a8f78a3..dba6043 100644 --- a/AufgabeFFP6.hs +++ b/AufgabeFFP6.hs | |||
| @@ -129,7 +129,7 @@ transform :: (W -> (F, W, [G])) -> W -> ((F, W, [G]), [W]) | |||
| 129 | transform fun w = ((f, w, g'), map (eval f) g') | 129 | transform fun w = ((f, w, g'), map (eval f) g') |
| 130 | where | 130 | where |
| 131 | (f, w, g) = fun w | 131 | (f, w, g) = fun w |
| 132 | g' = filter (\g'' -> check_divByZero f g'') g | 132 | g' = filter (check_divByZero f) g |
| 133 | 133 | ||
| 134 | -- take those, where the entry in the result list corresponds to | 134 | -- take those, where the entry in the result list corresponds to |
| 135 | filt :: (W -> ((F, W, [G]), [W]) ) -> W -> [G] | 135 | filt :: (W -> ((F, W, [G]), [W]) ) -> W -> [G] |
