Skip to content

saeedAdelpour/monad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About this repo

this repo covers a Monad class, an interface for handling monadic things

Examples

below we cover some examples for monads

Computation

a monad class that does error handling a function must get a value and return Computation type

List

a monad class that covers operations on iterable

Maybe

a monad class that covers a situation where functions need some conditions before execute code for example, the divider of 1 to some value must run only if value is not 0

Side effect

this function does print on screen a function must return this type for do print side effect

With special thanks to kamal

About

in this project we explain monad in functional programming with some examples

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages