Archived
1
0
Fork 0

Removed the most ugly ducks.

This commit is contained in:
Julien Dessaux 2011-05-15 13:49:28 +02:00
parent 352887b330
commit 1e348a0ad2

View file

@ -147,13 +147,11 @@ someRandomDuck = do
-- | There are many ways to hide as a duck, this function tries to cover most of them
ducks :: [String]
ducks = [ x : y : z | x <- nose, y <- face, z <- ["__/", "_/", "/"] ]
++ [ L.reverse $ x : y : z | x <- nose, y <- face, z <- ["__\\", "_\\", "\\"] ]
ducks = [ x : y : z | x <- ">=", y <- face, z <- ["__/", "_/"] ]
++ [ L.reverse $ x : y : z | x <- "<=", y <- face, z <- ["__\\", "_\\"] ]
where
nose :: String
nose = "<>="
face :: String
face = "oO°@©®ð*òôóø"
face = "oO°@©®ð*òôóø⊕Ω"
-- | Weapons can have different noises
bangs :: [String]