hero-club-five-tenets-0.3.0.1: Remember the five tenets of hero club

CopyrightI am D. 2015-2016
LicenseBSD3
Maintainerd.kupanhy@gmail.com
Stabilitystable
Safe HaskellSafe
LanguageHaskell2010

Acme.HeroClub.FiveTenets

Description

This package give you Hero Club Five Tenets, Yuki Yuna is a Hero.

Synopsis

Documentation

data Lang Source

Language dispaly.

Constructors

Japan 
English 

data No Source

Number of five Tenets.

Constructors

One 
Two 
Three 
Four 
Five 

putFiveTenetsIn :: Lang -> IO () Source

You select a language and dispaly Five Tenets.

>>> putFiveTenetsIn English
-- Hero Club Five Tenets! --
One, Give a good greeting!
One, Try not to give up!
One, Sleep well, eat well!
One, If you're troubled, talk to someone!
One, You're likely to succeed if you try!
>>> putFiveTenetsIn Japan
 -- 勇者部五箇条! --
 一つ、挨拶はきちんと!
 一つ、なるべく諦めない!
 一つ、よく寝て、よく食べる!
 一つ、悩んだら相談!
 一つ、なせば大抵なんとかなる!

putOneTenetIn :: Lang -> No -> IO () Source

Dispaly one of five tenets you have selected.

>>> putOneTenetIn English One
 Hero Club Five Tenets! One, Give a good greeting!

>>> putOneTenetIn Japan Two
 勇者部五箇条! 一つ、なるべく諦めない!

>>> putOneTenetIn English Three
 Hero Club Five Tenets! One, Sleep well, eat well!

>>> putOneTenetIn English Four
 Hero Club Five Tenets! One, If you're troubled, talk to someone!

>>> putOneTenetIn Japan Five
 勇者部五箇条! 一つ、なせば大抵なんとかなる!

putRndTenetIn :: Lang -> IO () Source

Dispaly one of five tenets at random.