Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have some sympathy for "divide and conquer" but for me, libc and libm and libffi seem like very good splits. libgnuc is just having a lend, libobjc is beginning to feel like I'm being trolled and when I learned about stdlib I decided to stop worrying.

There was a time when the fastest way to resolve circular dependencies in the library chain was to simply add -Lthing multiple times in sequence so that a subsequent library could be sure the name list of the priors were loaded, including the dependencies down "right" of it in the list.

Taking something as fundamental to what FP is like map/reduce and saying "this can live in an adjunct library" feels like somebody took divide and conquer a litte too far.




This is Map as in Data.Map.Map, not as in Data.Functor.fmap.


> Taking something as fundamental to what FP is like map/reduce and saying "this can live in an adjunct library" feels like somebody took divide and conquer a litte too far.

What are you talking about?


> The Haskell standard library was split off into smaller parts. Map used to be part of the standard library. To date the containers package (which contains Map) is still pre-installed alongside the GHC compiler. So it should be considered part of the standard library.

See those words "to date" and "considered" Not Is, is considered, to date. Thats what I am talking about.


Sure. But what does Map have to do with map and reduce?


To be less snarky: this might be a bit confusing to non-Haskellers.

The Map they are talking about here is a key-value-store datatype. It has nothing to do with the 'map' function.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: