News for hackers. Stuff that matters.
Re:OCaml on Baremetal Shakti RISC-V Processor by andrepd on Tuesday April 02, 2019 @08:30AM (#19553314)
Yep. You could write

    module Quaternion = struct
      let (+) =
        ...
    
      let ( * ) =
        ...
    end
then

    let open Quaternion in
imports the contents of Quaternion into local scope, so you can write

    x * y + z

There are no comments on this comment yet.