Module

Neon.Class.HasAdd

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasAdd Source

class HasAdd a  where

Represents types that can be added together. This is also known as a semigroup.

2 :add 1 -- 3
"a" :add "b" -- "ab"

Members

  • add :: a -> a -> a

Instances