Skip to content

An implementation for Monad in Rust as a prototype

Notifications You must be signed in to change notification settings

yuk1ty/rusty-monad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusty-monad

An implementation for Monad in Rust as a prototype.

This repository requires Rust nightly 1.50 or the later version.

This repository includes following things:

  • Type classes emulation: Functor, Applicative, Monad
  • Examples for data types: Option, Result, Id, List (underconstruction)
  • Do notation emulation by macro

Type classes implementations are inspired by this post. Thank you for the awesome post! Other implementations are by myself.

About

An implementation for Monad in Rust as a prototype

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages