Search OCaml packages
max) { row = max } }" @keyup.up="if (row !== null) { row -=1; if (row < 0) { row = null } }" @keyup.right="if (col < 1) col++" @keyup.left="if (col >= 1) col--" :aria-activedescendant="row !== null ? 'package-autocomplete-'+row+'-'+col : null" hx-get="/packages/autocomplete" hx-params="q" hx-trigger="keyup changed, search" hx-target="#header-search-results" hx-indicator="#header-search-indicator" autocomplete="off" >
Standard Library API
Learn
Tools
Packages
Community
News
Play
Get Started
Search OCaml packages
Learn
Tools
Packages
Community
News
Play
Standard Library API
Get started
Learn
Overview
Get Started
Language
Platform
Guides
Cookbook
Exercises
Books
▾
Overview
Get Started
Language
Platform
Guides
Cookbook
Exercises
Books
Create and Await Promises
Create promises and run them in parallel, as well as sequentially. Includes a sleep task.
Recipe
Opam Packages Used
using lwt
lwt