janestreet/base
View on GitHub ↗ ★ 1,098 OCaml
Standard library for OCaml
7 mentions on Hacker News by 7 people: 0 stories, 7 comments · first 2017-03-28 · latest 2024-05-02
20082026
-
…in it I got the impression that their "standard library" is kind of the de facto standard library. https://github.com/janestreet/base
comment by cess11 · 2024-05-02 · in Takeaways from the Jane Street bond prospectus -
…fully understand the code, but my exposure to OCaml is this stuff, and it looks pretty clean to me. https://github.com/janestreet/base Of course, I haven’t read every file, so maybe I got lucky with my random sampling.
comment by j33zusjuice · 2023-04-26 · in My thoughts on OCaml -
…exns in OCaml is cheap. List.fold_until in Base, for example, is implemented with exceptions: https://github.com/janestreet/base/blob/ae169dc8097b3da8e99d... (With_return is internally implemented by raising an exception in a try-with.)…
comment by shadytrees · 2022-12-23 · in Avoid exception throwing in performance-sensitive code -
This delimiter first pattern is used a lot in Ocaml code as well: Records: https://github.com/janestreet/base/blob/master/src/avltree.m... If statements: https://github.com/janestreet/base/blob/master/src/string.ml... Lists:…
comment by sweetsocks21 · 2022-12-09 · in Delimiter-first code -
…at Jane Street. I'm biased, as I'm one of the maintainers, but trust me it's good, it's good. [1]: https://github.com/janestreet/base
comment by seliopou · 2018-02-08 · in Exploring ReasonML and functional programming -
…is also pretty awesome - they open sourced their in-house standard library for OCaml, called Base: https://github.com/janestreet/base (they use a lot of OCaml).
comment by dsacco · 2017-05-22 · in The Quants Run Wall Street Now -
…[1]: https://github.com/c-cube/ocaml-containers/ [2]: http://batteries.forge.ocamlcore.org/ [3]: https://github.com/janestreet/base [4]: https://github.com/ocaml-doc/odoc/ [5]: https://github.com/c-cube/gen/ [6]:…
comment by Drup · 2017-03-28 · in A set of efficient persistent immutable data structures for Reason and OCaml