diff options
Diffstat (limited to 'Semestr 3/anm/l10.hs')
-rw-r--r-- | Semestr 3/anm/l10.hs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Semestr 3/anm/l10.hs b/Semestr 3/anm/l10.hs deleted file mode 100644 index dfccaf4..0000000 --- a/Semestr 3/anm/l10.hs +++ /dev/null @@ -1,16 +0,0 @@ --- Zadanie 1 - -int :: (String -> a) -> String -> Integer -> a -int f s n = f (s ++ show n) - -str :: (String -> a) -> String -> String -> a -str f s1 s2 = f (s1 ++ s2) - -lit :: String -> (String -> a) -> String -> a -lit s f s2 = f (s2 ++ s) - -(^^) :: (b -> c) -> (a -> b) -> a -> c -(^^) = (.) - -sprintf :: ((String -> a) -> String -> String) -> String -sprintf f = f id ""
\ No newline at end of file |