Skip to content
Korea Holiday Library in Haskell
Haskell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
src
test
.gitignore
.travis.yml
LICENSE
Makefile
README.md
Setup.hs
package.yaml
stack.yaml
stack.yaml.lock

README.md

korea-holidays

Build Status Hackage-Deps Hackage

korea-holidays is a Haskell library to check if a given date is a Korean Holiday.

Usage

Korea.getHoliday 2000 1 1 `shouldBe`
      Just
        Holiday
          {date = KM.MD (1, 1), name = "New Year's Day", lunar = Nothing}

Korea.getHoliday 2019 3 1 `shouldBe`
      Just
        Holiday
          {date = KM.MD (3, 1), name = "March 1 Movement Day", lunar = Nothing}

Add to your dependency

In your package.yaml

dependencies:
- korea-holidays
You can’t perform that action at this time.