Module

Neon.Class.HasTraverse

Package
purescript-neon
Repository
tfausak/purescript-neon

#HasTraverse Source

class HasTraverse t  where

Represents data structures that can be traversed from left to right. Unlike Reduce, these structures can be traversed while keeping their shape.

[1, 2] :traverse (\ x -> x :inspect :Just) -- Just ["1", "2"]

Members

Instances