Module
Data.Consable
- Package
- purescript-consable
- Repository
- 8084/purescript-consable
#fromFoldableR Source
fromFoldableR :: forall a c f. Foldable f => Consable c => c a -> f a -> c a
Conversion from Foldable
to Consable
using foldr
.
fromFoldableR [] [1,2,3,4] == [1,2,3,4]
fromFoldableR [5] [1,2,3,4] == [1,2,3,4,5]
#fromFoldableL Source
fromFoldableL :: forall a c f. Foldable f => Consable c => c a -> f a -> c a
Conversion from Foldable
to Consable
using foldl
.
fromFoldableL [] [1,2,3,4] == [4,3,2,1]
fromFoldableL [0] [1,2,3,4] == [4,3,2,1,0]
- Modules
- Data.
Consable