package server-reason-react

  1. Overview
  2. No Docs
Rendering React components on the server natively

Install

Dune Dependency

Authors

Maintainers

Sources

server-reason-react-0.2.0.tbz
sha256=f7e93b2c24e6420ed7352f5b04ff028ea6ea8b9b91679bbce43aadfcae028f34
sha512=b74f883d8fad95738b7dd9b51f23af27ef1b541939ad9b8ea65cfb0d48a217c2265ca9319e9355c7782bf223a5168ee4ff236677503afa301c8b7b08561fcd8c

doc/server-reason-react.belt/Belt/Range/index.html

Module Belt.Range

Belt.Range

Utilities for a closed range (from, start)

A small module to provide a inclusive range operations [start, finsish], it use a for-loop internally instead of creating an array

val forEachU : int -> int -> (int -> unit) -> unit
val forEach : int -> int -> (int -> unit) -> unit

forEach start finish action

equivalent to Belt.Array.(forEach (range start finish) action)

val everyU : int -> int -> (int -> bool) -> bool
val every : int -> int -> (int -> bool) -> bool

every start finish p

equivalent to Belt.Array.(every (range start finish) p )

val everyByU : int -> int -> step:int -> (int -> bool) -> bool
val everyBy : int -> int -> step:int -> (int -> bool) -> bool

everyBy start finish ~step p

See Belt.Array.rangeBy

equivalent to Belt.Array.(every (rangeBy start finish ~step) p)

val someU : int -> int -> (int -> bool) -> bool
val some : int -> int -> (int -> bool) -> bool

some start finish p

equivalent to Belt.Array.(some (range start finish) p)

val someByU : int -> int -> step:int -> (int -> bool) -> bool
val someBy : int -> int -> step:int -> (int -> bool) -> bool

someBy start finish ~step p

See Belt.Array.rangeBy

equivalent to Belt.Array.(some (rangeBy start finish ~step) p)

OCaml

Innovation. Community. Security.