upstream: https://github.com/mirage/ocaml-mbr
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+21 -2
+14 -2
README.md
··· 19 19 20 20 ## Installation 21 21 22 + Install with opam: 23 + 24 + ```sh 25 + $ opam install mbr 22 26 ``` 23 - opam install mbr 27 + 28 + If opam cannot find the package, it may not yet be released in the public 29 + `opam-repository`. Add the overlay repository, then install it: 30 + 31 + ```sh 32 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 33 + $ opam update 34 + $ opam install mbr 24 35 ``` 25 36 26 37 ## Usage ··· 32 43 match Mbr.Partition.make ~active:true ~partition_type:6 2048l 65536l with 33 44 | Error e -> failwith e 34 45 | Ok part -> 35 - match Mbr.v [ part ] with 46 + 47 + match Mbr.v [ part ] with 36 48 | Error e -> failwith e 37 49 | Ok mbr -> Fmt.pr "%a@." Mbr.pp mbr 38 50 ```
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries mbr fmt))
+2
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 3 4 (name mbr) 4 5 ··· 29 30 (fmt (>= 0.9)) 30 31 (wire (>= 0.1)) 31 32 (alcotest :with-test) 33 + (mdx :with-test) 32 34 (alcobar :with-test)))
+1
mbr.opam
··· 20 20 "fmt" {>= "0.9"} 21 21 "wire" {>= "0.1"} 22 22 "alcotest" {with-test} 23 + "mdx" {with-test} 23 24 "alcobar" {with-test} 24 25 "odoc" {with-doc} 25 26 ]