News for hackers. Stuff that matters.
Re:Monads are monoids in the category of endofunctors by gpderetta on Friday September 10, 2021 @07:50AM (#28480223)
For example in C++:

  template<template<class> class F, class T>
  using apply = F<T>;

  static_assert(is_same_v<apply<list, string>, list<string> >);

There are no comments on this comment yet.