Skip to content

Commit a4f423e

Browse files
committed
[new release] trampoline (0.1.0)
CHANGES: - Working trampoline implementation
1 parent 6ed4e23 commit a4f423e

File tree

1 file changed

+40
-0
lines changed
  • packages/trampoline/trampoline.0.1.0

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
opam-version: "2.0"
2+
synopsis:
3+
"A trampoline library enabling deep recursions that don't fit into stack memory"
4+
description:
5+
"Using this library you can perform deep recursion that is not limitied by the stack but only by the size of the available random access memory (RAM). In OCaml the number of nested recursive calls that are not tail-calls is limited by the stack. The stack usually consists of a fraction of the RAM available to the OCaml program. The difference between stack and RAM can be important for compilation targets where the default stack size is rather small, e. g. OCaml bytecode or JavaScript. The trampoline library provides a trampoline monad and a few convenience functions."
6+
maintainer: ["Armin Heller <[email protected]>"]
7+
authors: ["Armin Heller <[email protected]>"]
8+
license: "Apache-2.0"
9+
tags: ["topics" "trampoline"]
10+
homepage: "https://github.com/QAhell/trampoline_ocaml"
11+
bug-reports: "https://github.com/QAhell/trampoline_ocaml/issues"
12+
depends: [
13+
"ocaml"
14+
"dune" {>= "3.4"}
15+
"odoc" {with-doc}
16+
]
17+
build: [
18+
["dune" "subst"] {dev}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
31+
dev-repo: "git+https://github.com/QAhell/trampoline_ocaml.git"
32+
url {
33+
src:
34+
"https://github.com/QAhell/trampoline_ocaml/releases/download/0.1.0/trampoline-0.1.0.tbz"
35+
checksum: [
36+
"sha256=858f0d995a6901cfebdc9937ad695093c0f5fbf56f289c52b9fa15453e839b21"
37+
"sha512=a9071f22d1f9c13a9e2f6868bb4ebba2b0947b0514f643fd72c095273eccd83eb460858d38814d0121098ef5dc0676b09a6bd6cbd52bfffc03c1224b8cd27754"
38+
]
39+
}
40+
x-commit-hash: "0e5446d84945c14c7144aec294f3e0a8f81e32c3"

0 commit comments

Comments
 (0)