Journal of Functional Programming

Animated fuzzy logic

a1 Department of Computer Science, University of Warwick, Coventry CV4 7AL, UK (e-mail: {Gary.Meehan, [email protected])


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.