Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3 |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Support for detecting license header in Haskell source code files.
Synopsis
- headerSizeHaskell :: Text -> Int
Documentation
headerSizeHaskell :: Text -> Int Source #
Returns size of license header (as number of lines) in given Haskell source code. Current implementation is pretty simple and it only takes line starting with one of the following keywords as the start of code itself:
{-#
module