This is the latest docs version
Quick Links
  • -Overview
  • -Language Features
  • -JS Interop
  • -Build System
Documentation
Language Manual
Reference for all language features
ReScript & React
First class bindings for ReactJS
GenType
Seamless TypeScript integration
Reanalyze
Dead Code & Termination analysis
Exploration
Packages
Explore third party libraries and bindings
Syntax Lookup
Discover all syntax constructs
APIPlaygroundBlogCommunity
  • Playground
  • Blog
  • Twitter
  • GitHub
  • Forum
Core Module
Overview
Core
submodules
  • Array
  • ArrayBuffer
  • AsyncIterator
  • BigInt
  • BigInt64Array
    • Constants
    BigUint64Array
    • Constants
  • Console
  • DataView
  • Date
    • UTC
  • Dict
  • Error
    • URIError
    • TypeError
    • SyntaxError
    • ReferenceError
    • RangeError
    • EvalError
  • Exn
  • Float
    • Constants
    Float32Array
    • Constants
    Float64Array
    • Constants
    Int
    • Constants
    Int16Array
    • Constants
    Int32Array
    • Constants
    Int8Array
    • Constants
  • Internal
  • Intl
    • Segments
    • Segmenter
    • RelativeTimeFormat
    • PluralRules
    • NumberFormat
      • Grouping
    • Locale
    • ListFormat
    • DateTimeFormat
    • Collator
    • Common
      • t
        localeMatcher
      • t
        calendar
      • t
        collation
      • t
        numberingSystem
      • t
        oneTo21
      • t
        zeroTo20
  • Iterator
  • JSON
    • Decode
    • Encode
    • Classify
  • List
  • Map
  • MapperRt
  • Math
    • Int
    • Constants
  • Null
  • Nullable
  • Object
  • Option
  • Ordering
  • Promise
  • Re
    • Result
    RegExp
    • Result
  • Result
  • Set
  • String
  • Symbol
  • Type
    • Classify
  • TypedArray
  • Uint16Array
    • Constants
    Uint32Array
    • Constants
    Uint8Array
    • Constants
    Uint8ClampedArray
    • Constants
  • WeakMap
  • WeakSet
  • API / Core / Intl / Common

    Common

    localeMatcher

    RESCRIPT
    type localeMatcher = [#bestFit | #lookup]

    calendar

    RESCRIPT
    type calendar = [ | #buddhist | #chinese | #coptic | #dangi | #ethioaa | #ethiopic | #gregory | #hebrew | #indian | #islamic | #"islamic-civil" | #"islamic-rgsa" | #"islamic-tbla" | #"islamic-umalqura" | #iso8601 | #japanese | #persian | #roc ]

    collation

    RESCRIPT
    type collation = [ | #compat | #dict | #emoji | #eor | #phonebk | #phonetic | #pinyin | #stroke | #trad | #unihan | #zhuyin ]

    numberingSystem

    RESCRIPT
    type numberingSystem = [ | #adlm | #ahom | #arab | #arabext | #bali | #beng | #bhks | #brah | #cakm | #cham | #deva | #diak | #fullwide | #gong | #gonm | #gujr | #guru | #hanidec | #hmng | #hmnp | #java | #kali | #kawi | #khmr | #knda | #lana | #lanatham | #laoo | #latn | #lepc | #limb | #mathbold | #mathdbl | #mathmono | #mathsanb | #mathsans | #mlym | #modi | #mong | #mroo | #mtei | #mymr | #mymrshan | #mymrtlng | #nagm | #newa | #nkoo | #olck | #orya | #osma | #rohg | #saur | #segment | #shrd | #sind | #sinh | #sora | #sund | #takr | #talu | #tamldec | #telu | #thai | #tibt | #tirh | #tnsa | #vaii | #wara | #wcho ]

    oneTo21

    RESCRIPT
    type oneTo21 = [ | #1 | #10 | #11 | #12 | #13 | #14 | #15 | #16 | #17 | #18 | #19 | #2 | #20 | #21 | #3 | #4 | #5 | #6 | #7 | #8 | #9 ]

    zeroTo20

    RESCRIPT
    type zeroTo20 = [ | #0 | #1 | #10 | #11 | #12 | #13 | #14 | #15 | #16 | #17 | #18 | #19 | #2 | #20 | #3 | #4 | #5 | #6 | #7 | #8 | #9 ]
    Types and values
    • t
      localeMatcher
    • t
      calendar
    • t
      collation
    • t
      numberingSystem
    • t
      oneTo21
    • t
      zeroTo20

    © 2024 The ReScript Project

    Software and assets distribution powered by KeyCDN.

    About
    • Community
    • ReScript Association
    Find us on