¡@

Home 

python Programming Glossary: monad

Does ruby have something like python's list comprehensions(example)?

http://stackoverflow.com/questions/11319429/does-ruby-have-something-like-pythons-list-comprehensionsexample

comprehensions are just a special application of the list monad one could argue that it's probably possible to adequately rebuild..

Is “with” monadic?

http://stackoverflow.com/questions/7131027/is-with-monadic

&ldquo with&rdquo monadic Like many a foolhardy pioneer before me I'm endeavoring to.. staggering through but I can't help noticing a certain monad like quality about Python's with statement. Consider this fragment.. as the unit and the block itself as the bind . The actual monad isn't exposed uh unless f is the monad but the pattern is there...

Maybe “kind-of” monad in python

http://stackoverflow.com/questions/8507200/maybe-kind-of-monad-in-python

&ldquo kind of&rdquo monad in python Trying to find a way to clean up some of my code... person company country Having read a tutorial on Haskell's monads in particular maybe I was wondering if it's possible to write..