Module

Neon.Class.HasNot

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasNot Source

class HasNot a  where

Represents types can be negated. This is known as negation.

not false -- true

The instance for functions is a little tricky. Calling not on a function returns a new function that calls the original function and then nots the result.

not even -- \ x -> not (even x)
(not even) 3 -- true

Members

Instances