Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Upgrade to ocamlformat 0.15.0#535

Merged
ryanrhymes merged 1 commit intoowlbarn:masterfrom
gpetiot:ocamlformat-0.15.0
Jul 20, 2020
Merged

Upgrade to ocamlformat 0.15.0#535
ryanrhymes merged 1 commit intoowlbarn:masterfrom
gpetiot:ocamlformat-0.15.0

Conversation

@gpetiot
Copy link
Contributor

@gpetiot gpetiot commented Jul 6, 2020

Hi, this is what the project would look like after being reformatted with the current version (candidate) of ocamlformat 0.15.0.
Please do not merge until ocamlformat.0.15.0 is available with opam.

The main changes you see are due to moving the attributes moving to be placed next to the end keyword of classes and modules. This change has been made for the janestreet profile because JaneStreet is postprocessing its code with ocp-indent and having the attribute on its own line after end was weirdly indented by ocp-indent.

@ryanrhymes ryanrhymes requested a review from mseri July 14, 2020 08:01
@ryanrhymes ryanrhymes requested a review from tachukao July 14, 2020 08:02
Copy link
Member

@mseri mseri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, if anything I like it more than the previous style

@ryanrhymes ryanrhymes self-requested a review July 14, 2020 09:57
@ryanrhymes ryanrhymes marked this pull request as ready for review July 20, 2020 16:26
@ryanrhymes ryanrhymes merged commit e3519b8 into owlbarn:master Jul 20, 2020
@gpetiot gpetiot deleted the ocamlformat-0.15.0 branch August 6, 2020 15:54
mseri added a commit to mseri/opam-repository that referenced this pull request Oct 4, 2020
CHANGES:

* various documentation improvements (thanks @pveber, @UnixJunkie, @Fourchaux)
* Fix use of access operators (owlbarn/owl#543)
* Upgrade to ocamlformat 0.15.0 (thanks @gpetiot owlbarn/owl#535)
* keep_dims option (owlbarn/owl#531)
* stats: fix infinite loop in ecdf
* Use Fun.protect to ensure all file descriptors are being closed
* owl_ndarray_maths: improve user experience in case of errors
* owl_io: close file descriptors also in case of errors
* owl_dense_ndarray_generic: fix error on printing 0-ary arrays
* fixed bug in sub forward mode (owlbarn/owl#533)
* Add stack to Algodiff (owlbarn/owl#528)
* added log_sum_exp to Ndarray and Algodiff (owlbarn/owl#527)
* added single-precision and double-precision Bessel functions to Ndarray  (owlbarn/owl#526)
* Fixes owlbarn/owl#518 by introducing another `/` to resolve data directory (@jotterbach owlbarn/owl#519)
* Graph Slice node (resolves owlbarn/owl#483) (@mreppen owlbarn/owl#517)
* Graph subnetwork: Multiple outputs (@mreppen owlbarn/owl#515)
* Added kron and swap to Algodiff operations (owlbarn/owl#512)
* various other small fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants