Scrapbook-0.4.0: code examples
Copyright© Frank Jung 2019
LicenseGPL-3
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mod35

Description

Tests whether value a integer value is modulus 3 or modulus 5.

>>> mod35 15
Synopsis

Documentation

mod35 Source #

Arguments

:: Int

value to test

-> Bool

true if modulus 3 and/or 5

Test if modulus 3 or 5.