3 ms·
monad like an idea - yes, it will be a concept. But a concrete monad - like list or maybe - will be a template class. Probably comment author means this
by feelamee 1y ago
monad like an idea - yes, it will be a concept.
But a concrete monad - like list or maybe - will be a template class.
Probably comment author means this
- gpderetta 1y agoGood point. In the same way we say that a pointer is an iterator or a vector is a container, when more precisely we should say that they model the iterator concept and container concept respectively.