Module

Neon.Class.HasPure

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasPure Source

class HasPure a  where

Represents types that allow injecting values into a container.

pure 1 :: Maybe Int -- Just 1
pure 1 :: Array Int -- [1]

Members

  • pure :: forall b. b -> a b

Instances