|
|
|
|
|
by agnishom
348 days ago
|
|
I understand where you are coming from, but in a large number of cases this advice does not really make sense. Sure, a Haskell programmer does write toList when relevant. The lens library also has operators named each or over or _Left. But let's say I write <$> and you tell me to use fmap. Is that any better? Not particularly. If you didn't know what Functor is, you wouldn't automatically be able to infer it by reading the name `fmap`. A large number of Haskell concepts simply have no analogue in everyday English. |
|