|
|
|
|
|
by tree_of_item
4607 days ago
|
|
> How does not having static typing prevent you from abstracting over monads? They were probably talking about the way Haskell can figure out which monad you're in through type inference. As an example, `return :: a -> m a` dispatches on the type of the function's return value, which doesn't map cleanly to a dynamically typed implementation. You need to be explicit about the monad you're in if you don't have the compiler helping you out. |
|