Copyright | (c) OleksandrZhabenko 2020 |
---|---|
License | MIT |
Stability | Experimental |
Safe Haskell | None |
Language | Haskell2010 |
Maintainer : olexandr543@yahoo.com
Helps to order the 7 or less Ukrainian words (or their concatenations) to obtain (to some extent) suitable for poetry or music text.
Different norms
norm1 :: [Int] -> Int Source #
The first norm for the list of positive Int
. For not empty lists equals to the maximum element.
norm2 :: [Int] -> Int Source #
The second norm for the list of positive Int
. For not empty lists equals to the sum of the elements.
norm3 :: [Int] -> Int Source #
The third norm for the list of positive Int
. For not empty lists equals to the sum of the doubled maximum element and the rest elements of the list.