Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    L

    LexiFi Blog

    lexifi.com · Company blog · on HN since 2009

    LexiFi, a financial software company, writes about OCaml internals and a contract description language for modelling financial derivatives.

    Visit blogHN submissions
    Languages & CompilersFinance & InvestingProgramming
    What HN says

    HN links it for its algebraic description of financial contracts and its OCaml posts, such as unboxed floats, which commenters cite as explanations.

    Stats for nerds
    16HN people shared it
    6linked in comments
    28story points
    Nov 2021last shared
    2009people per year2021

    Top posts on HN

    1. 1
      About unboxed float arrays
      1 person · 13 points · first shared 2015 · 1 comments on HN
    2. 2
      Runtime types in OCaml
      1 person · 7 points · first shared 2011 · 3 comments on HN
    3. 3
      Real world Haskell: modelling financial derivatives [pdf]
      1 person · 3 points · first shared 2015 · Discussion on HN
    4. 4
      Dynamic types
      2 people · 2 points · first shared 2015 · Discussion on HN
    5. 5
      (OCaml) Migrating to floatarray: experience report
      1 person · 2 points · first shared 2021 · Discussion on HN
    6. 6
      Inlined records in OCAML constructors
      1 person · 1 points · first shared 2014 · Discussion on HN
    7. 7
      MLFiPaper.pdf
      2 people · first shared 2016
    8. 8
      MLFiPaper.pdf
      1 person · first shared 2010
    9. 9
      Instrumentbox
      1 person · first shared 2020
    10. 10
      Runtime types.pdf
      1 person · first shared 2011

    What HN people wrote when they linked it

    • narakSep 2017

      This seems like a legitimate use-case for permissioned ledgers where various lenders have necessarily siloed lending history data but also have an interest in seeing what data everyone else has for prospective lendees.

      In the longer run, you can imagine not just credit history data being exchanged (with the permission of the borrower perhaps) but also the ability to trade the loan products themselves, most of which is done OTC right now. Fixed income contracts can be described as "smart contracts" [1]

      [1] https://lexifi.com/files/resources/MLFiPaper.pdf

    • kurtosisApr 2010

      Well I love python, but this reminds me of a set of an old paper by Peyton-Jones of GHC fame, which developed a Haskell combinator lib that did something like this. I'm sure the state of the art has left this system long behind, but it's a pretty interesting concept.

      Composing contracts: an adventure in financial engineering, Simon Peyton Jones, Jean-Marc Eber, Julian Seward. ICFP, 2000
      http://www.lexifi.com/downloads/MLFiPaper.pdf

      See also:
      http://homepages.inf.ed.ac.uk/wadler/realworld/lexifi.html

    • jackgaviganOct 2015

      FpML (Financial Products Markup Language) was conceived shortly before the paper referenced in the blog post.[1]

      One of the paper's authors went on to create MLFi, a modelling language for finance[2]

      This stuff is a bit esoteric but I think it will attract more attention because of its relevance to smart contracts.

      1: http://www.fpml.org/

      2: https://www.lexifi.com/product/technology/contract-description-language

    • simiasAug 2020

      For those who like me aren't familiar with the concept of "float boxing", I think this is the same thing: https://www.lexifi.com/ocaml/unboxed-floats-ocaml/

      Basically if I understand correctly this removes an indirection when using floats, probably reducing the memory footprint and improving performance.

    • naaskingJun 2016

      > I'd love to see an example of such a restricted contract language.

      A Formal Language for Analyzing Contracts, http://szabo.best.vwh.net/contractlanguage.html

      Composing contracts:
      an adventure in nancial engineering, https://lexifi.com/files/resources/MLFiPaper.pdf

    • Patient0Nov 2009

      For a good counter counter example to this guy's rant:
      Functional Payout Framework used for exotic options pricing at Barclays Capital, developed entirely in Haskell: http://www.lexifi.com/downloads/frankau.pdf

    Related

    Oleg Kiselyovokmij.org251 people

    How the OCaml type checker works (2022)

    Oleg Kiselyov
    Personal · last shared 2026
    Jane Street Blogblog.janestreet.com221 people

    A better build system for OCaml

    Jane Street Blog
    Company · last shared 2026
    Alexis Kinglexi-lambda.github.io172 people

    Parse, Don’t Validate

    Alexis King
    Personal · last shared 2026
    FP Complete Blogfpcomplete.com201 people

    Monads and GATs in Nightly Rust

    FP Complete Blog
    Company · last shared 2025
    Steven Wittensacko.net287 people

    TermKit - a graphical terminal replacement

    Steven Wittens
    Personal · last shared 2026
    Jane Street OCamlocaml.janestreet.com56 people

    Effective ML - Yaron Minsky

    Jane Street OCaml
    Company · last shared 2020
    axisofevalaxisofeval.blogspot.com57 people

    Common Lisp's block / return-from and unwind-protect

    axisofeval
    Personal · last shared 2025
    Coalton Blogcoalton-lang.github.io40 people

    Coalton: How to Have Our (Typed) Cake and (Safely) Eat It Too, in Common Lisp

    Coalton Blog
    Company · last shared 2026