concept isPrime function in category haskell

appears as: n isPrime function, isPrime function
Get Programming with Haskell

This is an excerpt from Manning's book Get Programming with Haskell.

37.3.2. Defining an isPrime function

Now that you have a list of primes, defining an isPrime function seems trivial: you just check whether the value is in your list. You’d start with a type signature like this: