this repo has no description
1opam-version: "2.0" 2authors: ["Petter A. Urkedal"] 3maintainer: "paurkedal@gmail.com" 4homepage: "https://github.com/paurkedal/ppx_compose/" 5bug-reports: "https://github.com/paurkedal/ppx_compose/issues" 6dev-repo: "git+https://github.com/paurkedal/ppx_compose.git" 7license: "LGPL-3.0-only WITH OCaml-LGPL-linking-exception" 8 9build: [ 10 ["jbuilder" "build" "-p" name "-j" jobs] 11 ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test} 12] 13depends: [ 14 "ocaml" {>= "4.02.3"} 15 "jbuilder" {>= "1.0+beta7"} 16 "topkg" {build} 17 "topkg-jbuilder" {build} 18 "ocaml-migrate-parsetree" {< "2.0.0"} 19] 20synopsis: "Inlined Function Composition" 21description: """ 22`ppx_compose` is a simple syntax extension which rewrites code containing 23function compositions into composition-free code, effectively inlining the 24composition operators. The following two operators are supported 25 26 let (%) g f x = g (f x) 27 let (%>) f g x = g (f x) 28 29Corresponding definitions are not provided, so partial applications of `(%)` 30and `(%>)` will be undefined unless you provide the definitions. 31 32The following rewrites are done: 33 34 * A composition occurring to the left of an application is reduced by 35 applying each term of the composition from right to left to the 36 argument, ignoring associative variations. 37 38 * A composition which is not the left side of an application is first 39 turned into one by η-expansion, then the above rule applies. 40 41 * Any partially applied composition operators are passed though unchanged. 42 43E.g. 44 45 h % g % f ==> (fun x -> h (f (g x))) 46 h % (g % f) ==> (fun x -> h (f (g x))) 47 (g % f) (h % h) ==> g (f (fun x -> h (h x)))""" 48url { 49 src: 50 "https://github.com/paurkedal/ppx_compose/releases/download/v0.0.3/ppx_compose-0.0.3.tbz" 51 checksum: [ 52 "sha256=a432e8543764b7c12e1f89e8710035f65b652bea188ee8d1242549d1bc033236" 53 "md5=afc8b36935f4a4d653d99b558c62b617" 54 ] 55}