mirror of
https://github.com/correl/typesafe-monads.git
synced 2024-11-24 11:09:58 +00:00
Add README
This commit is contained in:
parent
87f92b504f
commit
0348e8d82b
1 changed files with 13 additions and 0 deletions
13
README.org
Normal file
13
README.org
Normal file
|
@ -0,0 +1,13 @@
|
|||
#+TITLE: Type-safe Monads
|
||||
|
||||
This is an experiment in building monads in Python supported by strict
|
||||
type annotations. The goal is to be able to compose monads with the
|
||||
type checker ensuring their correctness.
|
||||
|
||||
* Motivation
|
||||
|
||||
I'm a fan of monads, but believe they work best with the support of a
|
||||
strong type system. I've attempted to use libraries like [[https://pypi.org/project/PyMonad/][PyMonad]], but
|
||||
been frustrated by a lack of type constraints preventing incorrect
|
||||
usage. I could've attempted to add type annotations to one of those
|
||||
libraries, but building my own is more fun.
|
Loading…
Reference in a new issue