Skip to content

Experimental library/package for implementing monad like data structures in Go

License

Notifications You must be signed in to change notification settings

jkratz55/gonads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gonads

Gonads is an experimental library/package for implementing monad like data structures in Go.

Be warned, many Gophers will likely find this code non-idiomatic and maybe even a blight on the Go community! This library was inspired by my experience in other languages, Java/Kotlin/C# and I've been getting into Rust. In particular, I'm a big fan of Option[T] and Result[T, E] types from Rust. Because of the limitations of the Go implementation of generics and the weak type system we can't mimic Rust exactly, but this an attempt to at least build something useful.

About

Experimental library/package for implementing monad like data structures in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages