Copyright | Justin Ethier |
---|---|
License | MIT (see LICENSE in the distribution) |
Maintainer | github.com/justinethier |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contains general-purpose utility functions
Documentation
countAllLetters :: Char -> [String] -> Int Source #
Count occurences of a letter in a list of strings
escapeBackslashes :: String -> String Source #
A utility function to escape backslashes in the given string
lastN' :: Int -> [a] -> [a] Source #
Take last n elements of a list, from: http://stackoverflow.com/q/17252851/101258