ninetynine-1.3.0: Ninety-Nine Haskell Problems
CopyrightCopyright (C) 2022 Yoo Chung
LicenseGPL-3.0-or-later
Maintainerdev@chungyc.org
Safe HaskellSafe-Inferred
LanguageGHC2021

Solutions.P44

Description

Some solutions to Problems.P44 of Ninety-Nine Haskell Problems.

Synopsis

Documentation

isGaussianPrime :: Complex Integer -> Bool Source #

Determine whether a Gaussian integer is a Gaussian prime.