In this paper we aim to give an introduction to fuzzy logic using
the language Haskell to
implement our solutions. We shall see how the high-level, declarative nature
of a functional
language allows us to implement easily and efficiently solutions to problems
using fuzzy logic
and, in particular, how the presence of functions as first-class values
allows us to model the
key concept of the fuzzy subset in a natural way.