euler-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

Euler.Problems.Problem42

Synopsis

Documentation

answer :: InputText -> Integer Source #

The number of triangle words in the input.

parseWords :: InputText -> [Text] Source #

isTriangleWord :: Text -> Bool Source #

Whether a word's score is a triangle number.